欢迎来到天天文库
浏览记录
ID:874441
大小:1.36 MB
页数:43页
时间:2017-09-22
《基于单片机c51智能车》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要本设计采用AT89S52单片机作为核心控制器和数据处理中心。为了简化电路,减少小车负担,用软件编程发给伺服电机的高、低电平信号,来控制电机的转向、转速。设计分为五个模块:单片机最小系统、电机驱动电源、伺服电机驱动电路、胡须导航、红外线导航。来实现小车走个“日”字、胡须避障和红外线避障功能。整个系统的电路结构简单、可靠性能高,为工厂的智能控制化做好铺垫。关键字:单片机,智能车,避障,伺服电机AbstractThisdesignusesAT89S52microcontrollerasthecoreco
2、ntroller,andasthedataprocessingcenter.Tosimplifythecircuit,reducingtheburdenofthecar,thesoftwareprogramdistributedbythehighservomotor,low-levelsignalstocontrolthesteeringmotor,rotationalspeed.Designisdividedintofivemodules:SCMminimumsystem,motordrivepow
3、ersupply,servomotordrivecircuit,beardnavigation,infrarednavigation.Cartogotoachievea"Day",whichbeardobstacleavoidanceandinfraredobstacleavoidancecapabilities.Simplecircuitstructureofthesystemreliabilitycanbehigh,theintelligentcontrolofthefactorypavethew
4、ay.Keywords:Microcontroller,smartcars,obstacleavoidance,servomotor目录1绪论--------------------------------------------------------------------------------------12硬件设计------------------------------------------------------------------------12.1总体设计方案--------
5、------------------------------------------12.2电源模块------------------------------------------------------22.3伺服电机驱动模块----------------------------------------------22.4胡须导航模块--------------------------------------------------42.5红外线导航模块--------------------
6、----------------------------62.6单片机最小系统设计--------------------------------------------83软件设计-----------------------------------------------------------------------143.1程序流程图---------------------------------------------------------------------------------
7、-----------------143.2安装软件----------------------------------------------------------------------------------------------------163.3编制Uart.h头文件---------------------------------------------------------------------------------------203.4编制胡须避障程序-----------
8、-----------------------------------------------------------------------------263.5编制红外线避障程序-------------------------------------------------------------------------------------303.6智能车走“日”字程序--------------------------------------
此文档下载收益归作者所有