1、 基于单片机的智能小车基于单片机的智能小车的设计的设计 基于单片机的智能小车的设计 I 摘要摘要 近年来随着科技的飞速发展,单片机的应用正在不断地走向深 入。同时带动传统控制检测,日新月益更新。在实时检测和自动控制 的单片机应用系统中,单片机往往是作为一个核心部件来使用。单片 机是把主要计算机功能部件都集成在一块芯片上的微型计算机。它是 一种集计数和多中接口于一体的微控制器。而 51 单片机是单片机中最 为典型和最有代表性的一种。 本设计主要应用 AT89S51 作为控制核心,与显示器、驱动电路等 相结合的系统。基于单片机设计。利用单片机 AT89S51 作为报警装置 的控制器,能充分发挥 A
2、T89S51 的数据处理和实时控制功能。使系统 工作处于最佳状态,提高系统的灵敏度。当产生信号驱动小车前进 时,通过寻迹模块里的红外对管是否寻到黑线产生的电平信号再返回 到单片机,单片机根据程序设计要求做出相应的判断送给电机驱动模 块.控制小车让其在黑线上实现前进后退以及转向。 关键词关键词 :单片机 寻迹 报警 红外 电机驱动 基于单片机的智能小车的设计 II Abstract With the rapid development of science and technology in recent years, SCM applications are continually deepe
3、ning. Traditional control test drive at the same time, the rapidly growing update. In real-time detection and control of the microcomputer application system, the microcontroller is often used as a core component. SCM is the main feature integrated computer chip in a micro-computer. It is a set of m
4、ulti-counting and the interface in one of the micro-controller. The 51 single-chip microcontroller is the most typical and most representative one. The design of the main application AT89S51 as the control, and display driver integrated circuits and other systems. Based on single chip design. MCU AT89S51 using the controller as an alarm device that can give full play to AT89S51 of data processing and real-time control functions. Make the system work in the best condition, improve the system