【正文】
單位代碼: 005 分 類 號: TP29 延安大學(xué)西安創(chuàng)新學(xué)院 本科畢業(yè)論文(設(shè)計) 題 目 : 盆花自動澆水系統(tǒng)的設(shè)計 專 業(yè) : 電子信息工程 姓 名: 胡海瑞 學(xué) 號: 0903024118 指導(dǎo)教師: 楊延寧 畢業(yè)時間: 二零一三年六月 I 盆花自動澆水系統(tǒng)的設(shè)計 摘要 : 設(shè)計了一款 智能澆水系統(tǒng),以實現(xiàn)花卉的自動澆水。本次設(shè)計的盆花自動澆水系統(tǒng)分為兩大模塊:空氣溫濕度的檢測與控制和實時時間的顯示與定時控制。其中空氣溫濕度的檢測與控制部分又分為空氣溫濕度的檢測和顯示、自動澆水系統(tǒng)??諝鉁貪穸鹊臋z測和顯示以溫濕度傳感器 DHT11為感應(yīng)部件,將檢測到的空氣溫濕度值送入 STC89C51單片機,再將其數(shù)值輸出到 LCD液晶顯示屏上顯示。并通過單片機程序設(shè)定澆水的上下限值與 DHT11送入單片機的空氣濕度值相比較,當(dāng)?shù)陀谙孪拗禃r,單片機輸出一個信號控制電磁閥打開,開始澆水,高于上限值時由單片機輸出一個信號控制電磁閥關(guān)閉,停止?jié)菜?實時時間的顯示與定時控制 是由單片機從時鐘芯片 DS1302讀入時間與每天的實時時間,通過程序設(shè)定的定時澆水的時間與澆水的量進行澆水。 關(guān)鍵詞: STC89C51 單片機; DHT11 溫濕度傳感器; LCD; DS1302 時鐘芯 II Design of potted flowers automatic watering system Abstract: The design of an intelligent watering system, to realize the automatic watering flower. Potted plant automatic watering system of this design is divided into two modules: the air temperature and humidity detection and control and realtime display and timing control. The detection and control of air temperature and humidity is divided again for detection of air temperature and humidity and display, automatic watering system. Detection of air temperature and humidity and display of temperature and humidity sensor DHT11 as the sensing ponent, air temperature and humidity will detect the value into the STC89C51 microcontroller, and then display the numerical output to LCD LCD screen. And through the MCU program set the upper and lower limits of water pared to air humidity and DHT11 into the single value, when less than the lower limit, the SCM output a signal to control the electromagic valve is opened, the beginning of watering, higher than the limit value by SCM outputs a signal to control the electromagic valve is closed, stop watering. The real time display and timing control by the SCM from the realtime clock chip DS1302 read and time of day, time and watering watering them through the program setting the amount of watering. Keywords: STC89C51。 DHT11 temperature and humidity sensor。 LCD。 DS1302 clock core III 目 錄 ..................................................................................................................................................... 1 選題的目的與意義 .................................................................................................................. 1 自動澆花器目前的發(fā)展現(xiàn)狀 .................................................................................................. 1 設(shè)計方案 .................................................................................................................................. 1 ................................................................................................................................. 3 應(yīng)用場所 ................................................................................................................................. 3 系統(tǒng)預(yù)期功能 ......................................................................................................................... 3 系統(tǒng)總體設(shè)計方案 ................................................................................................................. 3 主題分類 ...................................................................................................................... 3 ......................................................................................................................... 3 ................................................................................................................................. 5 STC89C51 單片機 .................................................................................................................... 5 STC89C51 的內(nèi)部結(jié)構(gòu) ................................................................................................ 5 STC89C51 單片機引腳功能 ........................................................................................ 6 單片機存儲器結(jié)構(gòu) ...................................................................................................... 6 DHT11 數(shù)字溫濕度傳感器 ...................................................................................................... 7 DHT11 的性能指標(biāo)和特性 .......................................................................................... 8 DHT11 的引腳 說明 ...................................................................................................... 8 DS1320 時鐘芯片 .................................................................................................................... 8 DS1302 的性能指標(biāo)和特性 ........................................................................................ 8 DS1302 的引腳說明 .................................................................................................... 8 DS1302 的控制字節(jié) .................................................................................................... 9 LCD1602 液晶顯示屏 .............................................................................................................. 9 LCD 液晶顯示器簡介 .................................................................................................. 9 液晶顯示的主要技術(shù)參數(shù) ......................................................................................... 9 LCD1602 的引腳說明 ................................................................................................ 10 ....................................................................................................................... 12 空氣式溫度的采集于顯示 .................................................................................................... 12 IV 定時器部分 .........................................................................................................................