基于单片机的智能小车设计——传感器电路的设计和相关程序设计和调试摘 要80C51 单片机是一款八位单片机,他的易用性和多功能性受到了广阔使用者的好评。这里介绍的是如何用 80C51 单片机来实现智能壁障寻迹小车,该设计是结合科研项目而确定的设计类课题。本系统以设计题目的要求为目的,采纳 80C51 单片机为控制核心,利用红外传感器检测道路上的障碍,控制电动小汽车的自动避障,快慢速行驶,以及自动停车,并可以自动记录时间、里程和速度,自动寻迹和寻光功能。整个系统的电路结构简单,可靠性能高。实验测试结果满足要求,本文着重介绍了该系统的硬件设计方法及测试结果分析。关键字:电动小车、80C51 单片机、光敏检测器、PWM 调速Abstract80C51 is a 8 bit single chip computer. It’s easily using and multi-function suffer large users. This article introduces intelligent vehicle with the 80C51 single chip computer. This design combines with scientific research object. This system regards the request of the topic, adopting 80C51 for controlling core, red sensor for test the hinder. It can run in a high and a low speed or stop automatically. It also can record the time, distance and the speed or searching light and mark automatically the electric circuit construction of whole system is simple, the function is dependable. Experiment test result satisfy the request, this text emphasizes introduced the hardware system designs and the result analyze.Key word : Electricity motive small car 80C51 single chip computer, light electricity detector, PWM speed adjusting, 目录第一章 概述…………………………………………………………………………11.1 课题讨论背景与意义…………………………………………………………..11.2 课题设计内容……………………………………………………………………2第二章 方案设计与论证…………………………………………………………….32.1 总体方案设计……………………………………………………………………32.2 系统方案设计与比较…………………………………………………………….4...