文档介绍:基于16位单片机的交通灯电路设计
摘要
要对路口交通灯进行合理的控制,除了要采集真实的数据,并作合理的分析外,还需要建立模拟交通灯控制系统, 的强大的处理能力,控制交通灯控制模组,进行实际交通情况的模拟,模拟交通灯控制板就是通过使用单片机、PLC 或其它器件控制一些LED 和数码管,来模拟真实十字路口的交通灯的功能。如模拟红黄绿灯交替闪亮、倒计数显示时间、,定时/计数器和中断的功能、工作原理。如何将程序下载到单片机的闪存Flash中。
关键词:单片机SPCE061A,交通灯,中断
The Design of Circuit of Traffic Lights Based on 16-bits Single Chip puter
Abstract
In order to give a reasonable control, you should sample real data and make rational analyze and set up model traffic light controlling system, carry on model controlling to the real state of the traffic lights based on this platform. Making use of the power processing function ,this system controls the controlling mode of the traffic light and operate the simulation of the real traffic state, analog traffic lights controlling board simulate the function of the real traffic lights at the crossing by using SCM、PLC and other applications to control LED and nixie light. For example simulating the shining of the RED 、YELLOW、GREEN light by turns and showing time in countdown model and make use of direction light to indicate the right direction and so on. The purpose of this paper is understand the inner structure of SCM and timing/counting and interruption function and operation principle and how to make the program download to the flash of SCM. The paper can make us master some relative knowledge of circle and SCM.
Keywords: SCM Spce061A , Traffic Lights, Interrupt
目录
1 引言 1
本文研究的目的和意义 1
单片机的概念及其发展史 1
2 研究现状和设计要求 3
主要功能 3
模块特性简介 3
SPCE061A模块特性简介 3
芯片特性 5
SPCE061A 精简开发板 6
中央处理器(CPU) 7
3 交通灯控制模组板特性 9
系统总体方案介绍 9
设计内容 10
交通灯的管脚和单片机的对应图: 10
单片机的内部结构: 11
11
12
13
中断 14
4 系统的硬件设计 19
SPCE061A周边模块 19
SPCE061A最小系统 19
20
键盘模块: 22
电源模块 22
23
30
红绿灯显示模块 30
结论 34
参考文献: 35
致谢 36
外文文献原文
译文
1 引言
本文研究的目的和意义
目前,