设计报告基于 AT89S52 单片机的智能小车设计姓名:王芳壁班级:2013 级 8 班学号:201309340836指导教师:陈元莉日期:2016 年 3 月 20 日星期日目录引言………………………………………………………..11 方案的选择与论证…………………………………….21.1 主控芯片的选择...................................21.2 显示方案的选择………………………………...21.3 避障传感器的选择……………………………..31.4 追光方案的选择………………………………...32 系统的硬件设计………………………………………..32.1 系统的总体结构框图……………………………42.2 显示器电路………………………………………42.3 蜂鸣器电路………………………………………42.4 传感器电路……………………………………...43 系统的软件设计……………………………………...43.1 主程序流程图…………………………………..63.2 循迹程序流程图……………………………….73.3 追光程序流程图……………………………….73.4 金属检测程序流程图………………………….84 测试数据……………………………………………….85 结束语……………………………………………………9附录………………………………………………………102基于 AT89S52 单片机的智能小车设计摘要:本设计给出了以 AT89S52 单片机为核心芯片的智能小车的简易控制,使小车沿给定轨道实现循迹,金属检测,避障,寻光等基本功能,通过了传感器的输出电平来控制小车走向,基本功能实现后,可完全由程序控制给出极大的发挥空间,车体采用两个轮子一个万向轮,更加简化了小车的控制。关键词:AT89S52单片机智能小车Abstract:The design gives the theory of the smart carof the simple control and it is maked by AT89S52 as thecorechip.Smartcarcanrealizegoingalongthetrack,detectingmetal,avoidingobstacle,searchinglight such as functions.We can through the level of theoutput of the sensor to control the car.We can becompletely by the program control and there are greatspacetoplayaftertherealizationofthebasicfunctions.The smart car are maked by a body two wheelsand a universal wheel,so it highly simplifies thecontrol of smart car.Key words:AT89S52 Single-chip...