基于单片机的交通灯设计
作者姓名:张德华
专业名称:电子信息科学与技术专业
指导老师: 陈建国讲师
摘要
近年来随着科技的飞速发展,一个以微电子技术、计算机技术和通信技术为先导的信息革命正在蓬勃发展。计算机技术作为三者之一,怎样与实际应用更有效的结合并发挥其作用。单片机作为计算机技术的一个分支,正在不断的应用到实际生活中,同时带动传统控制检测的更新。在实时检测和自动控制的应用系统中,单片机往往是作为一个核心部件使用,针对具体应用对象的特点,配以其它器件来加以完善。
十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现交通的井然秩序呢?靠的是交通信号灯的自动指挥系统,来实现交通的井然有序。交通信号灯控制方式很多。本系统采用美国ATMEL公司生产的单片机AT89S51,以及其它芯片来设计交通灯控制。实现了通过AT89S51芯片的P1口设置红、绿灯点亮的功能,通过AT89S51芯片的RXD、TXD输入、输出设置显示时间。交通灯的点亮采用发光二极管实现,时间的显示采用七段数码管实现。单片机系统采用的直流供电。为了系统稳定可靠,系统内集成了“看门狗”芯片,避免了系统因为死机而停止工作的情况发生。系统实用性强、操作简单、扩展性好。
关键词 :电子技术七段数码管 AT89S51
Abstract
In recent years, with the rapid development of science and technology, a microelectronics technology, computer technology munication technology as the forerunner of the information revolution is also booming. Computer technology, as one of the three, and how, and practical application more bination and plays its role. Single chip puter as a branch puter technology, the ongoing applied to real life, and push the traditional control test updates. In real time detection and automatic control application system, microcontroller is often used as a ponent, according to the characteristics of the specific application object, match with other devices to be perfect.
Crossroads transports, bustling pedestrian, auto lane, a humanitarian, in an orderly way. Then rely on what to realize the traffic in order? By the traffic lights mand system, to realize the traffic in good order. There are many ways to control the traffic lights. The system USES the pany production of the United States AT89S51 single-chip puter, and other chips to designing traffic light control. Realized through the AT89S51 chip set red, green P1 mouth up function, through the AT89S51 chip RXD, TXD input, output Settings show time. The traffic light lit using light-emitting diodes realization, the time is shown using seven period of digital tube realized. The single-chip puter system of dc power supply. In order to system is stable and re
基于单片机的交通灯设计毕业论文初稿张德华 来自淘豆网m.daumloan.com转载请标明出处.