精品文档---下载后可任意编辑玉林师范学院电子与通信工程学院队员:满建良 方凯平 陈文秋 第一页 前言摘要随着现代化的不断进展,自动化越来越普及,对传感器的应用越来越多,要求精度越来越搞高,本设计面对机械自动化进展,采纳了 AT89S52 单片机作为控制核心,利用红外对管传感器检测黑线达到循迹目的,以及自动停车,自动寻迹,整体系统的电路结构简单,可靠性能高。采纳技术主要有:(1)AT89S52 单片机应用;(2)L298 电机驱动及 PWN 电机调速;(3)传感器的有效应用;(4)程序算法的应用。关键字 AT89S52 红外对管循迹 L298N PWM 调速 18B20 霍尔传感元件Intelligent follow obstacle-avoidance carAbstractWith the continuous development of modernization and automation increasingly popular, the application of sensor, demanding more and more get high, the precision mechanical automation development, design oriented adopted as control core and AT89S52 SCM by infrared sensor detects the pipe to follow black with ultrasonic ranging tracing purpose, the principle of automatic control electric cars and to detect obstacles obstacle avoidance, the color of speed, speed, and automatic parking, automatic tracing, overall system circuit structure is simple, reliable performance is high. This design is according to guangxi university students electronic design competition first stage three senior undergraduate group of topic, the topic request as table 1.Using technology mainly include:(1)AT89S52Microcomputer application;(2)L298 motor drive and PWN; motor speed(3)Sensor effective application;(4)Program use of the algorithm.Keyword AT89S52 Infrared to tube follow mark PWM Ultrasonic obstacle avoidancTCS230 Color sensors1、 系统方案的选择 智能循迹小车的主控芯片的选择 方案一:采纳 Atmel 公司的 AT89S52 单片机作为智能小车的主控芯片, AT89S52 是一种低功耗、高性能 CMOS8 位微控制器,工作电压为 5V,32 个 I/O 口,具有 8K 在系统可编程Flash 存储器。...