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

STM32 Control Module Based on the Design and Implementation of the Wireless Mouse

在线阅读下载全文

作  者:张晓燕[1] 张吉月[1] 

机构地区:[1]北京石油化工学院,北京102617

出  处:《北京石油化工学院学报》2012年第3期24-27,共4页Journal of Beijing Institute of Petrochemical Technology

摘  要:利用主控芯片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.

关 键 词:主控芯片STM32 鼠标数据格式 无线信号 USB口 HID设备 

分 类 号:TP368[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象