期刊文献+

基于STM32主控模块设计与实现无线鼠标 被引量:1

STM32 Control Module Based on the Design and Implementation of the Wireless Mouse
下载PDF
导出
摘要 利用主控芯片STM32并采用编程方法分发射和接收两部分设计实现了无线鼠标的功能,具体是利用主控芯片STM32的4个IO引脚检测用户按下的上、下、左、右4个用以表示鼠标4个动作方向的按键,再将按键信号进行编码,配置成相应的HID鼠标数据格式,然后由主控模块操作射频模块(NRF24L01)将数据以无线信号发送出去;接收端的主控芯片STM32通过USB接口插入PC时需要和PC建立通信,使接收器件作为HID设备挂起到PC机上,然后主控芯片STM32控制接收模块将接收到的无线数据通过USB口传送给PC机,使得PC端的显示器上的鼠标指针进行相应方向的移动,从而实现传统鼠标的功能。 The article introduces the method of designing the transmitting and receiving parts to achieve a wireless mouse function by programming with the main chip STM32. That is using the four IO pins of the master chip STM32 to detect the four activity directions of the mouse, the upper and lower, left and right 4 buttons pressed by the user. And then we encode the signal, configure the appropriate HID data format, and send out the wireless signal by employing the control module to operate the radio frequency module (NRF24L01) data. When the main chip STM32 of the receiving port is inserted into the USB interface of the PC, the PC is required to es- tablish communication. The receiving device hangs to the PC as a HID device, and the master chip STM32 control receiver module, which will receive data via wireless USB port sent to the PC. So PC monitors on the side of the mouse pointer move to the corresponding direction, in order to achieve the traditional mouse functions.
出处 《北京石油化工学院学报》 2012年第3期24-27,共4页 Journal of Beijing Institute of Petrochemical Technology
关键词 主控芯片STM32 鼠标数据格式 无线信号 USB口 HID设备 master chip STM32 data format of mouse wireless signal USB interface HID device
  • 相关文献

参考文献6

  • 1白智涛,赵莉,姜红梅.基于PS/2接口的无线鼠标[J].无线电工程,2000,30(10):44-46. 被引量:1
  • 2冯如,杨家春.迷你光电鼠标设计教程(Pro/ENGINEER数码产品设计手册)[M].北京:人民邮电出版社,2008:5.
  • 3Nordic VLSI ASA Inc. nRF24Ex in a wireless keyboard design[Z]. 2003.10.
  • 4Nordic VLSI ASA Inc. 2.4Ghz RF transceiver with embedded 8051 compatible microeontroller and 9 input, 10 bit ADC[Z]. 2003.5.
  • 5Theodore S Rappaport.无线通信原理与应用[M].北京:电子工业出版社,2004.11.
  • 6JohnGProakis.数字通信[M].北京:电子工业出版社,2006.

共引文献2

同被引文献4

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部