摘要:随着科技的飞速发展,电子行业的不断兴起,在日常生活中各种电器与电子产品使用量飞速增加,火灾隐患也大大增加。家庭火灾报警器在日常生活中是必不可少的,对居家安全有着保障作用。家庭火灾报警器具有灵敏度高、响应快、抗干扰能力强等优点,而且价格低廉,使用寿命长。65880
家庭火灾报警器以电阻式烟雾传感器和温度传感器以及单片机技术为核心并与其他电子技术相结合[1]。该设计选用DS18B20温度传感器作为温度检测器,并且采用AT89S52单片机、A/D转换、硬件乘法器、硬件脉宽调制器等资源。本设计运用Proteus软件进行仿真,并用Keil软件进行编译,最终实现了家庭火灾报警器设计。
Abstract:With the rapid expansion of science and technology, the rising of the electronic industry, the use of electrical and electronic products in everyday life is increasing rapidly, and the fire hazard is also greatly increased. The home fire alarm is essential in daily life, and has the safeguard function to the home security. The home fire alarm has the advantages of high sensitivity, fast response, strong anti-interference ability, and low price, long service life.
The home fire alarm takes the resistance type smog sensor and the temperature sensor as well as the monolithic integrated circuit technology as the core and is combined with other electron technology. The design selects the DS18B20 temperature sensor as the temperature detector, and uses the AT89S52 microcomputer, A/D conversion, hardware multiplier, hardware pulse width modulator and other resources. This design uses Proteus software to simulate, and uses KEIL software to compile, finally realizes the family fire alarm design.
Keywords:Fire alarm system, Single-chip microcomputer, Sensor, Automatic alarm
目录
1. 绪论 5
1.1 课题的背景与意义 5
1.3 家庭火灾报警器研究内容与设计指标 5
2. 系统方案设计 6
2.1 系统总体规划 6
2.2 主要元件的选型 6
2.2.1 AT89S52 6
2.2.2 集成温度传感器DS18B20 8
2.2.3 气体传感器MQ-2 11
2.2.4 数码管驱动芯片74HC245 11
2.2.5 模数转换芯片ADC0832 13
3. 系统硬件设计 14
3.1 AT89S52 复位电路 14
3.2 温度传感器电路 14
3.3 MQ-2烟雾传感器电路 15
3.4 A/D转换装置ADC0832电路 15
3.5 报警器电路 15
3.6 七段数码管显示电路 16
3.7 状态指示灯、控制键电路 17
4. 系统软件设计 18
4.1 主函数的程序 18
4.2 中断服务的程序 19
4.3 数据处理的程序 19
4.4 数据显示的程序 20 AT89S52单片机家庭火灾报警器设计+电路图:http://www.youerw.com/zidonghua/lunwen_73608.html