欢迎来到天天文库
浏览记录
ID:52823724
大小:951.50 KB
页数:58页
时间:2020-03-30
《无线遥控智能小车的设计.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、无线遥控智能小车的设计摘要面对诸多人类不容易到达的工作环境,为了有效的到达指定位置完成指定功能,就需要采用智能小车去现场来完成相应的任务。因此研究和开发无线遥控智能小车引导控制系统具有十分重要的意义。无线遥控小车具有体积小、成本低、生存能力强等特点。本设计基于单片机控制和无线数据传输技术的设计思想。利用两片单片机构成主从结构,主机发送控制指令,从机接收控制指令并控制小车运动。主机由STC89C52单片机、LCD1602显示、NRF24l01无线模块和控制按键组成,从机由小车底盘、NRF24l01无线模块、
2、电机驱动、HC-RS04超声波测距模块和STC89C52单片机组成。主机和从机基于无线模块进行数据传输,主机电路主要负责发送小车运动状态的控制指令;从机电路主要负责小车运动状态指令的接受和实现对运动状态的控制。电机由电机专用驱动芯片L298N驱动,通过单片机的控制,可轻松实现小车的前进、后退、左转、右转等的控制。无线遥控智能小车控制系统的软件设计分为主机和从机两部分。主机软件设计分为无线通讯程序,按键控制程序,显示程序,从机软件设计分为小车超声波避障程序,无线通讯程序,电机驱动程序。概括来说,本设计就是用
3、遥控器发射控制信号,用单片机控制直流电机输出相应的电平控制车辆的前行或者后退等动作,进而实现小车的智能遥控功能。关键词:STC89C52;无线遥控;智能小车IAbstractFacingarangeofworkingenvironmentthathumanbeingscannotreacheasily,itisnecessarytoemploytheintelligentcartogotothescenetoaccomplishthecorrespondingtaskinordertoreachthesp
4、ecifiedlocationtocompletethespecifiedfunctioneffectively.Therefore,itisofgreatimportancetostudyanddeveloptheguidanceandcontrolsystemofthewirelessremotecontrolledintelligenttrolley.Thewirelessremotecontrolledcarischaracteristicedbysmallsize,lowcost,strongs
5、urvivabilityandsoon.Thedesignisbasedonthethinkingaboutthesingle-chipcontrolandwirelessdatatransmissiontechnique.Usingtwomicrocontrollersconstitutesthemaster-slavestructure.Thehostsendscontrolcommands,whichtheslavereceivesandthencontrolsthetrolleymovement.
6、ThehostconsistsoftheSTC89C52microcontroller,LCD1602display,NRF24l01wirelessmoduleandcontrolbuttonswhiletheslaveismadeupofthecarchassis,NRF24l01wirelessmodule,motordrive,HC-RS04ultrasonicdistancemeasurementmoduleandSTC89C52microcontroller.Thehostandslavear
7、ebasedonthewirelesscommunicationmodulefordatatransmission.Thehostcircuitismainlyresponsibleforsendingmovementcontrolinstructionstothecar;theslavecircuitismainlyresponsiblefortheacceptanceofthemovementstateofthecarandtherealizationofthecontrolofthestateofm
8、otion.Themotorisdrivenbythemotor-specificdriverchipL298N.Throughthecontrolofthesinglechipcomputer,thecontrolofcartoadvance,gobackward,turnleftandrightcanbeeasilyrealized.Thesoftwaredesignofwirelessremotecontrolintel
此文档下载收益归作者所有