freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

實(shí)時(shí)酒精含量測(cè)試儀的設(shè)計(jì)畢業(yè)論文(已改無(wú)錯(cuò)字)

2022-07-26 13:29:51 本頁(yè)面
  

【正文】 濟(jì)等方面出發(fā),設(shè)計(jì)酒精含量測(cè)試儀的方案,并對(duì)方案進(jìn)行了優(yōu)化設(shè)計(jì);依據(jù)方案設(shè)計(jì)思想,設(shè)計(jì)了基于AT89S52單片機(jī)的硬件系統(tǒng),實(shí)現(xiàn)了聲光音報(bào)警、液晶顯示酒精濃度和環(huán)境溫度等功能。聲光報(bào)警模塊功能為當(dāng)檢測(cè)到酒精濃度超過(guò)設(shè)定的閾值時(shí),紅色LED發(fā)光,并且蜂鳴器發(fā)出聲音報(bào)警。(2)在Keil軟件開(kāi)發(fā)平臺(tái)上編寫(xiě)了整個(gè)軟件系統(tǒng),主要包括主程序、A/D轉(zhuǎn)換子程序、液晶顯示子程序、酒精濃度計(jì)算子程序等; (3)通過(guò)測(cè)試儀軟硬件的結(jié)合調(diào)試,通過(guò)實(shí)驗(yàn),在酒精濃度與測(cè)試儀輸出電壓關(guān)系曲線的基礎(chǔ)上,對(duì)測(cè)試儀進(jìn)行校準(zhǔn)、測(cè)試出數(shù)據(jù)。致 謝 在此次畢業(yè)設(shè)計(jì)過(guò)程中,衷心感謝我的指導(dǎo)教師柯躍前老師的指導(dǎo)及支持,在我的畢業(yè)設(shè)計(jì)過(guò)程中提出了寶貴意見(jiàn)并提供實(shí)驗(yàn)場(chǎng)所及調(diào)試器材。畢業(yè)論文也給予了悉心的指導(dǎo),使我的畢業(yè)設(shè)計(jì)得以完成。同時(shí),還要感謝我周?chē)耐瑢W(xué)在這次畢業(yè)中給與我的幫助,沒(méi)有你們的幫助,我不會(huì)這么順利的完成任務(wù)。最后,衷心的祝愿老師工作順利,身體健康;祝同學(xué)們前程似錦,鵬程萬(wàn)里!參考文獻(xiàn)[1] 中華人民共和國(guó)公安部安全行業(yè)標(biāo)準(zhǔn) GA3072001 呼出氣體酒精含量探測(cè)器[S]. [2] 張紅潤(rùn).傳感器應(yīng)用設(shè)計(jì)300例下[M].北京:北京航空航天大學(xué),2008.[3] 何希才.常用傳感器應(yīng)用電路的設(shè)計(jì)與實(shí)踐[M].北京:科學(xué)出版社,2007.[4] 何希才.使用傳感器接口電路實(shí)例[M].北京:中國(guó)電力出版社,2007. [5] 何立民.MCS51系列單片機(jī)應(yīng)用系統(tǒng)設(shè)計(jì)系統(tǒng)配置與接口技術(shù)[M].北京:北航出版社,1990. [6] 江思敏,姚鵬翼,胡燁. Protel 2004電路原理圖及PCB設(shè)計(jì)[M]北京:機(jī)械工業(yè)出版社, [7] 段晨東. 單片機(jī)原理及接口技術(shù)[M]北京:清華大學(xué)出版社,2008[8] (LCD)顯示驅(qū)動(dòng)原理及其應(yīng)用[J].電子制作,2005(5):51~52.[9] 譚浩強(qiáng). C程序設(shè)計(jì)(第二版)[M].北京:清華大學(xué)出版社,[10] 陳成新. 一種校準(zhǔn)呼氣酒精測(cè)試儀的新方法[J] .計(jì)量學(xué)報(bào),2006,27(2):1~3[11] 莊明科,[J].北京大學(xué)學(xué)報(bào),2007,(04):1The design of the realtime alcohol testerPhysics and Information Engineering institute Science and Technology of Electronic Information080303091 XiaoMing XieFaculty Adviser YueQian Ke Associate Professor [Abstrack] This design uses the MQ3 alcohol gas sensors and singlechip microputer device design a programmable smart realtime alcohol tester, can simulate the realization on human breath gas alcohol content in the test, and through the LCD display test data. This device can be set concentration threshold, and has the value alarm function. The system through the MQ3 sensors to collect data, and convert to voltage signal the A/D conversion to the SCM system, by singlechip microputer and peripheral circuit signal, the realtime display alcohol leel, when the threshold value when the police. In the C programming language, the idea of modular design program.[Key words] alcohol content,MQ3sensor,A/D549 conversion,SCM,LCD1602附 錄 1本附錄含便攜式酒精含量測(cè)試儀硬件電路原理圖、PCB圖,以及軟件的程序。1 電路原理圖:2 PCB圖:附 錄2程序://酒精 程序 最終版 //************************//《多字符LCD顯示》//P1接LCD1口, 4腳, 5腳, 6腳//按鍵 顯示建議//現(xiàn)象:LCD顯示屏顯示“酒精濃度及狀態(tài)”//***************************************include include typedef unsigned char uchar。typedef unsigned int uint。typedef unsigned long ulong。sbit lcdrs=P3^7。sbit lcdrw=P3^6。sbit lcde=P3^5。sbit CLK=P2^0。//sbit d0=P0^0。sbit DO=P2^4。sbit CS=P2^2。sbit j0=P2^6。sbit j1=P2^7。sbit j2=P3^2。sbit j3=P3^3。sbit j4=P3^4。 void lcdinit(void)。 //lcd初始化void lcdsendc(uchar c)。 //發(fā)送lcd指令void lcdsendd(uchar c)。 //發(fā)送lcd數(shù)據(jù)void lcdbusy(void)。 //判斷忙狀態(tài)void delay1ms(uint time)。 //lcd延時(shí)void lcd()。void ad549()。void delayadms(uint time)。void longdu()。 void secondline()。 void ajlcd2()。 int i,length1,length2,length3,length4,length5,length6。 uchar lineone1[]={Alcohol:}。//第一行顯示緩存 uchar lineone2[]={39。039。,39。.39。,0,0}。 uchar lineone3[]={mg/L}。 uchar linetwo1[]={safe }。//第二行顯示緩存 uchar linetwo2[]={warning}。 uchar linetwo3[]={danger }。 uchar linetwo4[]={error }。 uchar anjian1[]={Having fun}。 uchar anjian2[]={Have a good rest}。 uchar anjian3[]={Don39。t driving}。 uint x,y,z,addata。//寫(xiě)子函數(shù)void lcd(){ //int i,length1,length2,length3,length4。lcdinit()。lcdsendc(0x80)。 //送第一行地址longdu()。length1=strlen(lineone1)。 //取數(shù)組字符數(shù)for(i=0。ilength1。i++) //送第一行數(shù)據(jù){lcdsendd(lineone1[i])。delay1ms(100)。} length2=strlen(lineone2)。 for(i=0。ilength2。i++) {lcdsendd(lineone2[i])。delay1ms(100)。} length3=strlen(lineone3)。 for(i=0。ilength3。i++) {lcdsendd(lineone3[i])。delay1ms(100)。} secondline()。 } //===================================//lcd初始化程序//===================================void lcdinit(){delay1ms(100)。lcde=0。lcdrs=1。lcdrw=1。lcdsendc(0x01)。 //清屏delay1ms(200)。delay1ms(300)。lcdsendc(0x3c)。 //8位 2行 5X10字體delay1ms(300)。lcdsendc(0x06)。 //設(shè)ac自增,移動(dòng)顯示關(guān)閉delay1ms(200)。lcdsendc(0x0c)。 //開(kāi)啟顯示,光標(biāo)顯示,
點(diǎn)擊復(fù)制文檔內(nèi)容
職業(yè)教育相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1