【正文】
P 3 .4 /T 014P 3 .7 / R D17P 3 . 6 / W R16P 3 .5 /T 115P 2 .7 /A 1 528P 2 .0 / A 821P 2 .1 / A 922P 2 .2 /A 1 023P 2 .3 /A 1 124P 2 .4 /A 1 225P 2 .5 /A 1 326P 2 .6 /A 1 427U1A T 8 9 C5 2C31 0 u FR1 0 kC53 0 p FC63 0 p FR41 2 M H zR62 2 0R E S E T2 3 4 5 6 7 8 91R V 14 .7 kA DD CA DD BA DD AOEDo wnE O CUPOKM e m o r yRE S E T _ M A I N amp。按鍵輸入單元,是由 5 個獨立按鍵構(gòu)成,存儲單元,采用 AT24C02, AT24C02 的數(shù)據(jù)傳輸線為串行接口,由于 AT89C52 本身不帶 I2C 總線,在此用普通 I/O 口模擬 I2C 總線,實現(xiàn)對AT24C02 的讀寫控制。 獨立式按鍵 圖 就是常用的獨立式按鍵, 把電平信號直接接到 I/O 上。液晶顯示模塊是 128*64 點陣的漢字圖形型液晶顯示模塊,可顯示漢字及圖形,內(nèi)置 8192 個中文漢字( 16*16 點陣)、128 個字符( 8*16 點陣)及 64*256 點陣顯示 RAM( GDRAM)??紤]到系統(tǒng)所要求的技術(shù)參數(shù),溫度傳感器選擇線性度較好的 LM35,濕度傳感器選擇濕敏傳感器 ST1906。兩線制的串行接口和內(nèi)部電壓校準使系統(tǒng)一體化,既容易又快捷。濕敏元件主要有電阻式、電容式兩大類。熱電偶就是利用這種原理進行溫度測量的,其中,直接用作測量介質(zhì)溫度的一端叫做工作端(也稱為測量端),另一端叫做冷端(也稱為補償端);冷端與顯示儀表連接,顯示出熱電偶所產(chǎn)生的熱電動勢,通過查詢熱電偶分度表,即可得到被測介質(zhì)溫度。這些器件也稱為記憶元件,記憶元件的兩種穩(wěn)定狀態(tài)分別表示為“ 0”和“ 1”。 ( 4)、 1 個以上中斷及其 2 個定時器。 ( 3)濕度檢測范圍: 10%RH — 80%RH。 國內(nèi) 外相關研究情況 溫 、 濕度監(jiān)控系統(tǒng)主要應用于控制環(huán)境空間的溫度和濕度,從系統(tǒng)控制的角度來看,屬于純滯后控制。系統(tǒng)選用 AT89C52 單片機為控制器,模擬溫度傳感器 LM3濕度傳感器 ST1906 采集倉庫溫度和濕度,傳感器采集的模擬電壓信號通過 8 位模數(shù)轉(zhuǎn)換器 ADC0809 進行轉(zhuǎn)換后,送給單片機處理 顯示。 關鍵詞 : AT89C52 單片機 溫度 濕度 檢測 II Abstract Moistureproof, mouldproof, anticorrosion, explosionproof is the main content of the daily work of warehouse, including humidity and temperature are the important indicators of quality of warehouse management, it directly affects the stockpile of life and working reliability. This system is by MCU control module, sensor detection module, AD conversion module, memory module, keyboard input module, the output display module, a total of six units, and can implement warehouse multipoint temperature and humidity detection realtime display, automatic storage, storage, data playback test value display function. System with AT89C52 singlechip puter as controller, the simulation LM35 temperature sensor, humidity sensor ST 1906 collection warehouse temperature and humidity, sensor acquisition of analog voltage signal through 8bit analogtodigital converter ADC0809 conversion, after sent to MCU processing display. System set up five buttons, storage, playback operation, the test values through 1602 LCD display. The whole system simple and pact structure, the function clear, through system simulation test, can realize the purpose of the multipoint temperature and humidity detection. Keywords : AT89C52 MCU Temperature Humidity Testing III 目 錄 第 1 章 緒論 ...........................................................................................................................1 選題背景 ..................................................................................................................1 國內(nèi)外相關研究情況 ................................................................................................1 設計功能及系統(tǒng)要求 ................................................................................................1 系統(tǒng)功能要求 ................................................................................................1 主要技術(shù)參數(shù) ................................................................................................2 第 2 章 系統(tǒng)方案的選擇與論證 ...............................................................................................3 單片機控制器 ...........................................................................................................3 單片機簡介 ....................................................................................................3 芯片選型 .......................................................................................................3 模數(shù)轉(zhuǎn)換模塊 ...........................................................................................................3 存儲單元 ..................................................................................................................4 存儲器簡介 ....................................................................................................4 存儲器選型 ....................................................................................................4 溫濕度傳感器簡介 ....................................................................................................5 溫度傳感器 ....................................................................................................5 濕度傳感器 ....................................................................................................5 溫濕度傳感器 SHT11 .....................................................................................6 傳感器方案選擇 .............................................................................................6 顯示部分 ..................................................................................................................6 常用顯示器件介紹 .........................................................................................6 顯示方案選擇 ................................................................................................7 輸入方案的確立 .......................................................................................................8 獨立式按鍵 ....................................................................................................8 矩陣鍵盤 .......................................................................................................8 鍵盤輸入方案的選擇 ......................................................................................9 第 3 章 系統(tǒng)硬件電路設計 .................................................................................................... 10 系統(tǒng)設計框圖 ......................................................................................................... 10 單片機控制最小系統(tǒng)的設計 .................................................................................... 12 溫、濕度傳感器模塊的設計 .......................................................