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

正文內(nèi)容

畢業(yè)設(shè)計(jì)-基于單片機(jī)的恒溫箱控制系統(tǒng)-文庫吧資料

2024-12-09 01:33本頁面
  

【正文】 DQ。 //精確延時(shí) 大于 480us DQ = 1。 //稍做延時(shí) DQ = 0。 } /*******************************************************************/ /* */ /*初始化 ds1820 */ /* */ /*******************************************************************/ Init_DS18B20(void) { DQ = 1。 //自定義字符寫入 CGRAM } /*******************************************************************/ /* */ /* 設(shè)定顯示位置 */ /* */ /*******************************************************************/ void lcd_pos(uchar pos) { lcd_wcmd(pos | 0x80)。 //清除 LCD 的顯示內(nèi)容 delay1(5)。 //移動(dòng)光標(biāo) delay1(5)。 //顯示開,關(guān) 光標(biāo) delay1(5)。 delay1(5)。 delay1(5)。 //16*2 顯示, 5*7 點(diǎn)陣, 8 位數(shù)據(jù) delay1(5)。 lcd_wcmd(0x01)。 i++) 19 lcd_wdat(mytab2[i])。 for (i = 0。 i 8。 lcd_wcmd(0x40)。 LCD_EN = 0。 LCD_EN = 1。 P1 = dat。 LCD_RW = 0。 */ /* */ /*******************************************************************/ void lcd_wdat(uchar dat) { while(lcd_busy())。 LCD_EN = 0。 LCD_EN = 1。 P1 = cmd。 _nop_()。 LCD_RW = 0。 */ /* */ /*******************************************************************/ 18 void lcd_wcmd(uchar cmd) { while(lcd_busy())。 return(result)。0x80)。 delayNOP()。 LCD_RW = 1。 */ /* */ /******************************************************************/ bit lcd_busy() { bit result。 } } } /******************************************************************/ /* */ /*檢查 LCD 忙狀態(tài) */ /*lcd_busy 為 1 時(shí),忙,等待。 _nop_()。 y++) { _nop_()。 while(ms) { for(y = 0。 void beep()。 void set_temp_alarm()。 17 void Disp_Temp_alarm(uchar addr,uchar num)。 unsigned char Temp,temp_p,timecount,count。_nop_()。_nop_()。//小喇叭 define delayNOP()。 unsigned char code mytab1[8] = {0x0C,0x12,0x12,0x0C,0x00,0x00,0x00,0x00}。 //溫度報(bào)警值顯示 //unsigned char code ditab[16] = {0x00,0x01,0x01,0x02,0x03,0x03,0x04,0x04, // 0x05,0x06,0x06,0x07,0x08,0x08,0x09,0x09}。 unsigned char data display[5] = {0x00,0x00,0x00,0x00,0x00}。 unsigned char data temp_data[2] = {0x00,0x00}。 uchar code cdis5[ ] = { TEMP: }。 uchar code cdis3[ ] = { DS18B20 ERR0R }。 uchar code cdis1[ ] = { READ_ROMCORD }。 sbit K3 = P2^2。 sbit K1 = P2^0。 sbit LCD_RW = P3^4。 bit pare_th,pare_tl,alarm_on_off=0,temp_th,temp_tl。 sbit jdq2=P2^6。 //定義 DS18B20 端口 DQ sbit BEEP=P3^6 。 Semiconductor refrigeration slices.。 12 參考文獻(xiàn): [1]趙健 .基于 DS18B20溫度傳感器溫室測(cè)溫系統(tǒng)設(shè)計(jì) [J].安徽農(nóng)業(yè)科學(xué), 2021年 25期 . [2]徐德勝 .半導(dǎo)體制冷與應(yīng)用技術(shù) [M].上海:上海交通大學(xué)出版社, 1999. [3]王立文,邵曉根,席建中 ,等 .LCD1602在 CO2增施控制器中的應(yīng)用 [J].安徽農(nóng)業(yè)科學(xué), 2021, 36( 33) . [4]張毅剛 .單片機(jī)原理及應(yīng)用 [M].北京:高等教育出版社 ,2021. [5]李鋼,趙彥峰 .1Wire總線溫度傳感器 DS18B20原理及應(yīng)用 [J].現(xiàn)代電子技術(shù), 2021, 28( 21) . [6]半導(dǎo)體制冷片 .百度百科 . [7]于志贛,劉國平,張旭斌 .液晶 LCD1602模塊的應(yīng)用 [J].機(jī)電技術(shù), 2021, 32( 3) . [8]繼電器 .百度百科 . [9]半導(dǎo)體制冷片 .百度百科 . 13 The constant temperature box based on singlechip microputer control system Colloge of Physics and Information Engineering Electronic information science and technology major 070303052 ZHANG Xiaofen LIN Shunda lecturer Abstract: Thermostat control system is a system that gathers heat,and then delivers the heat to the system to pare the temperature with the set temperature in the system,from which to decide whether to heat up or refrigerate the design aims to utilize singlechip microputer to control the whole can be set by pressing the button, and the temperature of the air in the thermostat is gathered and reflected to the singlechip microputer STC89C51 by temperature sensor DS18B20 to make a parison between the sensed temperature and the set temperature and then temperature adjustment will be made. This design applys semiconductor refrigeration chip to heat up or refrigerate the singlechip microputer STC89C51 will give orders to control the state of the two relays,through which the polarity of electric current will be changed and the operation of temperature adjustment of the semiconductor can be ,there is a fan in the semiconductor refrigeration chip,therefore,when the semiconductor do the job of refrigeration to the inside side of the incubator, the pan will disperse the heat heated in the outside side in case of affecting the refrigeration results. Key words:STC89C51。 致謝 在本次的畢業(yè)設(shè)計(jì)中,林順達(dá)老師給了我很大的支持,在各方面都給予了我寶貴的意見,在整個(gè)畢業(yè)設(shè)計(jì)過程中給予我關(guān)心,給予我悉心的指導(dǎo),使我的畢業(yè)設(shè)計(jì)能夠順利的完成,對(duì)此我表示由衷的感謝。在這以前我的軟件編程一直很差,通過這次的設(shè)計(jì),我的軟件編程能力有了一定的提高。當(dāng)然,本設(shè)計(jì)也還有可以改進(jìn)的地方,比如可以給系統(tǒng)配上語音功能,以實(shí)現(xiàn)報(bào)溫功能。這次設(shè)計(jì)的恒溫箱控制系統(tǒng)成本低,易于實(shí)現(xiàn),在現(xiàn)實(shí)生活中被廣泛應(yīng)用,具有一定的實(shí)用意義。原因在于半導(dǎo)體制冷片同時(shí)具有加熱和制冷功能,當(dāng)有電流通過的時(shí)候半導(dǎo)體制冷片一定會(huì)工作,或加熱或制冷,而不可能不工作,所以恒溫箱始終只能保持在一個(gè)溫度范圍內(nèi),而無法保持在一個(gè)溫度點(diǎn)上。當(dāng)實(shí)際溫度在最高溫度和最低溫度時(shí),溫度保持不變,受空氣和箱子的密封性影響有時(shí)會(huì)有稍許的改變,但是改變的范圍很?。划?dāng)實(shí)際溫度低于所設(shè)置的最低溫度時(shí),蜂鳴器發(fā)出“嘀嘀”的聲音,半導(dǎo)體朝向箱內(nèi)的一面會(huì)加熱使箱內(nèi)的溫度升高到設(shè)置的最低溫度,然后保持不變;當(dāng)實(shí)際溫度高于所設(shè)置的最高溫度時(shí),蜂鳴器發(fā) 出“嘀嘀”的聲音,半導(dǎo)體朝向箱內(nèi)的一面會(huì)進(jìn)行制冷工作使箱內(nèi)的溫度降低到設(shè)置的最
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1