单片机毕业设计说明书(完成版).doc
文本预览下载声明
编号:
毕业设计说明书
题 目: 基于单片机控制的交通灯设计
院 (系): 机电工程学院
专 业: 机电一体化工程
学生姓名: 唐文智
学 号: 030108301654
指导教师: 蒋占四
职 称: 副教授
题目类型: 理论研究 实验研究 工程设计 工程技术研究 软件开发
2011 年 10 月 25日
摘 要
近年来随着科技的飞速发展,单片机已经普及到我们生活,工作,科研,各个领域。单片机的应用正在不断地走向深入,同时带动传统控制检测日新月益更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用。但是,仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,加以完善。
十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本设计主要分为五大模块输入控制电路、时钟控制电路、片内外程序切换控制、显示电路。
本文将介绍一种基于单片机AT89S52作为中心器件来设计交通灯控制器,实现了AT89S52芯片管脚电平直接控制红、绿灯、黄灯燃亮时间和键盘检测的功能;显示时间直接通过AT89S52的P0口输出,由LS245驱动LED数码管显示,用蜂鸣器实现语音警报。
关键词:交通灯 单片机AT89S52 LED显示
Abstract
With the rapid development of science and technology in recent years, SCM has spread to the way we live, work, research and various fields. SCM applications are continually deepening, while the traditional control test drive benefits updates on new moon. In real-time detection and automatic control of the microcomputer application system, the microcontroller is often used as a core component. However, only SCM knowledge is not enough, should be based on specific hardware architecture, as well as specific features of the software application objects combine to be improved.
Crossroads shuttle vehicles, pedestrians bustling, car dealers driveway, people walkways, methodical. Then rely on to achieve this discipline of the order of it? Relied on the automatic traffic light control system. Traffic signal control many ways. This design can be divided into five modules input control circuit, the clock control circuit, on-chip internal and external procedures for switching control, display circuit.
This article describes a device based on MCU AT89S52 as a center to design traffic signal controllers realized the AT89S52 chip pin-level direct control of the red, green, yellow, gave the test of time and keyboard functio
显示全部