基于51单片机控制交通灯的毕业设计

安徽工商职业学院 毕业设计说明书

安徽工商职业学院

ANHUI BUSINESS VOCATIONAL COLLEGE

毕业设计(论文)

基于单片机控制的交通灯毕业设计

系 别: 电子信息系

专业班级:10应用电子技术2班 学 号: 103596 学生姓名: 吴坤 指导老师: 聂凯

二零一二年十月

1

安徽工商职业学院 毕业设计说明书

基于单片机控制的交通灯毕业设计

摘 要

十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本设计主要分为五大模块输入:控制电路、时钟控制电路、片内外程序切换控制、显示电路。以MSC-51系列单片机IntelAT89C51为中心器件来设计交通灯控制器,实现了AT89C51芯片的P0口设置红灯、绿灯、黄灯燃亮时间的功能;为了系统稳定可靠采用了74LS14施密特触发器芯片的消抖电路,避免了系统因输入信号抖动产生误操作;显示时间直接通过AT89C51的P2口输出,由CD4511驱动LED数码管显示红灯燃亮时间。

关键字:AT89C51 LED显示 交通灯

2

安徽工商职业学院 毕业设计说明书

The Traffic Light Based On The Single-chip Control

Abstract

The intersections vehicle wears shuttle, pedestrian Xi Rang, garage driveway, person's sidewalk, orderly. So depend what to carry out this well arranged order? What to depend is a traffic sign light of automatic conductor system. The control method of the traffic sign light is a lot of. This design is mainly divided into five greatest molds a piece the electric circuit, clock of the importation control a control outside procedure inside the electric circuit, slice to cut over a control and shows electric circuit. Take single slice the machine IntelAT89 C51 of the serieses MSC-51s as a center spare part to design transportation light controller, carried out the AT89 C51's P's 0 people's constitution of the chips red, the function in bright time of green light, Huang2 Deng Ran2;For the sake of system stability the credibility adopted a 74 LS14 airtight trigger eliminate of machine chip to tremble electric circuit especially, avoided system because of importation the signal tremble movable property to living a mistake operation; The P 2 people who shows that time directly passes the AT89 C51 output, is driven LED figures a tube by the CD4511 to show red-light Ran bright time.

Key word: The AT89 C51 LED show transportation light

3

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4