【正文】
為交通事故提供證據(jù)。 除此之外,汽車行駛記錄儀在保障車輛行駛安全以及對道路交通事故的分析鑒定等方面都具有重要的作用。s travel indispensable munication tool, with the traffic accident also showed a rising trend year by year, if the use of the recorder, you can curb fatigue driving, speeding and other traffic violations effectively avoid some unnecessary disaster, therefore, vehicle traveling data recorder has greatly reduced the incidence of traffic accidents. At present, whether domestic or foreign, study of the recorder are still not reached a very mature stage, whether technical level is not enough, can not obtain satisfactory results or the cost is too high, can not let the public to accept the price of the product, so now recorder has not spread to every car, just in the use of a small amount of longdistance bus, so the study towards the recorder has a long way to this article, mainly introduces the design of vehicle traveling data recorder based on MCU. Data is received by the antenna of the GPS module and then it through the GPS module was introduced into the MCU. In the microcontroller, the GPS data is translated for the identifiable data, then display information in the can display the position information and the vehicle driving state of vehicle in realtime. This paper introduces in detail the munication between MCU each pin function and how to achieve the munication with other equipments. For the GPS module, describing in detail the working principle of GPS module and how to translate the received signal to the identifiable a detailed description of how to use the software to process the data parsed and displayed on the LCD screen, and how to use keyboard switching liquid crystal display screen content, finally realizes the recorder to plete the functions, realtime record the position of the vehicle and driving state. Keywords: Car driving recorder; GPS module; the black box 目 錄 第一章 緒論 ......................................................................................1 第一節(jié) 行車記錄儀的簡介及 研究的目的和意義 ..............................1 第二節(jié) 國內(nèi)外在該方向的研究現(xiàn)狀 .................................................2 第二章 行車記錄儀系統(tǒng)的總體方案設計 .........................................4 第一 節(jié) 行車記錄儀的主要功能與系統(tǒng)組成 ......................................4 第二節(jié) 主要控制芯片的選擇 ............................................................4 第三章 行車記錄儀系統(tǒng)的硬件設計 .................................................7 第一節(jié) 單片機模塊 ...........................................................................7 第二節(jié) GPS 模塊 ............................................................................ 11 第三節(jié) 存儲模塊 ............................................................................. 18 第四節(jié) 液晶顯示模塊的硬件設計 ................................................... 19 第五節(jié) 鍵盤模塊 ............................................................................... 20 第四章 行車記錄儀系統(tǒng)的軟件設計 ............................................... 22 第一節(jié) 編程語言的選擇 ................................................................... 22 第二節(jié) 主程序的設計 ..................................................................... 23 第三節(jié) GPS 接收模塊的軟件設計 .................................................. 24 第四節(jié) 數(shù)據(jù)存儲模塊的軟件設計 ................................................... 25 第五節(jié) 鍵盤和液晶顯示模塊的軟件設計 ....................................... 26 結(jié) 論 ............................................................................................... 27 致 謝 ............................................................................................... 29 參考文獻: ........................................................................................ 30 附 錄 ............................................................................................... 31 天津科技大學 20xx 屆本科生畢業(yè)設計 1 第一章 緒論 近年來隨著我國科技的發(fā)展以及國民經(jīng)濟的快速提高 ,道路交通事故逐年呈現(xiàn)出上升趨勢 ,尤其是長途客運車輛的重、特大道路交通事故頻頻發(fā)生 ,給國家和人民生命財產(chǎn)帶來了巨大損失。對于GPS 模塊,詳細的介紹了 GPS 模塊的工作原理以及如何對接收到的信號進行解析,最后詳細的介紹了如何借助軟件對解析完的數(shù)據(jù)進行處理并在液晶屏中顯示,以及如何通過鍵盤切換液晶屏顯示的內(nèi)容,最終實現(xiàn)記錄儀所要完成的功能,即實 時記錄車輛的位置與行駛狀態(tài)??梢詫崟r的顯示車輛的位置信息與車輛的行駛狀態(tài)。本畢業(yè)設計所設計的行車記錄儀不追求市場上那種強 大的功能,它基于單片機進行設計。因此,行車記錄儀的出現(xiàn)極大的降低了交通事故的發(fā)生率。 基于單片機的行車記錄儀的設計 DESIGN OF DRIVING RECORDER BASED ON MICROCOMPUTER 摘 要 行車記錄儀是安裝在汽車上的一種裝置,他就像飛機上的黑匣子,可以隨時記錄車輛的行駛狀態(tài)和在道路情況,也可以時時的提醒開車人的交通狀況,讓開車人小心駕駛,避免交通事故,在發(fā)生一些交通事故時,還可以調(diào)取記錄儀記錄的信息做為交通事故發(fā)生時的證據(jù),保障受害人的權益。隨著社會經(jīng)濟的快速發(fā)展,汽車已經(jīng)成為人們出行必不可少的交通工具,與之而來的 交通事故也逐年呈現(xiàn)出上升趨勢,如果使用行車記錄儀的話 ,就可以有效的遏止疲勞駕駛、車輛超速等交通違章行為,避免一些不必要的災難。 就目前來說,無論是國內(nèi)還是國外,對記錄儀的研究還都沒有達到一個很成熟的地步,或者是技術水平不夠,不能夠得到讓人滿意的效果,或者是費用過高,不能有一個讓大眾可以接受的產(chǎn)品價格,因此現(xiàn)在記錄儀還沒有普及到每一輛汽車中,只是在一些長途客車上少量的使用,因此對記錄儀的研發(fā)還有很長的一段路要走。通過 GPS 模塊的天線接收數(shù)據(jù),將數(shù)據(jù)通過 GPS 模塊處理后傳入單片機中,在單片機中將 GPS 數(shù)據(jù)解析為可識別的數(shù)據(jù),然后連接液晶顯示將信息顯示出來。本文中詳細介紹了單片機的各個引腳功能以及如何實現(xiàn)和其他設備之間的通信。 關鍵字 :行車記錄儀; GPS 模塊; 黑匣子 ABSTRACT Car driving recorder is a device which is mounted in the car, just like the black box in the airplane, not only can which record the car‘s running state and the problem ing from the road, but also can constantly remind the driver noticing the traffic condition, let the driver to drive carefully, in order to avoid the traffic accident. in the event of traffic accidents, It can also get recording information obtaining from the recorder for traffic accident‘s evidence, safeguard the rights of the victims. With the rapid development of social economy, the automobile has bee the people39。如果使用記錄儀的話 , 就可以有效遏止疲勞駕駛以及車輛超速等交通違章行為,避免一些不必要的災難。 第一節(jié) 行車記錄儀的簡介及 研究的目的和意義 在百度百科中,行車記錄儀的定義是這樣的一個東西,它可以說是使用在汽車上的黑匣子,它由汽車發(fā)動機提供能源,通過高清攝像鏡頭攝影,可以隨時實現(xiàn)錄像錄影的功能,記錄車輛行駛過程中的影像及聲音,當意外發(fā)生時,可以提取記錄儀記錄的信息做為交通事故的證據(jù),保障駕駛?cè)俗晕覚嗬?。那些喜歡 自己駕車旅游 的朋友,還可以用它來記錄旅游路上的所見所聞。此外記 錄儀也可以被用作家庭 DV 來拍攝我們生活中的點點滴滴,也可以做為家用 監(jiān)控 使用。 近年來隨著我國國民經(jīng)濟的快速發(fā)展 ,人民都過上了好的生活,都擁有了屬于自己的汽車,隨之而來的也就導致了道路擁堵,交通事故頻繁發(fā)生等交通問題,并且事故發(fā)生率呈現(xiàn)出逐年遞增的趨勢 ,這其中以大型長途客運汽車為甚。如果使用記錄儀的話 ,