基于加速计的无线小车控制系统设计论文.docVIP

  • 7
  • 0
  • 约3.02万字
  • 约 53页
  • 2018-02-28 发布于贵州
  • 举报

基于加速计的无线小车控制系统设计论文.doc

基于加速计的无线小车控制系统设计论文

摘 要 本文设计的是一个基于加速计的无线小车控制系统,该系统的设计分为上位机(遥控器)和下位机(小车)两部分。上位机是以单片机STC89C52为控制芯片,同时包括了加速计模块、按键模块、液晶显示模块和无线通信模块,通过无线通信模块来实现与下位机(小车)之间数据的交换。下位机(小车)同样是以单片机STC89C52作为控制芯片,通过无线模块接收由上位机传来的控制信息.加速计首先获取当前需要调节的小车的电机速度值和舵机的打角值,利用nRF24L01无线发射,将所需要调节的电机速度值和打角值传送给小车;并经过nRF24L01接收模块接收该控制信号,再将该信号传送给小车并使小车的电机和舵机作出相应的动作,对此时数据进行实时控制。本次设计主要由加速计模块、无线发射模块、无线接收模块、单片机处理模块、液晶显示模块、电机模块和舵机模块7个模块组成。该无线小车实现的主要功能是:利用加速计获取当前小车所需要调节的电机速度值和舵机的打角值,通过无线模块将速度值和打角值传送给小车,并对此数据进行实时控制,实现小车的前进、后退、左转、右转。 关键词:单片机;无线传输技术;加速计;小车 Abstract This design is wireless car control systems based on accelerometer.The design of the system has two parts,PC(remote control) and lower machine(the car). PC adopts STC89C52 micro-controller as the main control ship.It is also integrated accelerometer module,key module,LCD module and the wireless module. Wireless module realizes the exchange of data between PC and the lower machine (the car).The car also adopts STC89C52 micro-controller as the main control ship.It receives control information which comes from the PC by a wireless module .First, accelerometer obtains the value of the velocity of the motor and the steering angular velocity values which need to adjust the steering of the car.It sends them to the car by the nRF24L01 wireless technology.Then the nRF24L01 receiver module receives the remote control signal ,then transmits them to the motor and the servo of the car in order to make the car appropriate action .At the same time,this real-time control of data should be done .The design is mainly composed of accelerometer module,wireless transmitting module,wireless receiving module,single chip micro processing module,LCD module,servo motor modules .The wireless remote controlling of the car functions are as follows: the accelerometer obtains the value of the velocity of the motor and the steering angular velocity values which need to adjust the steering of the car.Then they will be sended to the car by the nRF24L01 wireless technology.And this data is in real time contr

文档评论(0)

1亿VIP精品文档

相关文档