摘  要:本文是以单片机STC89C51为控制芯片,设计单片机的智能交通系统,利用车流量检测电路、违规检测电路、单片机的定时器/计数器以及中断的控制,解决了交通堵塞、紧急车强行以及车辆违反交通规则的督促灯问题。硬件部分设计包括最小单片机系统、四个两位数码管、LED指示灯、蜂鸣器、霍尔传感器、普通的法官二极管灯等。软件部分包括延时程序、中断程序以及交通灯的主程序编程。又采用了Keil 和Proteus 电路仿真软件进行整个程序的模拟仿真。经过仿真调试,实现了交通灯智能控制的功能,具有结构简单、可靠性高、成本低、实时性好等优点。65120

关键词:智能交通灯,STC89C51,编程,仿真, 

Abstract: This thesis is based on SCM STC89C51 control chip, single-chip design of intelligent transportation systems, the use of traffic flow detection circuit, a violation detection circuit, microcontroller timer/counter and a control interruption to solve the traffic congestion, emergency vehicles and vehicles in violation of traffic rules by force the urge light problem. The hardware design includes the smallest single-chip system, four two digital control, LED indicator light, buzzer, Hall sensors, LED lamps, and other ordinary judges. Software includes procedural delay, interrupt routines and main programming traffic lights. It has adopted the Keil and Proteus circuit simulation software simulation of the entire program. After the simulation, and delivers intelligent traffic light control functions. It has a simple structure, high reliability, low cost, real good.

Keywords: Single chip microcomputer,STC89C51,Digital tube,Traffic lights

 目 录

1 绪论 3

1.1课题的研究背景与意义 3

1.2 国外智能交通系统现状 4

1.3 国内交通灯的现况 5

1.4 本章小结 5

2 智能单片机交通灯控制系统的设计方案 5

2.1路口交通灯运行状态 5

2.2 单片机智能交通控制系统的控制要求 7

2.2.3 紧急处理 7

2.3基于单片机的智能交通控制系统的构成及原理 8

2.4交通流量信号检测的方法 8

2.4.1车流量检测及调整 8

2.4.2违规检测 10

2.5本章小结 10

3 智能交通灯单片机控制系统硬件设计 10

3.1电路原理图 10

3.3 控制部分的设计 12

3.3.1 STC89C51单片机简介 12

3.5 本章小结 14

4  软件设计 14

4.1 程序主体设计流程 15

4.2 程序设计理论基础 15

4.2.1定时器原理 16

4.2.2软件延时原理 16

4.2.3 中断原理 16

4.3 子程序模块设计 17

4.4 本章小结 21

5 仿真及其调试 21

5.1仿真软件介绍

上一篇:北斗2/惯性组合导航可视化仿真软件设计
下一篇:STC89C52单片机的多功能电子时钟设计+电路图

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

PLC物料自动分拣系统的设计+源程序

单相电压型逆变电路的谐...

《水浒传》中血腥暴力研...

MNL模型历史城区居民活动...

PCI+PID算法直流力矩电机速...

大规模MIMO系统的发展研究现状

提高小學语文課堂朗读教...

浅析施工企业保理融资成...

高效课堂教师问卷调查表

从企业eHR建设谈管理信息...

小型通用机器人控制系统设计任务书

遥感土地用变化监测国内外研究现状