【正文】
.................... 1 課題研究的背景和意義 ............................................................................ 1 公交車報站系統(tǒng)的發(fā)展現(xiàn)狀 .................................................................... 2 論文的任務和工作內(nèi)容 ............................................................................ 3 第 2 章 系統(tǒng)的總體方案設計 ................................................................................. 4 方案論證 ..................................................................................................... 4 總體方案設計 ............................................................................................. 6 第 3 章 硬件電路設計 ............................................................................................. 7 單片機最小系統(tǒng)設計 ................................................................................ 7 AT89C51 簡介 ................................................................................. 7 引腳說明 ......................................................................................... 8 晶體振蕩電路 ............................................................................... 10 復位電路 ....................................................................................... 11 語音電路設計 .......................................................................................... 12 語音電路芯片的介紹 ................................................................... 13 語音電路設計 ............................................................................... 17 LED 顯示電路設計 .................................................................................. 18 LED 顯示方式 ............................................................................... 19 LED 驅(qū)動原理 ............................................................................... 19 顯示電路 ....................................................................................... 21 GPS 定位模塊設計 .................................................................................. 21 電源電路設計 .......................................................................................... 22 第 4 章 系統(tǒng)軟件設計 ........................................................................................... 24 主程序的設計 .......................................................................................... 25 子程序的設計 .......................................................................................... 26 LED 漢字顯示程序 ....................................................................... 26 語音播放程序 ............................................................................... 29 錄音程序 ....................................................................................... 30 第 5 章 結(jié) 論 ......................................................................................................... 36 參考文獻 ................................................................................................................. 37 IV 致 謝 ....................................................................................................................... 39 附 錄Ⅰ ................................................................................................................... 40 附 錄Ⅱ ................................................................................................................... 50 附 錄Ⅲ ................................................................................................................... 53 1 第 1章 緒 論 課題研究的背景和 意義 公共汽車是目前世界各國使用最廣泛的公共交通工具。 GPS。 本文設計的公交車自動報站及漢字顯示系統(tǒng)具有使用方便、體積小、經(jīng)濟實惠、工作穩(wěn)定、誤報率低等特點。 本 文 是以 AT89C51 為主控芯片 的 進行了系統(tǒng) 硬件電路 設計 , 分析并設計了各單元電路 ,包括語音電路、 LED 顯示電路、電源電路。本文 設計的 新型的公交車自動報站系統(tǒng),以 AT89S51單片機為核 心,外擴 ISD1730 語音芯片,點陣 LED 漢字顯示屏和行列驅(qū)動芯片。因此,在中小城市中迫切需要智能化的公交車報站系統(tǒng)。 I 摘 要 智能公交系統(tǒng)是智能交通系統(tǒng)的重要研究內(nèi)容,近年來出現(xiàn)了許多針對公交車輛智能化的研究與嘗試,這其中就包括自動報站系統(tǒng)。目前,國內(nèi)只有北京、上海、深圳、廣州、青島等城市實現(xiàn)了利用 GPS 自動報站,許多中小城市的公交車仍舊是傳統(tǒng)的人工按鍵報站,沒有實現(xiàn)完全的智能化,給司乘人員帶來了很大的不便。 本文應用單片機技術、語音合成技術和點陣 LED漢字顯示技術設計了一種公交車語音報站和漢字顯示系統(tǒng),它能很好的模仿人完成 報站任務,從而解決了 人工報站不準確不方便等問題 。當汽車到達某站時 , 通過 GPS 模塊來 觸發(fā)本系統(tǒng)進行工作,通過語音輸出電路進行語音報站和提示, AT89S51 單片機 同時通過程序讀取漢字信息送入 LED 點陣 顯示電路進行漢字提示 ,達到了在車輛運行期間顯示和語音的同步,提高了車輛的服務質(zhì)量。利用 C 語言進行了程序設計, 介紹了系統(tǒng)所采用的軟件開發(fā)環(huán)境及其主程序設計,著重分析設計了 LED 顯示 模塊、 語音播放模塊的 實現(xiàn)流程, 給出了大部分源代碼。 關鍵詞: 單片機; GPS; LED 漢字顯示屏; ISD1730 II Abstract Advanced Public Transportation Systems (APTS) is an important part of Intelligent Transport System (ITS), and many researches and attempts related to the intelligent publictransport vehicles have e forth during recent years. At present, many city buses in China are still the traditional manual buttons on station except Beijing, Shanghai, Shenzhen, Guangzhou,and Qingdao. Therefore, an intelligent busstopannouncing system is strongly required in thesecities. This paper introduces the design principle of a new bus automatic stop reporting system, which centers AT89S51 Single Chip Micyoco, concerning ISD1730 speech chip, dot matrix LED character display screen and line driver chip. When a bus reaches a certain stop, it makes this system to work through the GPS module. That is, through the speech output circuit to carry out the work of voice announcement and presentation, and at the same time AT89S51 Single Chip Micyoco carries out the character display through the read of characters and delivery to the LED dot matrix display circuit. In this way, a synchronic cooperation of display and speech during the operation of the vehicle is reached and the service quality of buses is improved. A design method of the Bus Station Report System based on AT89C51SND1C is put forward. This part mainly discusses hardware design, including power circuit, the systemclock circuit, reset circuit, USB interface circuit and Nand Flash memory circuit, etc. Practical application circuit and PCB layout of the ponents are given. The automatic stop reporting and character display system designed in this paper is convenient, small in