1、 单片机原理及系统课程设计单片机原理及系统课程设计 专专 业:业: 自动控制 班班 级:级: 姓姓 名:名: 学学 号:号: 指导教师:指导教师: 2013 2013 年年 3 3 月月 7 7 日日 评语: 考勤(10) 守纪(10) 过程(40) 设计报告(30) 答辩(10) 总成绩(100) 单片机原理及系统课程设计报告 1 基于单片机的交通灯控制系统基于单片机的交通灯控制系统 摘摘 要要 当今时代是一个自动化时代,交通灯控制等很多行业的设备都与计算机密切 相关。因此,一个好的交通灯控制系统将在道路拥挤等交通状况方面给予技术革 新。本文主要介绍了一个基于 89C52 单片机的交通灯控制
2、系统,详细介绍了利用 89C52 设计并仿真实现交通灯控制系统的过程,重点对硬件设计、软件编程、调 试分析以及各模块系统流程进行了详细分析, 对各部分的电路也一一进行了介绍。 本电路由 AT89C52 单片机、按键、数码管和 LED 灯组成,并在 Protues 软件上实 现仿真。 关键词:关键词:交通控制;单片机;AT89C52 Abstract The ages is an automation ages nowadays and traffic light controls waiting a lot of equipments of professions is closely rel
3、ated with calculator. Therefore, a good traffic light control system will hustle for road, give technique innovation. This paper describes a 89C52 microcontroller-based traffic light control system, detailed description of the use 89C52 development process of the traffic light control system. Focus
4、on a detailed analysis of the hardware design, software programming,analysis and debugging process of the modular system, on the part of the circuit are introduced one by one. The circuit is made up of AT89C52 microcomputer, keyboard ,digital tube and LED lamp display and realize simulation in the Protues software. Keywords:Traffic Control; Single Chip Microcomputer ;AT89C52 单片机原理及系统课程设计报告 2 1 引言引言 信号灯的出现,使交通得以有效管制,对于疏导交通流量、提高道路通行能 力、减少交通事故