摘要
文章采用德州仪器公司CC2530单片机为控制核心,利用MPU6050传感器检测车身的角度和加速度,采用PID算法调整小车平衡;利用光电传感器达到自动寻迹等功能。除了具有寻常平衡小车的寻迹功能外,还利用CC2530单片机自带的无线接收模块,接收来自外界的无线控制信号,让小车的启停控制更加自如,能够更好地适应各种实际应用。充分利用CC2530控制芯片的片上资源,降低成本。
In this paper, CC2530 single chip microcomputer of Texas Instruments Company is used as the control core, MPU6050 sensor is used to detect the angle and acceleration of the car body, PID algorithm is used to adjust the balance of the car, photoelectric sensor is used to achieve the function of automatic tracing, and so on. In addition to the tracking function of the ordinary balance car, it also uses the wireless receiving module of CC2530 single chip microcomputer to receive the wireless control signal from the outside world, which makes the start and stop control of the car more comfortable and can better adapt to all kinds of practical applications. Make full use of CC2530 to control the on-chip resources and reduce the cost.
作者
童友波
Tong Youbo(Hefei Technical College,Chaohu 238000,China)
出处
《无线互联科技》
2019年第13期46-49,共4页
Wireless Internet Technology
基金
合肥职业技术学院自然科学研究项目
项目编号:201914KJB018