【正文】
tly and the clock chip DS1302 should also be initialized. The alarm handling is mainly the lowering and the raising of temperature to make the temperature remain with the preset range. When the temperature is between the upper and the lower limit value, it goes to temperature control handling, that is to say the temperature need to be raised or lowered according to the preset value. By doing so make the condition temperature equal to the preset value and hence to reach the temperature target. V. CONCLUSION The temperature control system has the advantages of friendly humanputer interaction interface, simple hardware, low cost, high temperature control precision (error in the range of 177。例如,當(dāng)系統(tǒng)通電后, LCD 應(yīng)該被初始化,啟動顯示器應(yīng)該叫,溫度轉(zhuǎn)換命令時,必須先發(fā)出的時鐘芯片 DS1302也要被初始化。二:當(dāng)溫度在兩者之間的某處結(jié)束,等于設(shè)定值時,電機停止。 備用電源可以連接到 的可充電電池。 C. LCD 顯示 器電路 液晶顯示 12232F 使用,這可以用來顯示字符,溫度值和時間,并提供一個友好的顯示界面。它是一個靜態(tài) RAM 芯片,低功耗具有 8K 字節(jié)的內(nèi)存。這也是通用的,因此它可以方便地擴大使用該系統(tǒng)。譯文基本能夠表達原文意思,但不是很順暢。溫度可設(shè)定在一定范圍內(nèi)動任意。 III. 硬件設(shè)計 A. 微控制器 在 AT89S51單片機是一種低功耗,高性能 CMOS 8位 4K 的系統(tǒng)內(nèi)可編程閃存字節(jié)微控 制器。因此,外部電源供應(yīng)使用,而第二個接腳連接到引腳 可單片機 AT89S51。在DS1302的服務(wù)于帶有日歷時鐘系統(tǒng),用于監(jiān)測的時間。當(dāng)溫度超過上限和下限的值, 輸出低電平使晶體管上,然后由一個報警蜂鳴器定 。開始主要是指 RAM 的內(nèi)存處理。 it also fits the rugged environment. It is mainly used in people39。 microcontroller。給一點分析,上述 8個任務(wù),很容易地發(fā)現(xiàn),過去五年任務(wù)需要實時操作。 DIG0? DIG5和 DP 分別列線和六個鍵是實現(xiàn)鍵盤監(jiān)控,解碼和識別關(guān)鍵代碼行線端口。 SID 是用于傳輸串行數(shù)據(jù)。有兩個電源 DS18B20 的供應(yīng)方式。這些步驟是用來實現(xiàn)溫度檢測。在現(xiàn)代社會中,溫度控制( TC)不僅用于工業(yè)生產(chǎn),還廣泛應(yīng)用于其它領(lǐng)域?;谙到y(tǒng)的原理,很容易使其他各種非線性 控制系統(tǒng),只要軟件設(shè)計合理的改變?;?AT89S51單片 機, DS18B20的將溫度信號傳送到數(shù)字信號的檢測。其測量范圍為 55℃ ? 125℃,在 10℃ ? 85℃精度為177。為了節(jié)約硬件資源, 12232F 應(yīng)以串行方式連接到單片機 AT89S51,只有 4個輸出使用的端口。為了節(jié)省外部電阻器, 1 6使用鍵盤和鍵盤代碼定義為: 07h 的, 0FH, 17H 條, 1FH, 27H 款, 2Fh 的。最后,它被放大功 放 2803A 權(quán)力電機。 V. 結(jié)論 溫 度控制系統(tǒng)具有友好的人機交互界面,硬件簡單,成本低,溫度控制精度高(誤差在177。 the second pin serves as signal wire and the third is connected to the power. The second way is parasite power supply [5]. As the parasite power supply will lead to the plexity of the hardware circuit, the difficulty of the software control and the performance degradation of the chip, etc. But the DS18B20(s) can be connected to the I/O port of the microcontroller in the external power supply way and it is more popular. Therefore the external power supply is used and the second pin is connected to the pin of the AT89S51. Actually, if there are multipoint to be detected, the DS18B20(s) can be connected to the 1Wire bus. But when the number is over 8, there is a concern to the driving and the more plex software design as well as the length of the 1Wire bus. Normally it is no more than 50m. To achieve distant control, the system can be designed in to a wireless one to break the length limit of the 1Wire bus [6]. C. LCD Circuit The LCD 12232F is used, which can be used to show characters, temperature value and time, and supply a friendly display interface. The 12232F is a LCD with 8192 12832 pixels Chinese character database and 128 168 pixels ASCII character set graphics. It mainly consists of row drive/column drive and 12832 full lattice LCD with the function of displaying graphics as well as 2 Chinese characters. It is in a parallel or serial mode to connect to external CPU [7]. In order to economize the hardware resource, the 12232F should be connected to the AT89S51 in serial mode with only 4 output ports used.