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

正文內(nèi)容

基于單片機的溫度智能控制系統(tǒng)的軟件設(shè)計(存儲版)

2025-08-19 17:53上一頁面

下一頁面
  

【正文】 OneChar(14,1,temp2/10+0x30)。 DisplayOneChar(6,0,minite/10+0x30)。 //液晶上顯示不控溫的標(biāo)志 DisplayOneChar(15,0,0x46)。 DisplayOneChar(9,0,seconde/10+0x30)。 //讀 /寫選擇端 sbit LCM_EN=P2^2。OUT=0。 TempL=tempamp。 //個位溫度 ,帶小數(shù)點 str[3]=TempL。溫度高字節(jié)高 5 位是用來保存溫度的正負,高字節(jié)低 3 位和低字節(jié)來保存溫度值。0x0f。 //跳過讀序號列號的操作 WriteOneChar(0xBE)。 unsigned char b=0。 delay_LCM(11)。} } } else{outflag=0。break。 //正常工作顯示 大于設(shè)定值? 開始 初始化 DS18B20 溫度檢測 LCD1602 顯示 電機帶動風(fēng)扇轉(zhuǎn)動 13 case 1:displayfun2()。 //時鐘定時器 0 初始化 Init_DS18B20( ) 。 //初始化 p1 口,全設(shè)為 1 x24c02_init()。通過 LCD1602 液晶顯示屏顯示當(dāng)前溫度,當(dāng)檢測到溫度高于系統(tǒng)設(shè)定溫度值,馬達將帶動風(fēng)扇的轉(zhuǎn)動,實現(xiàn)自動控制降大棚里的溫度。定子在空間中靜止不動,轉(zhuǎn)子則可繞軸轉(zhuǎn)動,由軸承支撐。 電流進入線圈產(chǎn)生磁場,利用 電流的磁效應(yīng) ,使電磁鐵在固定的磁鐵內(nèi)連續(xù)轉(zhuǎn)動的裝臵,可以將電能轉(zhuǎn)換成力學(xué)能。 指令 8: DDRAM地址設(shè)臵。 指令 2:光標(biāo)復(fù)位,光標(biāo)返回到地址 00H。當(dāng) RS 和 R/W 共同為低電平時可以寫入指令或者顯示地址,當(dāng) RS 為低電平 R/W 為高電平時可以讀忙信號,當(dāng)RS 為高電平 R/W 為低電平時可以寫入數(shù)據(jù)。系統(tǒng)對 DS18B20的各種操作必須按協(xié)議進行。 DQ 為數(shù)據(jù)輸入 /輸出引腳??删幊痰姆直媛? 為 9~ 12位,對應(yīng)的可分辨溫度分別為 ℃、 ℃、 ℃和 ℃,可實現(xiàn)高精度測溫。被測溫度用符號擴展的 16位數(shù)字量方式串行輸出;其工作電源既可以在遠端引入,也可以采用寄生電源方式產(chǎn)生;多個 DS18B20可以并聯(lián)到 3 根或 2 根線上, CPU只需一根端口線就能與諸多 DS18B20 通信,占用微處理器的端口較少,可節(jié)省大量的引線和邏輯電路。其中,兩個外部中斷源;兩個片內(nèi)定時器 /計數(shù)器的溢出中斷源 TE0和 TF1;一個片內(nèi)串行口接受或發(fā)送中斷源 RI 或 TI。定時器 T0的核心是一個加 1計數(shù)器,它由 8 位寄存器 TH0和 TH1 組成,可被變成為 13 位、 16 位、兩個分開的 8 位等不同的結(jié)構(gòu)。這似的能在 6K地址空間內(nèi)任意尋址,但沒有指令使程序能控制從程序存儲器空間轉(zhuǎn)移到數(shù)據(jù)存儲空間。 AT89C52 的工作原理 CPU 的結(jié)構(gòu) CPU 是單片機內(nèi)部的核心部分,是單片機的指揮和執(zhí)行機構(gòu),它決定了單片機的主要功能特性。組成圖如圖 21。因此如何在消化吸收國外先進技術(shù)的基礎(chǔ)上,結(jié)合我國的不同地區(qū)、不同氣候的特點,進行再創(chuàng)造,開發(fā)出適合國情、面向整套溫室栽培環(huán)境、價格低廉的微機或單片機控制系統(tǒng),是我國當(dāng)今溫室生產(chǎn)與控制中一項亟待解決的問題 。 自 20世紀 70年代以來,我國溫室生產(chǎn)已經(jīng)有了很大的進步,但這些溫室都是在充分利用高產(chǎn)栽培技術(shù)和屏障技術(shù)的基礎(chǔ)上發(fā)展起來的,其經(jīng)濟效益很難再有大的提高。日本是世界上果樹設(shè)施栽培面積最大、技術(shù)最先進的國家,也 是世界上最先采用工業(yè)成套設(shè)備從事魚類養(yǎng)殖的國家之一,其先進的溫室配套設(shè)施和綜合環(huán)境調(diào)控技術(shù)居世界先進行列,通過計算機可將溫度、濕度、二氧化碳濃度、肥料等控制在最適合植物生長發(fā)育的水平上,產(chǎn)后清選、分級、包裝、預(yù)冷等作業(yè)自動化或半自動化程度較高。這在給各國帶來了巨大的經(jīng)濟效益的同時,也極大地推動了各國農(nóng)業(yè)的現(xiàn)代化進程。近些年來,研究現(xiàn)代化溫室技術(shù)已經(jīng)成為我國農(nóng)業(yè)工程技術(shù)人員的一個重要課題。 【關(guān)鍵詞】溫 度控制 軟件設(shè)計 溫度采集 降溫處理 Ⅱ Abstract Subject is intelligent temperature control system design based on single chip microputer, this design specific to temperature automatic control o f the vegetable growth of vegetables and temperature are c losely related, for vegetable shed, one of the most important management f actor is the temperature control. Temperature not appropriate, then stop th e vegetable growth or growth slowed, causing the immeasurable loss. There fore, in modern management of vegetable shed, usually with temperature a utomatic control system, to control the vegetables canopy temperature, to adapt to the requirements of production. Single chip microputer with small size, high level of integration, stable performance, easy to control function expansion, low power consum ption, price cheap and so on, so the single chip microputer wide prosp ect of design is through the singlechip microputer control, to realize the canopy temperature vegetables for automatic control. System based on single chip microputer AT89C52, through the digital and anal og temperature in acquisition and detection, through the screen shows the current temperature. When the collected temperature higher than system set ting, motors will drive the rotation of the fan to reduce the temperature in greenhouses, and realize the automatic control the temperature of the shelte r. Train of thought to design the overall circuit principle diagram, carries on the software design. This design implements the overall control of the greenhouse temperatu re, there are advantages but also have shortings, has certain extensibilit y. 【 Key words】 Temperature control software design temperature data collection Cooling process Ⅲ 目 錄 摘要 ............................................................................................................................... Ⅰ Abstract .......................................................................................................................... Ⅱ 第 1 章 緒 論 ............................................................................................................... 1 課題研究背景和意義 ........................................................................................... 1 國內(nèi)外溫度控制系統(tǒng)的發(fā)展 狀況 .......................................................................... 1 國外溫度控制系統(tǒng)的發(fā)展?fàn)顩r .................................................................... 1 國內(nèi)溫度控制系統(tǒng)的發(fā)展?fàn)顩r .................................................................... 2 課題研究的主 要內(nèi)容 ........................................................................................... 3 第 2 章 系統(tǒng)理論基礎(chǔ)及構(gòu)建 ............................................................................................ 4 AT89C52 的工作原理 ............................................................................................ 4 CPU 的結(jié)構(gòu) ................................................................................................ 4 CPU 的 I/O 口結(jié)構(gòu) ..................................................................................... 4 程序和數(shù)據(jù)存儲器 ..................................................................................... 5 定時器 .................
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1