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

正文內(nèi)容

畢業(yè)設(shè)計-基于單片機的溫濕度計的設(shè)計-wenkub

2022-12-12 17:19:22 本頁面
 

【正文】 1。 keyTH1 = 1。 } //定時器 0 初始化 void Timer0_Init() { ET0 = 1。 //定時器 賦予初值 TR0 = 1。 if (RHCounter = 1000) { FlagStartRH = 1。 //地址低位對應(yīng)低 8 位,高位對應(yīng)高 8 位 wrteeprom(0, *pSave)。 //存溫度上限值 TH 高 8 位 DELAY(500)。 //存濕度上限值 RH 低 8 位 DELAY(500)。 } //載入設(shè)定值、 void Load_Setting() { pSave = (char *)amp。 pSave = (char *)amp。 if ((TH99)||(TH0)) TH = 40。 L1602_char(1, 16, TH%10+48)。 L1602_char(1, 16, TH%10+48)。 L1602_char(2, 16, HH%10+48)。 L1602_char(2, 16, HH%10+48)。 } (5) main()函數(shù) void main() { U16 i, j, testnum。 EA = 1。 L1602_string(2,1, Control System! )。j1000。 L1602_string(1,1,Tem: C TH:)。 L1602_char(1, 16, TH%10+48)。 testnum = RH()。 temperature = U8T_data_H。 else Led_jiangwen = 1。amp。amp。amp。amp。 FlagKeyPress = 0。 else keyTH2 = 1。 else keyHH2 = 1。安裝完成后,插入 USB 下載線后 ,在 [開始 ][控制面板 ][打印機和其他硬件 ][設(shè)備管理器 ],在“端口”分支下有( Prolific USBtoSerial Comm Port(COMX)。 湖南人文科技學(xué)院畢業(yè)設(shè)計 19 圖 11 下載軟件 正確選擇 MCU 類型, COM 口(與剛才安裝的 COM 號一致), 最高波特率和最低波特率都選 2400bps 或者 1200bps (下載線內(nèi) PL2303 芯片所限,沒辦法?。⒋蜷_正確的 .hex 數(shù)據(jù)文件。 結(jié) 論 本次我的畢業(yè)設(shè)計的題目是基于單片機的溫濕度計,要求是能夠時時檢測當(dāng)前溫度和濕度,當(dāng)濕度到某一數(shù)值時啟動加濕功能。其次在傳感器芯片內(nèi)裝載的校準(zhǔn)數(shù)據(jù)保證了每一只濕度傳感器都具有相同的功能,即具有 100%的互換性。 我深刻認識到 僅僅了解書本上的知識是遠遠不夠的,只有結(jié)合自己的實際情況運用于實踐,這樣才能更深地了解和學(xué)習(xí)好知識 ,同時 我們要在工作中不斷的積累經(jīng)驗,學(xué)會用自己的知識解決實際問題。通過本次設(shè)計我積攢了很多經(jīng)驗并收獲了很多知識,真是受益匪淺。從開題報告開始,他在忙碌的教學(xué)工作中擠出時間審查、修改我的論文。 最后真誠期望每一個已經(jīng)出現(xiàn)在或是已經(jīng)出現(xiàn)在我不同人生階段卻是同一 22 條 生活軌跡的師長、親友、同學(xué)們,能夠擁有美好幸福的生活狀態(tài)、以及一直熱忱于擁有滿意工作的心,同時也是對自己未來生活的期冀。 51LPC 系列單片機采用以下三種方法降低功耗: ( 1)使系統(tǒng)進入空閑模式,在空閑模式下,只有外圍器件在工作,任意的復(fù)位及中斷均可結(jié)束空閑模式。 Flash MPU 具有以下優(yōu)點:與多次可編程的窗口式 EPROM 相比, Flash MPU的成本要低得多;在系統(tǒng)編程能力以及產(chǎn)品生產(chǎn)方面提供了靈活性,因為 Flash MPU 可在編程后面再次以新代碼重新編程;可減少已編程器件的報廢和庫存;有助于生產(chǎn)廠商縮短設(shè)計周期,使終端用戶產(chǎn)品更具有競爭力。 不斷加強抗干擾能力是單片機進一步發(fā)展的必然趨勢。日本 TOSHBA公司開發(fā)了從 4 位到 64 位的多系列單片機,日立公司也有從 4 位到 32 位的單片機,目前還沒有哪個廠家生產(chǎn)的單片機比東芝公司的種類多。 特征 : ( 1) 4000 字節(jié)在系統(tǒng)可編程 ( ISP) 的快閃記憶體 耐力 : 1000 寫 /擦除周期 ; ( 2) 至 的經(jīng)營范圍 ; ( 3) 完全靜態(tài)操作 : 0Hz到 33MHz; ( 4) 三級程 序存儲器鎖定 ; ( 5) 1288 位內(nèi)部 RAM; ( 6) 32 個可編程 I/O 線 ; ( 7) 兩個 16 位定時器 /計數(shù)器 ; ( 8) 6個中斷源 ; ( 9) 全雙工異步串行通道 ; ( 10) 低功耗空閑和斷電狀態(tài)下 ; ( 11) 中斷恢復(fù)掉電模式 ; ( 12) 看門狗定時器 ; ( 13) 雙數(shù)據(jù)指針 ; ( 14) 斷電檢舉 ; ( 15) 快速編程時間 ; ( 16) 靈活的 ISP 編程(字節(jié)和頁模式) ; 描述 : AT89S51 是一個低功耗 , 高性能 CMOS8 位微控制器與 4000 字節(jié)的系統(tǒng)內(nèi)可編程閃存存儲器。 在AT89S51 提供以下標(biāo)準(zhǔn)功能: 4000 字節(jié)的 Flash, 128 字節(jié)的內(nèi)存 , 32 個 I/O線,看門狗定時器,兩個數(shù)據(jù)指針,兩個 16位定時器 /計數(shù)器 , 5 向量兩級中斷結(jié)構(gòu),全雙工串行接口,片上振 蕩器和時鐘電路。 26 附錄 2 英文資料 micro More processors personality development trends: 1. Advanced structure in order to achieve high performance in the last period of time, singlechip instruction speed 10MIPS has been following this industry for applications in the field of control of the single chip is enough, but when a single Machine used in the field of munications and DSP as a highspeed puting, encoding or decoding, as a result of instructions will be run at lack of restrictions on 湖南人文科技學(xué)院畢業(yè)設(shè)計 27 singlechip and application of the case and therefore increase the speed of singlechip instruction has bee an urgent need to be addressed. 2. 80C51 to further reduce power consumption based on the Philips lowpower, lowcost system microcontroller 51LPC Series is the industry39。 can reduce the device39。 with the use of a programmer。s designer of choice for control of one of the chips. 7. AT89S51 Features ( 1) 4K Bytes of InSystem Programmable (ISP) Flash Memory–Endurance: 1000 Write/Erase Cycles; ( 2) to Operating Range; ( 3) Fully Static Operation: 0 Hz to 33 MHz; ( 4) Threelevel Program Memory Lock; ( 5) 128 x 8bit Internal RAM; ( 6) 32 Programmable I/O Lines; ( 7) Two 16bit Timer/Counters; ( 8) Six Interrupt Sources; ( 9) Full Duplex UART Serial Channel; ( 10) Lowpower Idle and Powerdown Modes; ( 11) Interrupt Recovery from Powerdown Mode; ( 12) Watchdog Timer; ( 13) Dual Data Pointer; ( 14) Poweroff Flag; ( 15) Fast Programming Time; ( 16) Flexible ISP Programming (Byte and Page Mode); 8. AT89S51 Description The AT89S51 is a lowpower, highperformance CMOS 8bit microcontroller with 4Kbytes of InSystem Programmable Flash memory. The device is 湖南人文科技學(xué)院畢業(yè)設(shè)計 29 manufactured usingAtmel’s highdensity nonvolatile memory technology and is patible with the industrystandard 80C51 instruction set and pinout. The onchip Flash allows the programmemory to be reprogrammed insystem or by a conventional nonvolatile memory programmer. By bining a versatile 8bit CPU with InSystem Programmable Flash on a monolithic chip, the Atmel AT89S51 is a powerful microcontroller which provides ahighlyflexible and costeffective solution to many embedded control AT89S51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, two 16bit timer/counters, a fivevector twolevel interrupt architecture, a full duplex serial port, onchip oscillator, andclock circuitry. In addition, the AT89S51 is designed with static logic for operationdown to zero frequency and supports two software selectable power saving Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Powerdown mode saves the RAM contents but freezes the oscillator, disabling all other chip functions until the next external nterrupt or hardware reset. 30 附錄 3 電路原理圖 湖南人文科技學(xué)院畢業(yè)設(shè)計 31 附錄 4 軟件程序 描述: LCD1602 顯示, SHT11 采集溫濕度,濕度超過限值,啟動加濕功能。 typedef bit BOOL。 sbit rw=P2?1。 BYTE dis3[16]。 // //按鍵相關(guān)控制信號及變量 // sbit K1 =P1?0。//確定鍵 // //SHT11 相關(guān)控制信號及變量 // enum{TEMP,HUMI}。 uchar ack_bit。i++) { _nop_()。 } }
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1