【正文】
、 顯示器 目前,市場上的顯 示模塊種類繁多,功能各異,常見的有以下幾種: ① 帶字庫的 LCD12864 液晶顯示屏。 V/F 器件的作用是將輸入電壓的幅值轉(zhuǎn)換成頻率與輸入電壓幅值成線性關(guān)系的脈沖序列,雖然 V/F 器件本身還不能算做 量化器,但加上單片機定時器與計數(shù)器處理以后也可以實現(xiàn) A/D 轉(zhuǎn)換功能。在 0℃~85℃ 的溫度下誤差不超過 %,溫度補償是 40℃ ~125℃ 【 10】 。 ② 測量精度 測量結(jié)果(電流或電壓)的精度。此芯片是一種低功耗、高性能 CMOS 8 位微處理器,具有 8K 在系統(tǒng)可編程 Flash 存 儲器、 512 字節(jié)RAM、 32 位 I/O 口、看門狗定時器、內(nèi)置 4KB EEPROM、 MAX810 復(fù)位電路等 【 8】 。 氣 壓 傳 感芯 片V / F 轉(zhuǎn) 換 芯片單 片 機L C D 顯 示 屏電源電路 圖 系統(tǒng)原理框圖 第三節(jié) 元件選取 一、 單片機的選型 20 世紀 80 年代以來,單片機的反戰(zhàn)非常迅速。本設(shè)計充分利用了微機械加工技術(shù)和微電子技術(shù)的發(fā)展成果。 重慶郵電大學(xué)本科畢業(yè)設(shè)計(論文) 3 第一章 系統(tǒng)總體方案的設(shè)計 第一節(jié) 整體設(shè)計思想及系統(tǒng)原理 本設(shè)計主要的功能是整個電路能夠完成測量并顯示出被測環(huán)境的絕對氣壓值。在汽車的行駛中,如果胎壓過高則會使得輪胎及輪胎圈容易受到不平地面的沖擊而變形,甚至?xí)?dǎo)致爆胎;胎壓過低會導(dǎo)致輪胎不正常磨損、輪胎內(nèi)部損傷和輪胎溫度升高從而導(dǎo)致爆胎 【 3】 。因此某地區(qū)的氣壓高,該地區(qū)的空氣就在水平方向上向周圍地區(qū)流出。 在工業(yè)領(lǐng)域,氣壓傳動控制是工業(yè)中經(jīng)常用到的一種控制方式,它采用氣壓完成傳遞能量的過程。著名的馬德堡半球?qū)嶒炞C明了它的存在。 編 號: 審定成績: 重慶郵電大學(xué) 畢業(yè)設(shè)計(論文) 設(shè)計(論文)題目: 基于單片機的氣壓傳感器研制 學(xué) 院 名 稱 : 通信與信息工程學(xué)院 學(xué) 生 姓 名 : 專 業(yè) : 電子信息工程 班 級 : 學(xué) 號 : 指 導(dǎo) 教 師 : 答辯組 負責(zé) 人 : 填表時間: 20xx 年 6 月 重慶郵電大學(xué)教務(wù)處制重慶郵電大學(xué)本科畢業(yè)設(shè)計(論文) II 摘 要 人們對氣壓的認識也是人類科學(xué)研究的一大進步,人們從很久以前就在研究大氣,并且有人認為有大氣壓值,直到馬德堡半球?qū)嶒?,真正證明了大氣壓的存在。 【關(guān)鍵詞】 單片機 氣壓傳感芯片 液晶顯示屏 V/F 轉(zhuǎn)換芯片 重慶郵電大學(xué)本科畢業(yè)設(shè)計(論文) III ABSTRACT Air pressure is a big step forward for the Human Sciences Research, human being have a long history of study air pressure. The Magdeburg hemispheres experimental proofed the existence of the air pressure. The application of air pressure is relatively early, such as the steam engine is a notable example of human being application of air pressure. Barometer use in real life is not very obvious, most of the people in their lives with little or no contact with barometer. Actually, barometer is an indispensable equipment in certain areas of work, such as the field of national defense, industrial fields, the medical field and the field of meteorology. This design based on microcontroller STC89C52 and pressure sensor chip MPX4115A, and introduced how its software and hardware works. We can get analog output voltage which corresponds to the measured pressure, by pressure sensor chip MPX4115A. This voltage go through the V / F converter circuit unit which based on LM331, output digital pulse signal ,then input the digital pulse signal to the microcontroller STC89C52 counter. Microcontroller STC89C52 within a unit time obtains the signal pulse values and calculates the frequency of the pulse signal, Calculate the actual pressure value, according to the linear relationship between the voltage and frequency, then display it by LCD1062. 【 Key words】 Microcontroller Air pressure sensor chip LCD1602 V / F converter chip 重慶郵電大學(xué)本科畢業(yè)設(shè)計(論文) IV 目 錄 前 言 ............................................................................................................................ 1 第一章 系統(tǒng)總體方案的設(shè)計 .................................................................................... 3 第一節(jié) 整體設(shè)計思想及系統(tǒng)原理 ........................................................................ 3 第二節(jié) 實現(xiàn)方案 .................................................................................................... 3 第三節(jié) 元件選取 .................................................................................................... 4 一、 單片機的選型 .............................................................................................. 4 二、 氣壓傳感器 .................................................................................................. 5 三、 V/F 轉(zhuǎn)換芯片 .............................................................................................. 6 四、 顯示器 .......................................................................................................... 6 五、 三端穩(wěn)壓器 .................................................................................................. 7 第四節(jié) 本章小結(jié) .................................................................................................... 7 第二章 硬件系統(tǒng)的設(shè)計與實現(xiàn) ................................................................................ 8 第一節(jié) 單片機電路 ................................................................................................ 8 一、 單片機概述 .................................................................................................. 8 二、 單片機片內(nèi)結(jié)構(gòu)、引腳及封裝 .................................................................. 8 三、 89C52 單片機引腳功能 ............................................................................ 10 四、 單片機的復(fù)位電路 .................................................................................... 12 五、 單片機的時鐘電路 .................................................................................... 12 六、 單片機電路圖 ............................................................................................ 13 第二節(jié) 氣壓檢測電路 .......................................................................................... 14 一、 氣壓傳感器 MPX4115A 的介紹 .............................................................. 14 二、 MPX4115 的引腳及功能 .......................................................................... 14 三、 電壓 /頻率轉(zhuǎn)換器 ...................................................................................... 15 四、 氣壓檢測部分電路圖 ................................................................................ 15 第三節(jié) 液晶顯示電路 .......................................................................................... 16 一、 液晶顯示屏介紹 ........................................................................................ 16 二、 LCD1602 介紹 ........................................................................................... 17 三、 LCD1602 的控制 ............................................