【正文】
ducts fever faster, in a short time, room temperature beyond normal temperature, cause the system equipment or produce fire, then paralyzed temperature alarm system will play its function.This paper is to use temperature sensor DS18B20 temperature alarm, automatic measuring current environmental temperature by a single chip microputer AT89C2051 control, and through three seven segment digital pipe display, if the current environmental temperature over this temperature, system warning.Keywords:Microcontroller Temperature alarm Temperature sensor leds Temperature display一、功能說明該溫度報(bào)警器電路是由18B20溫度傳感器作為溫度傳感器材,由AT89C2051 單片機(jī)進(jìn)行數(shù)據(jù)處理。溫度顯示(和控制)的范圍為:55186。C之間,精度為1186。如果設(shè)定報(bào)警的溫度為20186。C時(shí),報(bào)警發(fā)光二極管發(fā)光,同時(shí)繼電器動作。如果控制的是某局部的溫度,可將18B20用引線引出,但距離不宜過大,注意其引腳絕緣。C”符號,無溫度值;②按下AN3,先顯示上次存貯下來的設(shè)定溫度(報(bào)警控制)值,然后再顯示環(huán)境溫度值,并隨環(huán)境溫度的變化而變化;③再按一下AN3,溫度數(shù)字閃爍,待調(diào)節(jié);④接著按AN1或AN2:按AN1為報(bào)警溫度值變大,最大為125186。C;⑤調(diào)好后再按一下AN3,調(diào)好的報(bào)警溫度值被存貯,數(shù)碼管又顯示環(huán)境溫度。8三、電路原理圖四、元件清單名稱規(guī)格編號主要功能或作用按鈕6X6X5ANANAN3調(diào)節(jié)報(bào)警溫度的值電容30