基于ARM嵌入式系统的交通灯设计 下载本文

内容发布更新时间 : 2024/12/24 3:51:20星期一 下面是文章的全部内容请认真阅读。

基于ARM嵌入式系统的交通灯设计

姓名: 指导老师:

摘要:随着移动设备的流行和发展,嵌入式系统已经成为一个热点。它并不是最近出现的新技术,只是随着微电子技术和计算机技术的发展,微控制芯片功能越来越大,而嵌入微控制芯片的设备和系统越来越多,从而使得这种技术越来越引人注目。它对软硬件的体积大小、成本、功耗和可靠性都提出了严格的要求。嵌入式系统的功能越来越强大,实现也越来越复杂,随之出现的就是可靠性大大降低。最近的一种趋势是一个功能强大的嵌入式系统通常需要一种操作系统来给予支持,这种操作系统是已经成熟并且稳定的,可以是嵌入式的Linux,WINCE等等。本文所要研究的就是基于ARM嵌入式系统的交通灯系统的设计与实现。本设计采用了飞利浦的32位ARM微处理器LPC2138作为核心处理器

关键词:嵌入式系统,ARM,LPC2138,交通灯

Traffic Lights System based on the ARM

Embedded System

Student: Guide Teacher:

Abstract:With the prevalence of mobile devices and development of embedded systems has become a hot spot. It is not a recent emergence of new technology, just as micro-electronics technology and the development of computer technology, micro-chip control functions more and more, and control of micro-chips embedded in the equipment and systems more and more, making the technology more Reply People attention. Hardware and software of its size, cost, power consumption and reliability have made stringent requirements. Embedded systems function more powerful, and more and more complicated, then there is the reliability greatly reduced. A recent trend is a powerful embedded systems usually need a operating system to support the operating system is already mature and stable, can be embedded Linux, WINCE, and so on. This paper is to study under the ARM embedded system’s the system of traffic lights design and implementation. This design uses Philips's 32 as the LPC2138 ARM microprocessor core processors. Keywords:Embedded Systems,ARM,LPC2138,traffic lights

目录

1 引言 ···································································································· - 4 - 2 相关内容及原理 ······························································· 错误!未定义书签。 3 设计方案 ······························································································ - 6 -

3.1 设计思路 ···················································································· - 6 - 3.2 总体设计框图 ·············································································· - 6 - 4 硬件设计 ······························································································ - 8 -

4.1 LPC2138芯片介绍及设计 ································································· - 8 - 4.2 LPC2138芯片最小系统硬件设计 ························································ - 9 - 4.3 系统电源电路设计 ········································································· - 10 - 4.4 晶振与复位电路 ············································································ - 10 - 4.5 LED循环显示设计 ········································································· - 10 - 4.6 数码管倒计时显示硬件设计 ····························································· - 11 - 4.7 蜂鸣器设计 ·················································································· - 12 - 5 软件设计 ····························································································· - 14 -

5.1 交通灯控制软件流程图 ··································································· - 14 - 5.2 ARM交通灯模拟控制程序设计 ························································· - 15 - 6 运行测试结果 ·························································································· 16 7 设计心得体会及总结 ·············································································· - 16 - 参考文献 ······························································································· - 19 - 附录 ····································································································· - 19 -