基于 51 单片机循迹小车系统设计摘 要80C51 单片机是一款八位单片机,她易用性和多功效性受到了广阔使用者好评。在生活中但凡包含到自动控制地方全部会出现单片机身影,单片机应用有利于产品小型化、智能化,而且能够提升生产效率。这里介绍是怎样用AT89C52 单片机来实现小车循迹功效,该设计是结合科研项目而确定设计类课题。本系统以设计题目标要求为目标,实行 AT89C52 单片机为控制关键,利用红外传感器检测道路上黑线,控制电动小汽车自动循迹,快慢速行驶,和自动停车,并能够自动统计时间、里程和速度,和寻光功效。整个系统电路结构很简单,可靠性能很高。试验测试结果满足要求,本文着重介绍了该系统硬件设计方法及测试结果分析。关键词:80C51 单片机;电动小车;pwm 调速;光电检测;自动调速系统Car tracking system based on microcontrollerAbstract80C51 is a 8 bit single chip computer. Its easily using and multi-function suffer large users. In life, whenever it comes to automatic control of the local microcontroller will appear figure, microcontroller applications in favor of product miniaturization, intelligent, and can improve productivity. Here is how to use AT89C52 microcontroller to achieve the car tracking feature, which is designed to determine the combination of scientific research and design class topic. This system design requirements of the subject for the purpose of using AT89C52 microcontroller core, the use of infrared sensors to detect the black line on the road, the automatic tracking control of electric cars, fast low traffic speeds, as well as automatic parking, and can automatically record time , mileage and speed, and look for the light function. The circuit structure of the entire system is very simple, very high reliability. The test results meet the requirements, the paper focuses on the hardware design and test results of the system analysis.Keywords: 80C51 microcontroller; Electric car Pwm speed; A photodet...