需要金幣:![]() ![]() |
資料包括:完整論文 | ![]() |
![]() |
轉(zhuǎn)換比率:金額 X 10=金幣數(shù)量, 例100元=1000金幣 | 論文字?jǐn)?shù):11331 | ![]() | |
折扣與優(yōu)惠:團(tuán)購最低可5折優(yōu)惠 - 了解詳情 | 論文格式:Word格式(*.doc) | ![]() |
摘 要:溫控系統(tǒng)在生活和科研中的應(yīng)用非常廣泛,其重要性更是不言而喻。因此,開發(fā)更精準(zhǔn)的高性能溫控系統(tǒng)很有必要。 本次設(shè)計(jì)以單片機(jī)控制DS18B20,利用單總線通信,從而實(shí)現(xiàn)對溫度的超溫報(bào)警控制。這就是本次設(shè)計(jì)的設(shè)計(jì)思路。本設(shè)計(jì)主要包括硬件和軟件兩部分,硬件體現(xiàn)在電路原理圖中,為實(shí)現(xiàn)硬件功能,軟件設(shè)計(jì)采用C程序設(shè)計(jì),主要包括:4*4鍵盤按鍵控制,數(shù)碼管顯示程序,DS18B20讀寫時(shí)序,片內(nèi)ROM匹配程序,讀取溫度值程序,蜂鳴器聲光報(bào)警。本次設(shè)計(jì)的原理是鍵盤設(shè)定溫度上下限,單片機(jī)向DS18B20發(fā)送讀寫命令,讀取溫度值并與設(shè)定溫度值比較,如果大于設(shè)定值則聲光報(bào)警,同時(shí)顯示實(shí)際溫度。 本設(shè)計(jì)達(dá)到了所需要求。通過按鍵來檢測4個(gè)點(diǎn)上的溫度情況,效果可靠。 關(guān)鍵詞:DS18B20 單總線 單片機(jī) 溫度采集
ABSTRACT:Temperature control system is widely used in life and in scientific research,Its importance is self-evident. Therefore,It is necessary to develop more accurate temperature control system with high performance. Taking Single-chip microcomputer as the host,DS18B20 temperature sensor from the machine. We can make the over-temperature alarm temperature control come true based on the single bus communication.This is the purpose of this design.This design mainly includes two parts: hardware and software.The hardware was reflected to the schematic diagram,so as to achieve the function of the hardware,Software design using C programming,The programming mainly includes The 4*4 keyboard keys to control, Digital tube display program,DS18B20 read and write timing,The on-chip ROM matching program,Reading the temperature program,Buzzer alarm with voice and light.The principle of this design is using keyboard set temperature limits. MCU sends to the DS18B20 read and write commands.Reading the temperature and compare with the set temperature value.If is greater than the set value ,the sound and light alarm system would be touched off and the actual temperature display at the same time. The design meet the requirement. Through the keys to detect the temperature of the 4 points . The effect is Reliable. Keywords: DS18B20 sensor; single bus; single-chip microcomputer; temperature acquisition |