首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于STM32的USB HID接口多功能控制器设计
引用本文:王晓东.基于STM32的USB HID接口多功能控制器设计[J].唐山学院学报,2020,33(3):21-26,67.
作者姓名:王晓东
作者单位:唐山学院 计算机科学与技术系, 河北 唐山 063000
摘    要:在STM32处理器平台上使用USB HID接口协议设计了一种低成本的多功能控制器,控制器通过USB接口收到上位机指令后可进行变频、变占空比的PWM信号输出、GPIO读入和输出、模拟量AD采集等多种功能;上位机软件采用一组通用的HID接口的API函数实现对下位机硬件的读写控制,而且免驱安装,能显著降低开发成本。实验验证的结果表明,系统可以稳定运行。

关 键 词:通用串行总线  人机接口设备  控制器  STM32处理器

Design of Multi-Purpose Controller with USB HID Based on STM32
WANG Xiao-dong.Design of Multi-Purpose Controller with USB HID Based on STM32[J].Journal of Tangshan College,2020,33(3):21-26,67.
Authors:WANG Xiao-dong
Institution:Department of Computer Science and Technology, Tangshan University, Tangshan 063000, China
Abstract:On the platform of STM32, a multi-purpose controller is designed with USB HID protocols, which can change the frequency, output the PWM with the changed duty ratio, read and output the GPIO, collect the analog quantity AD data and etc. after receiving the command from the master computer through the USB. The software of the master computer applies a group of API functions of the universal HID to control the reading and writing of the slave computer, which can significantly reduce the development cost with no driver needed. The experimental results show that the system can run stably.
Keywords:Universal Serial Bus (USB)  Human Interface Device (HID)  controller  STM32 processor
点击此处可从《唐山学院学报》浏览原始摘要信息
点击此处可从《唐山学院学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号