目 录
摘要................................................................................................................................1
1 引言............................................................................................................................3
2 系统总体设计方案....................................................................................................3
2.1 系统的设计目标.....................................................................................................4
2.2 系统的总体设计方案.............................................................................................4
3 主要元器件介绍........................................................................................................4
3.1 AT89C51 单片机.....................................................................................................5
3.2 传感器介绍.............................................................................................................6
3.2.1 MQ-2 烟雾传感器 ................................................................................................6
3.2.2 DS18B20 温度传感器 ..........................................................................................8
3.3 ADC0832 模数转换器 ............................................................................................8
4 系统硬件设计............................................................................................................9
4.1 单片机最小系统.....................................................................................................9
4.2 烟雾检测电路.......................................................................................................10
4.3 温度检测电路.......................................................................................................11
4.4 烟雾浓度显示电路...............................................................................................11
4.5 光报警电路...........................................................................................................12
4.6 声音报警电路.......................................................................................................12
4.7 系统总电路图.......................................................................................................13
5 系统软件设计..........................................................................................................15
5.1 系统主流程图.......................................................................................................15
5.2 烟雾浓度处理流程图...........................................................................................15
5.3 温度采集流程图...................................................................................................16
5.4 火灾判断与报警...................................................................................................17
6 PCB 板图设计 ..........................................................................................................18
7 总结..........................................................................................................................19
参考文献......................................................................................................................20
附录..............................................................................................................................21