-- 姓名:王芳壁 班级: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附录………………………………………………………10 基于 AT89S52 单片机的智能小车设计摘要:本设计给出了以 AT89S52 单片机为核心芯片的智能小车的简易控制,使小车沿给定轨道实现循迹,金属检测,避障,寻光等基本功能,通过了传感器的输出电平来控制小车走向,基本功能实现后,可完全由程序控制给出极大的发挥空间,车体采纳两个轮子一个万向轮,更加简化了小车的控制。关键词:AT89S52 单片机 智能小车Abstract:The design gives the theory of the smart car of the simple control and it is maked by AT89S52 as the core chip.Smart car can realize going along the track ,detecting metal,avoiding obstacle,searching light such as functions.We can through the level of the output of the sensor to control the car.We can be completely by the program control and there are great space to play after the realization of the basic functions.The smart car are maked by a body two wheels and a universal wheel,so it highly simplifies the control of smart car.K...