基于STC单片机的温度报警器研究
Research on Temperature Alarm Based on STC Microcontroller
张斌 1孙宇 1陈琳1
作者信息
- 1. 空装驻北京地区第一军事代表室,北京 100039
- 折叠
摘要
温度报警器是通过温度传感器实时检测外界的温度,当温度达到所设定的温度值后,温度报警器发出声音,实现温度报警的装置.设计了一种通过单片机实现的温度自动报警,单片机使用的是美国STC公司的89C52 单片机,温度测量使用的是DS18B20 数字温度传感器,显示温度模块使用的是数码管,报警装置是使用的蜂鸣器.最终达到温度的采集、显示并报警等功能,实现单片机控制温度报警的装置.
Abstract
The temperature alarm is to detect the outside temperature in real time through the temperature sen-sor.When the temperature reaches the set temperature value,the temperature alarm makes a sound to realize the temperature alarm.This design is an automatic temperature alarm realized by single-chip microcomputer.The 89C52 single-chip microcomputer of STC company in the United States is used;the temperature measurement uses DS18B20 digital temperature sensor,the display temperature module uses a digital tube and the alarm device uses a buzzer.Finally,it achieves the functions of temperature collection,display and alarm,and realizes the tempera-ture alarm device controlled by single chip computer.
关键词
温度检测/温度报警/单片机Key words
temperature detection/temperature alarm/micro-controller引用本文复制引用
出版年
2024