【正文】
學(xué)號: 07034040217 畢業(yè)設(shè)計說明書 基于單片機(jī)的酒精檢測系統(tǒng)設(shè)計 The singlechip microputer design of alcohol detection system based on SCM 學(xué)院 計算機(jī)與電子信息學(xué)院 專業(yè) 電子信息科學(xué)與技術(shù) 班級 學(xué)生 指導(dǎo)教師(職稱) 完成時間 年 3 月 19 日至 年 月 日 專業(yè)負(fù)責(zé)人 批 準(zhǔn) 日 期 畢 業(yè) 論 文 任 務(wù) 書 院(系): 計算機(jī)與電子信息學(xué)院 專業(yè) 電子信息科學(xué)與技術(shù) 班 級: 電子 072班 學(xué)生: 學(xué)號: 07034040217 一、畢業(yè)論文課題 基于單片機(jī)的酒精檢測系統(tǒng)設(shè)計 二、 畢業(yè)論文工作自 2020 年 3 月 19 日起至 2020 年 6 月 5 日止 三、畢業(yè)論文進(jìn)行地點 四、畢業(yè)論文的內(nèi)容要求 設(shè)計一個基于單片機(jī)的 酒精檢測系統(tǒng) :系統(tǒng) 主要由單片機(jī)主控模塊、信息采集放大模塊、語音播報模塊、鍵盤控制模塊、液晶顯示模塊和電源模塊等組成。將通過精密放大器的傳感器信號進(jìn)行 A/D 轉(zhuǎn)換 ,并把轉(zhuǎn)換后的數(shù)字量進(jìn)行一定處理 ,轉(zhuǎn)化為酒精濃度信號 PPM或 mg/L,最后送液晶顯示器顯示。 主要功能包括: 電池檢測 ,電源不足時給出顯示。 節(jié)電設(shè)計 ,一定時間內(nèi)檢測不到信號時 ,自動關(guān)機(jī)。 酒精濃度單位可互換 ,PPM與 mg/L互換。 參考文獻(xiàn): 1. 呂俊芳 , 錢政 , 袁梅 . 傳感器接口與檢測儀器電路 [M] . 北京:國防工業(yè)出版社,2020. 2. 王東鋒,王會良,董冠強(qiáng) . 單片機(jī) C語言應(yīng)用 100 例 [M] . 北京:電子工業(yè)出版社,2020. 指導(dǎo)教師 接受論文任務(wù)開始執(zhí)行日期 2020 年 3 月 19 日 學(xué)生簽名 摘要 摘 要 本文設(shè)計了一種用于公共場所具有檢測及超限報警功能的酒精濃度智能測試儀。其設(shè)計方案基于 89C52 單片機(jī), MQ3 酒精濃度傳感器等器件作為主要芯片。系統(tǒng)將傳感器輸出的 4~20mA 的標(biāo)準(zhǔn)信號通過以 AD0809 為核心的 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)和報警電路的設(shè)計方法和過程。 系統(tǒng)對于采樣地點超出規(guī)定的酒精規(guī)定濃度時通過蜂鳴器報警電路發(fā)出響聲提醒監(jiān)測人員。同時,操作人員對于具體報警點的上限值可以通過單片機(jī)編程進(jìn)行設(shè)置。 關(guān)鍵詞 : MCU;酒精濃度傳感器; A/D 轉(zhuǎn)換器 。觸發(fā)器 (74ls74) 廣東石油化工學(xué)院畢 業(yè) (設(shè)計 )論文 :基于單片機(jī)的酒精檢測系統(tǒng)設(shè)計 Abstract This article studied designs one kind to use in the public place having the examination and ultra limits reports to the police the function strength of alcohol intelligence reflectoscope design proposal based on 89C52 monolithic integrated circuit, MQ3 strength of alcohol the 4~20mA standard signal which outputs the sensor through after AD0809 as the core A/D switching circuit recuperation, carries on the data processing by way of the monolithic integrated circuit, finally demonstrates the strength of alcohol value by the article introduced the data acquisition subsystem, the data processing process as well as the data display subsystem and the alarm circuit design method and the process in regarding when sampling place overswing ethyl alcohol normal concentration sends out the sound reminder through the buzzer alarm circuit to monitor the the same time, the operator regarding reports to the police on limiting value to be possible specifically to carry on the establishment through the monolithic integrated circuit programming. Key words: MCU。Alcohol concentration sensor (MQ3)。 A / D converter。D filp flop(74ls74) 目 錄 第一章 緒論 .................................................. 2 酒精濃度檢測儀開發(fā) 背景 ....................................................................................... 2 酒精濃度檢測儀的發(fā)展 ........................................................................................... 3 酒精濃度檢測儀設(shè)計內(nèi)容 ....................................................................................... 3 本章小結(jié) ......................................................................................................................... 3 第二章 硬件器件簡介 ........................................ 4 MCU 選擇的簡介 .............................................................................................................. 4 模數(shù)轉(zhuǎn)換器的簡介 ......................................................................................................... 6 D 觸發(fā)器的簡介 ............................................................................................................ 10 液晶顯示器的簡介 ....................................................................................................... 12 傳感器的介紹 ............................................................................................................... 15 本章小結(jié) ........................................................................................................................ 16 第三章 硬件設(shè)計 ........................................... 17 最小系統(tǒng)的實現(xiàn) ........................................................................................................... 17 數(shù)據(jù)采集設(shè)計 ............................................................................................................... 19 A/D 轉(zhuǎn)換設(shè)計 ................................................................................................................ 19 按鍵設(shè)計 ....................................................................................................................... 20 LCD1602 液晶顯示設(shè)計 ................................................................................................ 21 報警設(shè)計 ........................................................................................................................ 21 電源電路設(shè)計 ............................................................................................................... 22 本章小結(jié) ........................................................................................................................ 22 第四章 軟件設(shè)計 ........................................... 23 編譯語言的選擇 ........