【正文】
t conducive to raising a child. She planned to have children once she had achieved career success so she could provide a stable environment for her baby. After 10 years, Xiao felt the time was right, and she tried to conceive for about six months, but was unable to bee pregnant. I conducted prehensive physical checkups. The results suggested that Xiao39。s digitized society, will also be attached on the report.Myopia is not only a disease that makes people see things blurrily, but also leads to severeplications, such as glaua (increased pressure within the eyeball), and can causeblindness, said Zhou Yuehua, an established eye care specialist with Beijing TongrenHospital.It is very important for parents and children to know about the risk and care for their eyes.There are about 450 million myopia patients in China. Among Chinese myopia patients,30million are severe patients, according to ZhouThe prevalence of myopia among high school and college students is more than 70 percent,and the situation is continuously worsening, he Zhu, director with the China Youth Development Service Center, said long hours ofstudy, lack of exercise, especially outdoor activities, and attachment to electronic screen aresome of the top reasons behind the widespread myopia problems, and the increase ofyounger patients, although China has made great progress in improving the hardwarefacilities and lighting conditions in said he hopes the survey will alert people on the threatening situation, and also helpmedical experts to better guideline parents and children39。 L1602_char(1, 11, temp%10 + 48)。 write_byte(read_EEROM)。 L1602_string(1,2, wendu )。//定時器設(shè)置 1ms in 12M crystal TH0=(655361000)/256。\039。 write(sign)。//0000 0110 顯示光 標(biāo)移動設(shè)置 enable(0xd0)。 E = 0。 RW = 0。 //1602 數(shù)據(jù) /命令選擇引腳 void delay_3() { int i,j。 TL0=(655361000)%256。 i8。 receive_data = 0。 i++)。 deceive_ready = DQ。j++) for(x=0。 for(i=0。 //void dianji(uchar pwm)。 include define uchar unsigned char define uint unsigned int define jump_ROM 0xCC define start 0x44 define read_EEROM 0xBE sbit DQ = P1^6。從開始加入這個項目的設(shè)計到現(xiàn)在項目的完成,我們真正經(jīng)歷了一次自己參與并設(shè)計的過程。然后在PROTEUS 中設(shè)計出相應(yīng)的硬件電路,最后將程序裝載到單片機(jī)中,通過 PROTEUS仿真,看程序是否能夠?qū)崿F(xiàn)預(yù)想的功能。 3 點運(yùn)行:可任意設(shè)置斷點,當(dāng)程序執(zhí)行到此時 控制返回到監(jiān)控調(diào)試程序。 圖 11 電源 芯片 連接電路 Vin VoutGNDVR 78051000uFC410uFC51uFC6C7C8VCCVCCVCCVCCVCCVCCDS1LED0電源電路220V AC12V12V 12V470uF 15 圖 12 電源電 路原理圖 軟件設(shè)計 硬件設(shè)計好 后,加上軟件部分 整個系統(tǒng) 才能 得以運(yùn)行。 其基本操作時序: 1 讀狀態(tài):輸入: RS=L, RWH, E=H 輸出: D0~D7=狀態(tài)字 2 寫指令:輸入: RS=L, RW=L, D0~D7=指令碼, E=高脈沖 輸出:無 3 讀數(shù)據(jù):輸入: RS=H, RW=H,E=H 輸出: D0~D7=數(shù)據(jù) 4 寫數(shù)據(jù):輸入: RS=H,RW=L, D0~D7=數(shù)據(jù), E=高脈沖 輸出:無 LCD 顯示電路 電路連接如圖 8: 串口通信 13 單片機(jī)有一個全雙工的串行通訊口,所以單片機(jī)和計算機(jī)之間可以方便地進(jìn)行串口通訊。本設(shè)計中 開關(guān)復(fù)位與晶振電路如下圖所示,當(dāng)按下按鍵開關(guān) S1 時,系統(tǒng)復(fù)位一次。隨著人們生活水平的提高,產(chǎn)品質(zhì)量、精度、性能、自動化程度、功能以及功耗、價格問題已經(jīng)是選擇家用電器的主要因素。 按工作頻率分:低頻管、高頻管、超頻管 。 3 級加密位 256x8bit 內(nèi)部 RAM 單片機(jī) AT89C52 AT89C52是一個低電壓,高性能 CMOS 8位單片機(jī),片內(nèi)含 8k bytes 的可反復(fù)擦寫的 Flash 只讀程序存儲器和 256 bytes 的隨機(jī)存取數(shù)據(jù)存儲器( RAM),器件采用 ATMEL 公司的高密度、非易失性存儲技術(shù)生產(chǎn),兼容標(biāo)準(zhǔn) MCS51指令系統(tǒng),片內(nèi)置通用 8位中央 處理器和 Flash 存儲單元,功能強(qiáng)大的 AT89C52單片機(jī)可為您提供許多較復(fù)雜系統(tǒng)控制應(yīng)用場合。 方案三:采 用三級管 直接驅(qū)動直流電機(jī),電路使三級管工作在飽和或 截止區(qū) 處于很低的功耗狀態(tài),發(fā)揮簡單的開關(guān)作用來控制電機(jī)兩端電流 的通斷,從而達(dá)到控制電機(jī)的目的。 方案一:采用直流電機(jī)加模擬電路,通過電位器調(diào)節(jié)電機(jī)兩端電壓進(jìn) 行控制。 控制 器 的選擇 在本設(shè)計中采用 AT89C52 單片機(jī)作為控制核心,通過軟件編程的方法進(jìn)行溫度檢測和判斷,并在其 I/O 口輸出控制信號。 方案三:采用數(shù)字式 集成溫度傳感器 DS18B20 作為溫度檢測的核心元件,由其檢測并 直接輸出數(shù)字溫度信號讓 單片機(jī)進(jìn)行處理。 理論上說,開放環(huán)境中,紊流的換熱效率比層流大,但是筆記本底部和散熱底座實際組成了一個封閉空間,所以一般吸風(fēng)散熱方式更符合風(fēng)流設(shè)計規(guī)范。目前很多筆記本電腦采用鋁鎂合金的 外殼,對散熱也起到了一定的作用。 SCM。 本科畢業(yè)設(shè)計 題 目 基于單片機(jī)的智能散熱器的設(shè)計 學(xué)生姓名 _ 專業(yè)名稱 _ 指導(dǎo)教師 _ 年 月 日 II 基于 AT89C52 單片機(jī)的智能散熱器的設(shè)計 摘 要 :散熱器在生活中的應(yīng)用很廣泛, 例如筆記本電腦會因為散熱不良而出現(xiàn)死機(jī)現(xiàn)象。 intelligent control 1 目 錄 引 言 ............................................................ 2 系統(tǒng)研究背景 ................................................. 2 散熱原理和方式 ............................................... 2 整體方案設(shè)計 .................................................... 3 系統(tǒng)整體設(shè)計 ................................................ 3 方案論證 .................................................... 4 溫度傳感器的選擇 ......................................... 4 控制器的選擇 ............................................. 5 溫度顯示器件的選擇 ....................................... 5 電機(jī)及其驅(qū)動器的選擇 ..................................... 5 各單元模塊的硬件設(shè)計 ............................................ 6 系統(tǒng)主要器件簡介 ........................................... 6 單線數(shù)字溫度傳感器 DS18B20 簡介 .......................... 6 單片機(jī) AT89C52 .......................................... 7 風(fēng)扇直流電機(jī) ............................................ 8 芯片 MAX232 介紹 ......................................... 9 電源芯片 7805 介紹 ....................................... 9 LCD 顯示芯片 1602....................................... 10 各部分電路設(shè)計 ............................................. 10 復(fù)位與晶振電路 .......................................... 10 獨(dú)立鍵盤連接電路 ........................................ 11 溫度采集電路 ............................................ 11 LCD顯示電路 ............................................ 12 串口通信 ................................................ 12 直流電機(jī)驅(qū)動電路 ........................................ 13 電源芯片連接電路 ........................................ 14 軟件設(shè)計 ........................................................ 15 單片機(jī)程序設(shè)計 ............................................ 15 總程序流程圖 .......................................... 15 溫度采集子程序流程圖 .................................. 16 系統(tǒng)仿真 ....................................................... 16 用 Keil C51 編寫程序 .................................