当前位置>主页 > 期刊在线 > 电子工程 >

电子工程2019年2期

基于手势控制无线小车运动系统的设计
徐宁,索朝举,沈沛雨,刘静波
(南京工程学院,江苏 南京 211167)

摘  要:设计了一种采用重力感应的手势控制小车的运动系统。该系统包括手持端和小车端两部分。手持端包括STM32 控制器,ADXL345 加速度传感器,ZigBee 无线发射模块;小车包括STM32 控制器,电机和舵机驱动单元,ZigBee 无线接收模块;手持端的STM32 控制器通过采集加速度传感器的数据,得到多个方向的手势变化,通过无线模块发送指令信息给小车,小车与手持端的ZigBee 模块配置在同一个网络,接收来自手持端的指令信息,然后根据不同的指令信息驱动电机和舵机实现小车的前进、 后退、转弯等方向的运动。这种采用重力感应并结合无线收发方式下的非接触式控制方式,具有反应灵敏、动作快速的特点,同 时具有较为广泛的应用场景。


关键词:重力感应;手势控制;无线模块;脉冲调制



中图分类号:TN925;TP391.41         文献标识码:A         文章编号:2096-4706(2019)02-0019-04


Design of Wireless Car Motion System Based on Gesture Control
XU Ning,SUO Chaoju,SHEN Peiyu,LIU Jingbo
(Nanjing Institute of Technology,Nanjing 211167,China)

Abstract:A motion control system based on gravity sensor is designed. The system includes a handheld end and a car end. The handheld terminal comprises a STM32 controller,a ADXL345 acceleration sensor,a ZigBee wireless transmitting module,the small car includes a STM32 controller,a motor and a steering gear driving unit,and a ZigBee wireless receiving module. The STM32 controller on the handheld side can acquire the data of the acceleration sensor and get the gesture change in many directions,and send the instruction information to the car through the wireless module. The car and the ZigBee module of the handheld end are configured on the same network. Receive the instruction information from the handheld end,then drive the motor and steering gear according to the different command information to realize the movement of the car in the direction of forward,backward,turn and so on. This non-contact control mode which adopts gravity induction and wireless transceiver,has the characteristics of sensitive response and fast action,and has a wide range of application scenarios at the same time.

Keywords:gravity induction;gesture control;wireless module;pulse modulation


参考文献:

[1] 张轩,王富奎,赵如凡,等. 基于无线遥控的两轮自平衡车设计 [J]. 自动化与仪器仪表,2016(3):78-80+82.

[2] 肖茜,陈庆. 基于ADXL345 的超低功耗倾角测量仪的设计 [J]. 电脑知识与技术,2014,10(16):3923-3925+3932.

[3] 刘军,张洋,严汉宇. 例说STM32 [M]. 北京:北京航空航天大学出版社,2018.

[4] 刘火良,杨森.STM32 库开发实战指南 [M]. 北京:机械工业出版社,2016.

[5] 云中华,刘洪春,李勇峰,等.STM32 的方位角度与倾斜数据测量仪系统设计 [J]. 单片机与嵌入式系统应用,2015,15(10):44-46+58.

[6] 陈佩嘉,朱松青,许有熊,等. 基于ZigBee 的地铁门振动加速度无线采集系统设计 [J]. 南京工程学院学报(自然科学版),2017,15(3):8-12.

[7] 范政,何继靖,朱永业,等. 基于STM32 的无线智能小车控制系统设计 [J]. 轻工科技,2018,34(6):83-85+87.


作者简介:徐宁(1997—),女,汉族,黑龙江七台河人,本科,研究方向:电子技术应用。