畢業(yè)論文 基于單片機(jī)酒精濃度測(cè)試儀.doc
約54頁DOC格式手機(jī)打開展開
畢業(yè)論文 基于單片機(jī)酒精濃度測(cè)試儀,摘要2000年以來,隨著中國經(jīng)濟(jì)的高速發(fā)展,人民生活水平的迅速提高,中國逐漸步入“汽車社會(huì)”,酒后駕車行為所造成事故越來越多,對(duì)社會(huì)的影響也越來越大,酒精正在成為越來越兇殘的“馬路殺手”。據(jù)有關(guān)資料統(tǒng)計(jì),全世界每年因車禍喪生的人數(shù)就超過60萬人,留下永久性傷殘者在400萬以上,一般受傷者則不計(jì)其數(shù)。在許多國家,車禍已成...
內(nèi)容介紹
此文檔由會(huì)員 ljjwl8321 發(fā)布
摘 要
2000年以來,隨著中國經(jīng)濟(jì)的高速發(fā)展,人民生活水平的迅速提高,中國逐漸步入“汽車社會(huì)”,酒后駕車行為所造成事故越來越多,對(duì)社會(huì)的影響也越來越大,酒精正在成為越來越兇殘的“馬路殺手”。據(jù)有關(guān)資料統(tǒng)計(jì),全世界每年因車禍喪生的人數(shù)就超過60萬人,留下永久性傷殘者在400萬以上,一般受傷者則不計(jì)其數(shù)。在許多國家,車禍已成為第一位意外死亡原因。
此外,因?yàn)榻煌ㄊ鹿试斐傻慕?jīng)濟(jì)損失也相當(dāng)驚人。據(jù)事故調(diào)查統(tǒng)計(jì),大約50%—60%的車禍與飲酒有關(guān)。中國公安部門在2009年8月,在全國各地加強(qiáng)查處酒后駕駛的力度,以減少由酒后駕駛造成的惡性交通事故。要查處就涉及到檢測(cè)人體內(nèi)的酒精含量和使用設(shè)備來進(jìn)行檢測(cè)的問題。
本文研究設(shè)計(jì)了一種用于公共場(chǎng)所具有檢測(cè)及超限報(bào)警功能的酒精濃度智能測(cè)試儀。其設(shè)計(jì)方案基于89C51單片機(jī),MQ3酒精濃度傳感器。系統(tǒng)將傳感器輸出的4~20mA的標(biāo)準(zhǔn)信號(hào)通過以AD0832為核心的A/D轉(zhuǎn)換電路調(diào)理后,經(jīng)由單片機(jī)進(jìn)行數(shù)據(jù)處理,最后由LCD顯示酒精濃度值。文中詳細(xì)介紹了數(shù)據(jù)采集子系統(tǒng)、數(shù)據(jù)處理過程以及數(shù)據(jù)顯示子系統(tǒng)和報(bào)警電路的設(shè)計(jì)方法和過程。系統(tǒng)對(duì)于采樣地點(diǎn)超出規(guī)定的酒精濃度時(shí)二極管報(bào)警電路提醒監(jiān)測(cè)人員。同時(shí),操作人員對(duì)于具體報(bào)警點(diǎn)的上限值可以通過單片機(jī)編程進(jìn)行設(shè)置。
關(guān)鍵詞:酒精濃度傳感器(MQ3);MCU;A/D轉(zhuǎn)換器;軟件設(shè)計(jì);硬件設(shè)計(jì)
Abstract
Since 2000, with China's rapid economic development and the rapid increase people's living standard, China has gradually stepped into "car society", drink driving accident caused by more and more impact on society is also growing, Alcohol is becoming more and more brutal "killers." According to statistics, the worldwide number of people killed in road accidents every year on more than 60 million people, left with permanent disability of 400 million or more, usually the injured were numerous. In many countries, traffic accidents have become the first cause of accidental deaths.
In addition, the economic losses caused by the accident is quite amazing. Accident investigation, according to statistics, about 50% -60% of car accidents and alcohol-related. China’s Ministry of Public Security in August 2009, around the country to strengthen efforts to investigate and deal with drink driving, to reduce the drink driving accident caused by the vicious. To investigate the human body involving the detection of alcohol and use of equipment to detect problems.
In this paper, design a public place for the detection and limit alarm functions with an alcohol concentration of intelligent tester. This design,based on STC89C51 microcontroller and MQ3 alcohol concentration sensor. System sensor output 4 ~ 20mA standard signal through AD0832 core A / D converter circuit, after conditioning, data processing by the MCU, the final alcohol concentration value from the LCD display. This paper describes the data acquisition subsystem, data processing and data display subsystem and alarm circuit design methods and processes. System requirements for the sampling sites exceeding the alcohol concentration diode reminder alarm circuit monitors. Meanwhile, the operator specific alarm point for the upper limit set by MCU programming. Alcohol tester will bring a driving signal prior to a safe
Key words:Alcohol concentration sensor (MQ3); STC85C52 MUC; A / D converter; Software design;Hardware design
目 錄
引言 1
1. 緒論 2
1.1 酒精濃度檢測(cè)儀開發(fā)背景 2
1.2 酒精濃度檢測(cè)儀的發(fā)展 2
1.3 酒精濃度檢測(cè)儀設(shè)計(jì)內(nèi)容 2
2. 方案器件簡(jiǎn)介 3
2.1 MCU選擇的簡(jiǎn)介 3
2.2 數(shù)模轉(zhuǎn)換器的簡(jiǎn)介 5
2.3 時(shí)鐘芯片的簡(jiǎn)介 7
2.4 液晶顯示器的簡(jiǎn)介 8
3 總體方案設(shè)計(jì) 9
3.1 STC89C52單片機(jī) 9
3.2 ADC0832數(shù)模轉(zhuǎn)換 10
3.3 AT24C02存儲(chǔ)器 10
3.4 LCD1602液晶顯示 10
3.5 編譯軟件介紹 12
4 硬件設(shè)計(jì) 13
4.1 最小系統(tǒng)的實(shí)現(xiàn) 13
4.2 數(shù)據(jù)采集設(shè)計(jì) 15
4.3 A/D轉(zhuǎn)換設(shè)計(jì) 16
4.4 按鍵設(shè)計(jì) 16
4.5 外圍擴(kuò)充存儲(chǔ)器電路 17
4.6 時(shí)鐘芯片電路 18
4.7 LCD1602液晶顯示設(shè)計(jì) 19
4.8 報(bào)警設(shè)計(jì) 21
4.9 電源電路設(shè)計(jì) 22
5. 軟件設(shè)計(jì) 22
5.1 編譯語言的選擇 22
5.2 主程序模塊 23
5.3 A/D轉(zhuǎn)換模塊 23
5.4 按鍵輸入模塊 24
5.5 時(shí)鐘模塊 24
5.6 液晶顯示輸出模塊 26
5.7 外圍存儲(chǔ)模塊 27
6. 系統(tǒng)調(diào)試 28
6.1 系統(tǒng)硬件調(diào)試 28
6.1.1元器件的焊接 28
6.1.2電路測(cè)試 28
6.2 系統(tǒng)軟件調(diào)試 29
6.3 系統(tǒng)整體調(diào)試 29
7. 結(jié)束語 29
謝 辭 31
參考文獻(xiàn) 32
附 錄 33
附錄一 硬件設(shè)計(jì)仿真圖 33
附錄二 硬件設(shè)計(jì)原理圖和PCB圖 34
附錄三 檢測(cè)程序 35
2000年以來,隨著中國經(jīng)濟(jì)的高速發(fā)展,人民生活水平的迅速提高,中國逐漸步入“汽車社會(huì)”,酒后駕車行為所造成事故越來越多,對(duì)社會(huì)的影響也越來越大,酒精正在成為越來越兇殘的“馬路殺手”。據(jù)有關(guān)資料統(tǒng)計(jì),全世界每年因車禍喪生的人數(shù)就超過60萬人,留下永久性傷殘者在400萬以上,一般受傷者則不計(jì)其數(shù)。在許多國家,車禍已成為第一位意外死亡原因。
此外,因?yàn)榻煌ㄊ鹿试斐傻慕?jīng)濟(jì)損失也相當(dāng)驚人。據(jù)事故調(diào)查統(tǒng)計(jì),大約50%—60%的車禍與飲酒有關(guān)。中國公安部門在2009年8月,在全國各地加強(qiáng)查處酒后駕駛的力度,以減少由酒后駕駛造成的惡性交通事故。要查處就涉及到檢測(cè)人體內(nèi)的酒精含量和使用設(shè)備來進(jìn)行檢測(cè)的問題。
本文研究設(shè)計(jì)了一種用于公共場(chǎng)所具有檢測(cè)及超限報(bào)警功能的酒精濃度智能測(cè)試儀。其設(shè)計(jì)方案基于89C51單片機(jī),MQ3酒精濃度傳感器。系統(tǒng)將傳感器輸出的4~20mA的標(biāo)準(zhǔn)信號(hào)通過以AD0832為核心的A/D轉(zhuǎn)換電路調(diào)理后,經(jīng)由單片機(jī)進(jìn)行數(shù)據(jù)處理,最后由LCD顯示酒精濃度值。文中詳細(xì)介紹了數(shù)據(jù)采集子系統(tǒng)、數(shù)據(jù)處理過程以及數(shù)據(jù)顯示子系統(tǒng)和報(bào)警電路的設(shè)計(jì)方法和過程。系統(tǒng)對(duì)于采樣地點(diǎn)超出規(guī)定的酒精濃度時(shí)二極管報(bào)警電路提醒監(jiān)測(cè)人員。同時(shí),操作人員對(duì)于具體報(bào)警點(diǎn)的上限值可以通過單片機(jī)編程進(jìn)行設(shè)置。
關(guān)鍵詞:酒精濃度傳感器(MQ3);MCU;A/D轉(zhuǎn)換器;軟件設(shè)計(jì);硬件設(shè)計(jì)
Abstract
Since 2000, with China's rapid economic development and the rapid increase people's living standard, China has gradually stepped into "car society", drink driving accident caused by more and more impact on society is also growing, Alcohol is becoming more and more brutal "killers." According to statistics, the worldwide number of people killed in road accidents every year on more than 60 million people, left with permanent disability of 400 million or more, usually the injured were numerous. In many countries, traffic accidents have become the first cause of accidental deaths.
In addition, the economic losses caused by the accident is quite amazing. Accident investigation, according to statistics, about 50% -60% of car accidents and alcohol-related. China’s Ministry of Public Security in August 2009, around the country to strengthen efforts to investigate and deal with drink driving, to reduce the drink driving accident caused by the vicious. To investigate the human body involving the detection of alcohol and use of equipment to detect problems.
In this paper, design a public place for the detection and limit alarm functions with an alcohol concentration of intelligent tester. This design,based on STC89C51 microcontroller and MQ3 alcohol concentration sensor. System sensor output 4 ~ 20mA standard signal through AD0832 core A / D converter circuit, after conditioning, data processing by the MCU, the final alcohol concentration value from the LCD display. This paper describes the data acquisition subsystem, data processing and data display subsystem and alarm circuit design methods and processes. System requirements for the sampling sites exceeding the alcohol concentration diode reminder alarm circuit monitors. Meanwhile, the operator specific alarm point for the upper limit set by MCU programming. Alcohol tester will bring a driving signal prior to a safe
Key words:Alcohol concentration sensor (MQ3); STC85C52 MUC; A / D converter; Software design;Hardware design
目 錄
引言 1
1. 緒論 2
1.1 酒精濃度檢測(cè)儀開發(fā)背景 2
1.2 酒精濃度檢測(cè)儀的發(fā)展 2
1.3 酒精濃度檢測(cè)儀設(shè)計(jì)內(nèi)容 2
2. 方案器件簡(jiǎn)介 3
2.1 MCU選擇的簡(jiǎn)介 3
2.2 數(shù)模轉(zhuǎn)換器的簡(jiǎn)介 5
2.3 時(shí)鐘芯片的簡(jiǎn)介 7
2.4 液晶顯示器的簡(jiǎn)介 8
3 總體方案設(shè)計(jì) 9
3.1 STC89C52單片機(jī) 9
3.2 ADC0832數(shù)模轉(zhuǎn)換 10
3.3 AT24C02存儲(chǔ)器 10
3.4 LCD1602液晶顯示 10
3.5 編譯軟件介紹 12
4 硬件設(shè)計(jì) 13
4.1 最小系統(tǒng)的實(shí)現(xiàn) 13
4.2 數(shù)據(jù)采集設(shè)計(jì) 15
4.3 A/D轉(zhuǎn)換設(shè)計(jì) 16
4.4 按鍵設(shè)計(jì) 16
4.5 外圍擴(kuò)充存儲(chǔ)器電路 17
4.6 時(shí)鐘芯片電路 18
4.7 LCD1602液晶顯示設(shè)計(jì) 19
4.8 報(bào)警設(shè)計(jì) 21
4.9 電源電路設(shè)計(jì) 22
5. 軟件設(shè)計(jì) 22
5.1 編譯語言的選擇 22
5.2 主程序模塊 23
5.3 A/D轉(zhuǎn)換模塊 23
5.4 按鍵輸入模塊 24
5.5 時(shí)鐘模塊 24
5.6 液晶顯示輸出模塊 26
5.7 外圍存儲(chǔ)模塊 27
6. 系統(tǒng)調(diào)試 28
6.1 系統(tǒng)硬件調(diào)試 28
6.1.1元器件的焊接 28
6.1.2電路測(cè)試 28
6.2 系統(tǒng)軟件調(diào)試 29
6.3 系統(tǒng)整體調(diào)試 29
7. 結(jié)束語 29
謝 辭 31
參考文獻(xiàn) 32
附 錄 33
附錄一 硬件設(shè)計(jì)仿真圖 33
附錄二 硬件設(shè)計(jì)原理圖和PCB圖 34
附錄三 檢測(cè)程序 35
TA們正在看...
- 旅游市場(chǎng)營銷教indexppt.ppt
- 旅游文化全套配套第三版尹華光indexppt.ppt
- 旅游景區(qū)經(jīng)營與管理教全套7第七章開發(fā)型景區(qū)開發(fā)與...ppt
- 旅游景區(qū)經(jīng)營與管理教全套8第八章旅游景區(qū)治理模式...ppt
- 旅游景區(qū)經(jīng)營與管理教全套第九章旅游景區(qū)開發(fā)模式...ppt
- 旅游景區(qū)經(jīng)營與管理教全套第二章旅游景區(qū)管理前沿p...ppt
- 旅游景區(qū)經(jīng)營與管理教全套第四章旅游景區(qū)運(yùn)營管理p...ppt
- 旅游景區(qū)經(jīng)營與管理教全套第章導(dǎo)論ppt.ppt
- 旅游美基礎(chǔ)全套配套第二版祁穎第九章飯店服務(wù)人員...ppt
- 旅游美基礎(chǔ)全套配套第二版祁穎第十章飯店裝飾手法...ppt