欢迎来到天天文库
浏览记录
ID:30000911
大小:507.50 KB
页数:15页
时间:2018-12-25
《基于单片机的火灾报警器终稿》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、毕业设计(论文)课题:基于单片机的火灾报警器学生:系部:电子信息系班级学号:指导老师:装订交卷日期:装订顺序:(1)封面(2)毕业设计(论文)成绩评定记录(3)标题、中文摘要及关键词(4)正文(5)参考文献(6)附录毕业设计(论文)成绩评定记录表指导教师评语(包含学生在毕业实习期间的表现):成绩(平时成绩):指导教师签名:年月日评阅教师评语:成绩(评阅成绩):评阅教师签名:年月日总评成绩:注:1.此表适用于不参加毕业答辩学生的毕业设计(论文)成绩评定;2.平时成绩占40%、卷面评阅成绩占60%,在上面的评
2、分表中,可分别按40分、60分来量化评分,二项相加所得总分即为总评成绩,总评成绩请转换为优秀、良好、中等、及格、不及格五等级计分。教务处制摘要随着“信息时代”的到来,作为获取信息的手段——传感器技术得到了显著的进步,其应用领域越来越广泛,对其要求越来越高,需求越来越迫切。因此,了解并掌握各类传感器的基本结构、工作原理及特性是非常重要的。本文利用单片机结合传感器技术而开发设计了这一火灾报警器。本文以电阻式烟雾传感器和单片机技术为核心并与其他电子技术相结合,设计出一种技术水平较好的烟雾报警器。其中选用MQ-2
3、型半导体可燃气体敏感元件烟雾传感器实现烟雾的检测,具有灵敏度高、响应快、抗干扰能力强等优点,而且价格低廉,使用寿命长。选用的STC12C5410AD单片机,其整合了A/D转换、乘法器、硬件脉宽调制器等资源,具有高速、低功耗、超强抗干扰等优点。本文设计的烟雾报警器可实现声光报警、浓度显示、报警限设置等功能。是一种结构简单、性能稳定、使用方便、价格低廉、智能化的烟雾报警器。关键词:烟雾,报警器,STC12C5410,传感器目录1.引言······································
4、·····················12.烟雾检测报警器整体设计方案·····································12.1烟雾检测报警器工作原理······································12.2烟雾检测报警器的结构········································13.烟雾检测报警器的硬件设计······································23.1信号采集及前置放大电路······
5、································23.2声音报警电路·················································33.3数码管显示电路··············································33.4状态指示灯及控制键电路······································44.烟雾检测报警器的软件设计······································5
6、4.1烟雾检测报警器软件流程及设计··································54.2主程序设计及流程图···········································54.3报警子程序设计及流程图······································64.4控制按键设计子程序及流程图···································75.结论······································
7、····················8致辞·····························································9参考文献························································101.引言火灾烟雾检测报警器是能够检测环境中的烟雾浓度,并具有报警功能的仪器,仪器的最基本组成部分应包括:烟雾信号采集电路、模数转换电路、单片机控制电路。烟雾信号采集电路一般由烟雾传感器和模拟放大电路组成,将烟雾信号转
8、化为模拟的电信号。模数转换电路将从烟雾检测电路送出的模拟信号转换成单片机可识别的数字信号后送入单片机[2]。单片机对该数字信号进行滤波处理,并对处理后的数据进行分析,是否大于或等于某个预设值,如果大于则启动报警电路发出报警声音,反之则为正常状态。为方便检测与监控,使仪器测试人员及用户能够直观地观察到环境中的可燃烟雾浓度值,可将浓度值送到显示屏中。方便调节报警限,可以加入按键。以上是根据报警器应具备的功能,提出的整体设计思路[1
此文档下载收益归作者所有