摘要:单片机具有比较好的自动控制能力,也容易适应环境,工作时运行比较平稳,价格低廉,所以我们的设计使用51单片机作为核心元件。MQ-7一氧化碳传感器灵敏度较高,使用寿命长,成本低,使用简单,所以适合用它来对家庭的一氧化碳检测。随时监控房间内一氧化碳的浓度变化,当一氧化碳浓度超过某个值时,系统就发出声音警报来提醒人们及时采取抢险措施。91269
一氧化碳报警器利用AD转换原理,将被测模拟量转换成数字量,并利用数字方式显示出测量结果。AD转换器的精确度影响数据显示的准确度,本设计采用ADC0809对输入模拟信号进行转换,控制核心AT89C51单片机对转换的结果进行运算和处理,最后驱动LCD1602显示数字信号,并将数值与设定值做比较控制声光报警和继电器是否吸和,系统可自行设定上下限报警值。
通过keil软件对所设计的程序进行编译和调试,将keil软件和proteus软件结合,通过proteus仿真软件实现接口电路设计,将编好的程序输入keil软件中,进行编译,编译结束将产生一个HEX格式的文件,将其载入到proteus环境中,进行实时仿真。
毕业论文关键词:单片机,一氧化碳,检测,报警
Abstract: SCM automatic control ability is better, and it has strong environmental adaptability, what’s more, it has stable operation, last but not least, it cost lower。 So, the core software used in our design is 51。 MQ-7carbon monoxide sensor has many advantages of high sensitivity, long service life, low cost and simple use。 Therefore, it is suitable for use in the detection of carbon monoxide in the family。 Monitor changes in carbon monoxide concentrations throughout in every time。 Once the carbon monoxide concentration is too high, the system sends out an audible alarm, remind people to take timely rescue measures。
Carbon monoxide alarm using AD conversion principle。 Convert the measured analog to digital, and the results dre displayed in digital mode。 The accuracy of the AD converter affects the accuracy of the data display, this design uses ADC0809 to input analog signal conversion, control the core of AD89C51 microcontroller to convert the results of operations and processing。 Finally drive LCD1602 display digital signal, and compare the numerical value with the set value to control the sound and light alarm and the relay, system can set the upper and lower limit alarm value。
Through the keil software to compile and debug the designed program, the Keil and Proteus Software combination ,realization of interface circuit design by Proteus simulation software,will be programmed into keil software , complie, complie the end will generate aHEX file format, will be loaded into the proteus environment,real-time simulation。
Keywords: SCM, carbon monoxide, check , alarm
目录
第1章绪论 1
1。1课题研究背景及意义 1
1。3本文主要内容和章节安排 2
第2章总体系统方案设计 2
2。1设计方案 2
2。2设计原理 3
2。3系统的要求 3
第3章硬件系统来自优I尔Y论S文C网WWw.YoueRw.com 加QQ7520~18766 设计 4
3。1硬件总体设计 4
3。2单片机的最小系统 5
3。3A/D转换电路 51单片机室内有害气体检测系统的设计:http://www.youerw.com/zidonghua/lunwen_198728.html