Public transport routes intelligent query machine based on the EasyARM1138
Abstract
Governments around the world, especially the developed country are all dedicated in solving the traffic problem, considering it an important concern in the course of economic construction. Currently our country is facing a more complicated situation. In claiming for a full settlement of traffic congestion, China has to develop its public transport and make people change their trip mode. That is to say, making the municipal traffic be the public transport based development mode, supplemented by the private car traveling.
Public transportation system is an important component of the city transportation. Intelligent traffic commanding and humanized management system is the basis of improving the public transportation, it is also an essential means for improving operational efficiency, optimize the dispatching system and business administration, besides, it’s one of the important measures for China to solve its traffic problem and reflects the city’s modern management level.
The rapid development of Wireless communication technology, especially the use of 3G and the rapid development of the next-generation internet Research, deployment and industrialization all provide sufficient conditions for the development of intelligence public transport.
This article mainly researches in developing a city bus routes intelligence enquiry system. This system is designed and tested based on the EasyARM1138 breadboard. In order to perform better dispatching of each task, we adoptμC/OSⅡRTOS as the transplant system. Under the control of the operating system, the inquiry on bus routes, bus stop, City Guide, One-Card information can be realized. It provides intelligence consult for travelers to choose the route and transfer program before traveling, it also provides travelers with Electronic Guide and Dynamic real-time information services, constructing a traveler-oriented comprehensive city traffic information service system which will provide all kinds of traffic and travel services to satisfy the whole society’s demands for traffic information.
The system model realized in this article provides a set of an acceptable formula for the inquiry of city public transport information. With the continuous improvement and expansion of the system function, the city bus routes inquiry system will get affirmation and gain wide application.
Key words: EasyARM1138 platform μC/OSⅡ Urban public transport information
目 录
摘要.....................................................I
ABSTRACT................................................II
1 绪论...................................................1
1.1 引言.................................................1
2.2 发展前景.................................................2
2 系统设计...................................................3
2.1 可行性分析...............................................3
2.2 系统分析.................................................3
2.3 终端模块设计.............................................4
3 开发环境介绍和硬件选型................................5
3.1 EasyARM1138开发套件简介.................................5
3.1.1 EasyARM1138开发套件功能特点...........................6
3.2 IAR EWARM集成开发环境介绍..............................7
3.2.1 IAR EWARM简介.........................................7
3.2.2 LM LINK调试器简介.....................................7
3.3触摸屏控制芯片选型.......................................7
3.4无线通讯模块选型.........................................9
3.4.1 ZigBee技术简介........................................9
3.4.2 ZigBee技术与其它无线技术的比较........................9
3.4.3 ZigBee技术优势........................................9
4 模块设计与实现.......................................10
4.1 无线模块的设计与实现....................................10
4.1.1 ZigBee技术应用的协议.................................10
4.1.2 ZigBee技术的网络拓扑结构及网络设备类型...............10
4.1.3 ZigBee的实现.........................................11
4.2显示模块的设计与实现.................................... 11
4.2.1硬件接口定义 ..........................................11
4.2.2 TFT-LCD底层驱动编写 ..................................13
4.2.3 TFT-LCD高级API函数编写 ..............................16
4.3控制模块的设计与实现 ....................................19
4.3.1触摸屏工作原理 ........................................19
4.3.2驱动程序 ..............................................21
5 系统测试与应用........................................26
5.1系统测试及性能分析 ......................................26
5.1.1系统测试目的 ..........................................26
5.1.2测试方法 ..............................................26
5.1.3测试步骤与过程 ........................................26
5.1.4测试用例 ..............................................27
5.2系统特点及优势 ..........................................29
5.3系统应用 ................................................29
5.3.1公交站点应用 ..........................................29
5.3.2城市十字路口应用 ......................................29
5.3.3大型商场应用 ..........................................30
5.3.4 学校门口应用..........................................30
5.3.5 地铁和汽车站应用......................................30
6 结束语................................................32
参考文献................................................33
附录....................................................34
谢辞....................................................36