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

正文內(nèi)容

無線溫濕度監(jiān)測系統(tǒng)設(shè)計畢業(yè)設(shè)計-閱讀頁

2024-09-15 13:11本頁面
  

【正文】 實際溫濕度進行顯示;如果有需要,可以通過獨立鍵盤對溫濕度的報警上下限進行設(shè)置,當獲取的溫濕度超過設(shè)置的上下限時,控制繼電器導(dǎo)通,蜂鳴器響,同時點亮發(fā)光二極管;當檢測到的溫濕度在報警的上下限范圍內(nèi),則系統(tǒng)正常運行,每 。 控制顯示子系統(tǒng)程序流程圖、測量發(fā)射子系統(tǒng)程序流程圖和聲光報警程序流程圖如圖 、圖 、圖 。從 NRF24L01得到數(shù)據(jù)后,經(jīng)過處理顯示到 LCD1602上,同時還有 3個按鍵分別為設(shè)置(確定)鍵, +鍵和 —鍵,能夠分別設(shè)置溫度和濕度的上限和下限判斷當前溫濕度是否超過設(shè)置的上下限,超 過則通過給繼電器一個低電平,使繼電器導(dǎo)通,蜂鳴器響,并點亮二極管 ,流程圖如圖 。 關(guān)閉發(fā)送指示燈,并調(diào)整到接受狀態(tài),流程圖如圖。若自動應(yīng)答開啟,那么 nRF24L01在發(fā)射數(shù)據(jù)后立即進入接收模式,接收應(yīng)答信號(自動應(yīng)答接收地址應(yīng)該與接收節(jié)點地址 TX_ADDR一致)。若未收到應(yīng)答,則自動重新發(fā)射該數(shù)據(jù) (自動重發(fā)已開啟 ),若重發(fā)次數(shù) (ARC)達到上限, MAX_RT置高, TX FIFO中數(shù)據(jù)保留以便在次重發(fā) 。最后發(fā)射成功時 ,若 CE為低則 nRF24L01進入空閑模式 1。若發(fā)送堆棧中無數(shù)據(jù)且 CE 為高,則進入空閑模式 2。當接收方檢測到有效的地址和 CRC時,就將數(shù)據(jù)包存儲在 RX FIFO中,同時中斷標志位 RX_DR置高, IRQ變低,產(chǎn)生中斷,通知 MCU去取數(shù)據(jù)。接收成功時,若 CE變低,則 nRF24L01進入空閑模式 1,流程圖如圖 [9]。 圖 LCD 顯示程序 開始 屏幕初始化 待機畫面 尋找溫濕度傳感器 顯示數(shù)據(jù) 結(jié)束 N 陜西理工學院畢業(yè) 設(shè)計 第 14 頁 共 48 頁 溫濕度采集程序 開始采集當前溫濕度時,先 設(shè)置延時 , 然后 初始化 DHT11,判斷從機是否有低電平響應(yīng)信號 如不響應(yīng)則跳出,響應(yīng)則向下運行,若從機發(fā)出 80us 的低電平響應(yīng)信號,則繼續(xù)向下運行,讀取溫濕度數(shù)據(jù), 顯示溫濕度的顯示地址,經(jīng)過轉(zhuǎn)化, 傳送 出 當前的溫濕度 ,若從機發(fā)出 80us 的高電平,如發(fā)出則進入數(shù)據(jù)接收狀態(tài),流程圖如圖 。是目前世界上唯一將 電路仿真 軟件、 PCB設(shè)計軟件和虛擬模型仿真軟件三合一的設(shè)計平臺 [1]。在上面的控制顯示子系統(tǒng),在下面的是測量顯示子系統(tǒng)。 Restet管腳負責鏈接復(fù)位電路,還有兩個發(fā)射接受信號的指示燈, 3管腳鏈接蜂鳴器報警器,當單片機給一個低電壓時,蜂鳴器報警。 P0P7鏈接一個上拉電阻,負責液晶顯示屏顯示, 模塊,因為無線收發(fā)模塊 nrf24l01的工作電壓為 V,所以要加一個穩(wěn)壓電路。 圖 硬件仿真原理圖 仿真 軟件采用 Keil uVision4進行編寫和調(diào)試,其功能和界面都有很大的改變。并且其編譯器、調(diào)試工具實現(xiàn)與 ARM器件的最完美匹配。 圖 軟件調(diào)試圖 當開啟控制顯示子系統(tǒng),開始接受數(shù)據(jù),若無法接受數(shù)據(jù),接受信號指示燈常亮,如圖 所示,屏幕顯示無設(shè)備。 陜西理工學院畢業(yè) 設(shè)計 第 17 頁 共 48 頁 圖 按下設(shè)置限制按鍵,如圖 ,屏幕顯示所要設(shè)置的溫濕度限值。 陜西理工學院畢業(yè) 設(shè)計 第 18 頁 共 48 頁 本系統(tǒng)主要指標就在于所實現(xiàn)的功能是否達到了任務(wù)書要求,本系統(tǒng)通過 NRF24L01無線模塊傳送數(shù)據(jù),并集中顯示其溫度和濕度,測量范圍為 1050℃,濕度為 0100%;溫度測量誤差為 ℃,濕度測量誤差為 2%;當溫濕度超過所設(shè)置的上下限時,可實現(xiàn)聲光報警。在 30米的范圍內(nèi)傳送數(shù)據(jù)基本正常。 陜西理工學院畢業(yè) 設(shè)計 第 19 頁 共 48 頁 本設(shè)計以單片機 STC89C51為開發(fā)平臺,根據(jù) NRF24L01無線收發(fā)模塊, DHT11溫濕度傳感器及 LCD1602的特性及工作原理構(gòu)想出來的,通過軟件硬件相結(jié)合而設(shè)計成功的無線溫濕度監(jiān)控系統(tǒng)。在設(shè)計制作過程中,也遇到很多問題,在無線傳輸部分,因為仿真軟件 OPNET中沒有 NRF24L01模塊,導(dǎo)致仿真一度無法顯示結(jié)果,最后,采用的是雙機通信原理實現(xiàn)部分仿真,才實現(xiàn)仿真結(jié)果。在軟件編寫的時候,經(jīng)常無法正常工作,后來請教很多同學, 終于找到問題所在,順利解決了問題。本次設(shè)計,無線溫濕度監(jiān)控系統(tǒng)可被廣泛應(yīng)用于溫度測量或相應(yīng)的可轉(zhuǎn)換為溫度量或供電故障監(jiān)控的工業(yè)、農(nóng)業(yè)、環(huán)保、服務(wù)業(yè)、安全監(jiān)控等工程中,讓工人與惡劣的工作環(huán)境分離開,實現(xiàn)生產(chǎn)種植的智能化,科技化。設(shè)計中當溫濕度超出所設(shè)置的限值后,只出現(xiàn)聲光報警而沒有進行進一步操作,比如加一個小風扇,降低濕度什么的。這兩個月的畢業(yè)設(shè)計讓我學會的很多,覺得自己學的太少還有很多需要認真學習,學無止境,我必須更加努力學習才能適應(yīng)越來越激烈的社會競爭。感謝我的學校,給了我這次機會,讓我把大學四年來學到的東西全部付諸實踐。魏老師從選題指導(dǎo)、開題報告的撰寫、論文框架到細節(jié)修改,都給予了細致的指導(dǎo)和幫助,提出了很多寶貴的意見與建議。 魏老師以其嚴謹求實的治學態(tài)度、高度的敬業(yè)精神、兢兢業(yè)業(yè)、孜孜以求的工作作風和大膽創(chuàng)新的進取精神對我產(chǎn)生重要影響。感謝所有給我傳道授業(yè)解惑的老師,沒有這些年你們的諄諄教誨,我沒有這么大的動力和信心完成這篇論文。 大學四年,陜西理工學院給我留下了美好的回憶。 謹以此致謝最后,我要向百忙之中抽時間對本文進行審閱的各位老師表示衷心的感謝。s LM35 temperature sensor. The system is equipped with a Wave GSM modem to send and receive text message (SMS) and relay board to control electronic equipment. The experiment results show that our system works as expected. The system raises an alarm and send an alert message to administrator when the room temperature is above threshold, which is 28176。s puter work or other ITrelated tasks. Therefore, monitoring the temperature of a puter server room is a critical task to ensure that the performance of the server is not disturbed by excessive room temperature. Generally, the daily puter server room39。s air conditioning system. Nevertheless, a system that capable to warn the server administrator regarding the server room temperature will be very useful in case of there is any excessive temperature. This paper presents our design and implementation of a microcontrollerbased system for monitoring server room temperature. We use Atmel AVR ATmega8535 microcontroller and LM35 temperature sensor as the main ponents of the system. Liquid Crystal Display (LCD) and buzzer are used to display the server room temperature and as an alarm, respectively. In order to alert the server administrator, the system is equipped with a GSM modem to immediately send text message if the server room temperature is above a predefined threshold. A relay board is also connected to the microcontroller to control other electronic appliances inside the server room. The remainder of this paper is anized as follows. In Section 2, we provide a short background on microcontroller, specifically the Atmel ATmega8535 microcontroller, and also the LM35 temperature sensor. The design and implementation of the system is described in Section 3. Section 4 provides the General Terms Design, Experimentation 2 Working principle of the system Atmel ATmega8535 ATmega8535 is an 8bit AVR microcontroller. It has a 16 MHz AVR CPU, 8KB Flash, 512 Bytes EEPROM, and 512 Bytes internal SRAM. The other onchip peripherals include two 8bit timers/counters, one 16bit timer/counter, 8channel 10bit analogtodigital (ADC) and 32 programmable I/O lines, PORTA to PORTD, where each port has 8 lines. This microcontroller is available in 40pin PDIP, 44pin TQFP/MLF, and 44pin PLCC packages. Details of ATmega8535 microcontroller are described in [1]. LM35 Temperature Sensor The LM35 is a temperature sensor, whose output voltage is linearly proportional to the Celsius temperature. This sensor has linear output and low output impedance make it easy for connecting it to 陜西理工學院畢業(yè) 設(shè)計 第 23 頁 共 48 頁 the readout circuitry [2]. Three pins, +Vs GND, and Vout are defined for the sensor. When used as a basic temperature sensor (2176。 C), any change in temperature by 1176。 C. 3 Related Work Zhu and Bai [3] proposed a system for monitoring the temperature of electric cable interface in power transmission, based on Atmel AT89C51 microcontroller. The system consists of a central PC machine, host control machines, and temperature collectors. Several temperature collectors are connected to a host control machine through RS485 munication work, and the host control machine municates and exchanges data with the central PC machine using General Packet Radio Service (GPRS) connection. The temperature collector itself consists of sensor temperatures (Maxim39
點擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1