文档详情

4060基于ARM嵌入式系统的交通灯系统的设计与实现.doc

发布:2017-12-16约9.82千字共16页下载文档
文本预览下载声明
摘要 随着移动设备的流行和发展,嵌入式系统已经成为一个热点。它并不是最近出现的新技术,只是随着微电子技术和计算机技术的发展,微控制芯片功能越来越大,而嵌入微控制芯片的设备和系统越来越多,从而使得这种技术越来越引人注目。它对软硬件的体积大小、成本、功耗和可靠性都提出了严格的要求。嵌入式系统的功能越来越强大,实现也越来越复杂,随之出现的就是可靠性大大降低。最近的一种趋势是一个功能强大的嵌入式系统通常需要一种操作系统来给予支持,这种操作系统是已经成熟并且稳定的,可以是嵌入式的Linux,WINCE等等。本文所要研究的就是基于ARM嵌入式系统的交通灯系统的设计与实现。本设计采用了周立功的32位ARM微处理器LPC2138作为核心处理器和ARM Linux作为嵌入式操作系统。 【关键词】嵌入式系统 ARM LPC2138 嵌入式linux Under the ARM embedded system’s the system of traffic lights 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 Zhligongs 32 as the LPC2138 ARM microprocessor core processors and ARM Linux as an embedded operating system. 【Keywords】Embedded Systems ARM LPC2138 linux 一 设计内容 利用ARM芯片模拟实现交通灯控制。选择ARM芯片,查阅相关文献资料,熟悉所选ARM芯片,了解所选ARM芯片各个引脚功能,工作方式,计数/定时,I/O口,中断等相关原理,并巩固学习嵌入式的相关内容知识。通过软硬件设计实现利用ARM芯片完成交通灯控制功能。 二 设计方案 2.1 设计思路 利用LPC2131ARM芯片实现单路交通灯的控制: a 实现红、绿、黄灯的循环控制。使用红、黄、绿三种不同颜色的LED灯实现此功能,由南往北方向红、黄、绿三个灯依次接在P1.18、P1.19、P1.20上,由北往南方向的红、黄、绿三个灯依次接在P1.21、P1.22、P1.23上,人行道用红、绿两个灯控制,依次接在P1.24、P1.25上,用软件控制灯的亮与灭来控制车辆和行人的通行。 b用数码管显示倒计时。可以利用动态显示或静态显示,串行并出或者并行并出实现。 c 南北方向控制车辆的绿灯熄灭的同时,控制蜂鸣器响2秒来作为警报。蜂鸣器接P0.7引脚。 交通路口示意图 2.2 总体设计框图 三 硬件设计 3.
显示全部
相似文档