学号:xxxxxxdxxx基于51单片机的遥控汽车设计专业名称:电子信息工程年级班别:xxxxxx姓名:xxx指导教师:xxxxxxx2013年5月xxxxxxxxxx本科毕业论文河南师范大学新联学院本科毕业论文基于51单片机的遥控汽车设计摘要遥控小汽车按照人们对其需求的不同,设计的方案也不同。有的需要近距离遥控,比如十米以内的儿童玩具,其要求结构简单、易于控制、外观显示信息丰富价格适宜;有的则需要远距离控制,语音识别、避障、轨迹检测等,比如让遥控小汽车成为取代人的自动化劳动工具,让它从事一些需要劳动力大、威胁性大的工作,如从事考古、机器人、医疗器械等方面的工作,为人门带来很大的方便。而本设计是将遥控小汽车用于儿童玩具。本设计以AT89C51单片机为核心,采用芯片L298N控制两个直流永磁式电动机运转,两个直流永磁式电动机为别用为后轮驱动和前轮转向,用红外遥控芯片HT6221和红外一体化接收头1838控制遥控小汽车的前进、后退、左转弯、右转弯、停止、自动等功能。而且采用4位LED8段数码显示管显示遥控小汽车的运行时间,采用发光LED显示管的不同颜色显示遥控小汽车前进、停止、左转弯、右转弯。这样就使得遥控小汽车的遥控范围在十米左右,而且结构简单,易于操作,价格适宜,更重要的是前进、停止、左转弯、右转弯指示灯的显示颜色丰富,尤其在夜晚显示时很漂亮,能增加儿童和家长对此款遥控小汽车的喜爱和乐趣。关键词:红外遥控;单片机;小汽车Basedon51singlechipmicrocomputerremotecontrolcarI河南师范大学新联学院本科毕业论文designAbstrctRemotecontrolcarsaccordingtothepeopleoftheirdifferentneeds,designprograms.Someneedtocloseremote,suchastoysforchildrenlessthantenmeter,anditssimplestructure,easytocontroltheappearanceofthedisplayinformation-rich,affordable;othersrequireremotecontrol,voicerecognition,obstacleavoidance,trajectorydetection,suchasremotecontrolcarstoreplaceautomationinstrumentsoflabor,itengagedinsomeoftheneededlabor,threatening,suchasinarcheology,robotics,medicalequipmentandotheraspectsofthework,andhisdoortobringgreatconvenience.Thedesignistheremotecontrolcarsforchildren'stoys.DesignedtoAT89C51microcontrollerchipL298NtocontroltwoDCpermanentmagnetmotorrunning,twoDCpermanentmagnetmotorsdonotuserear-wheeldriveandfrontwheelsteering,usingtheinfraredremotecontrolchipHT6221,andinfraredintegrationreceiverreceivedthefirst1838controlofaremotecontrolcarforward,backward,turnleft,turnright,stop,autoandotherfunctions.And4LED8segmentdigitaldisplaytubesdisplayremotecontrolcarsrunningtime,usingdifferentcolorsoflight-emittingLEDdisplaytuberemotecontrolcarforward,stop,turnleft,turnright.Thismakestheremotecontrolcarremotecontrolrangeoftenmeters,andasimplestructure,easytooperate,affordableand,moreimportantly,forward,stop,leftturn,rightturnindicatorlighttodisplaycolor,especiallyinthenightshowbeautifulchildrenandparentstoincreasetheloveandfunremotecontrolcarsofthissection.Keywords:Infraredremotecontrol;SCM;Cars目录摘要.............................................................I1前言..............................................................1II河南师范大学新联学院本科毕业论文1.1课题背景....................................................11.2设计方案....................................................11.3技术关键....................................................21.4本章小结....................................................22系统总体设计......................................................32.1系统实现功能和技术要求......................................32.2系统原理框图................................................32.1.1微处理器模块设计的比较...................................