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