基于单片机的交通灯设计-电子信息工程系.DOC

基于单片机的交通灯设计-电子信息工程系.DOC

基于单片机的交通灯设计-电子信息工程系

基 于 单 片 机 交 通 灯 设 计 系 别: 电 子 技 术 系 专 业: 09级微电子技术1班 姓 名: 林文滨 连亚杰 学 号: J009019 J009016 导 师: 张召强 老师 时 间: 2010年11月—12月 目录 ? …………………………………………………………………………………………………………….3 单片机概述? ……………………………………………………………………………………. ……………….3 第一章 项目任务及功能……………………………………………………… ……………….4 第二章 项目实施……………………………………………………………… …………………….4 2.硬件设计系统结构框图……………………………………………………………………………………………………………………………………… ……………..5 2.1.1设计思路及系统原理………………………………………………………………………………5 2.1.2交通灯控制硬件电路原理图…………………………………………………………………….7 2.1.3所用主要元器件清单……………………………………………………………………………....7 第三章 程序设计…………………………………………………………………… ……………....8 3.模块介绍…………………………………………………………………………………………………….…8 3.1.1主程序模块……………………………………………………………………………………………...8 3.1.2中断处理紧急事件子程序……………………………………………………….. …………….…..8 3.1.3时间及信号灯的显示子程序…………………………………………………………………….…9 3.1.4延时子程序………………………………………………………………………?…………………......9 3.2源程序清单……………………………………………………………………………………………….10 第四章 软硬件检测与调试…………………………………………………………………硬件调试……………………………………………………………………………………………….....14 4.1.1静态调试………………………………………………………………………………?………………14 4.1.2动态调试……………………………………………………………………………?...........................15 4.2 Keil软件调试……………………………………………………………………………………………………………………………………………………………………………15 4.2.2程序仿真与调试……………………………………………………………………...........................15 第五章 总结……………………………………………………………………………….………...16 参考文献…………………………………………………………………………… …………………...….17 摘要: 近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测Abstract: With the rapid development of science and technology in recent years, the application of SCM is a growing, while driving more traditional control detection technology updates. We live in cities, roads crisscross in all directions. As peoples living standards improve, the increase in various types of vehicles, adding to the burden of urban transport. To make our living environment orderly, the ubiquitous street traffic lights played an important role. This project use microcontroller AT89S52 the I / O expansion technology, the design of a simulation of traffic signal control system. Ea

文档评论(0)

1亿VIP精品文档

相关文档