单片机的车内二氧化碳浓度测控系统
1.1 引言 - 3 -
ABSTRACT
Key words:
With the development of people’s life, the car isone of the most tool in our daily life.People like rest in the car,especially in summer. People used to resting in the car with the air-condition open ,which is a enjoyable thing. But a healty proble is unknow to peple. The thickness of carbon dioxide in the car would rise up.when someone stay in the car for a long time, which may cause people beathe difficultly.If we haven’t found the problem ,it may be a big accident. Those things for example is often reported on TV. As a result, I design a alerting system ,which make people know when the thickness of carbon dioxide is under a dangerous data when people rest in the car .
The object is aimed to decreasing the hickness of carbon d *好棒文|www.hbsrm.com +Q: ^3^5^1^9^1^6^0^7^2^*
ioxide.I designed the system which based on AT89C51 to moniter and control the thickness of carbon dioxide exactly . The system can decrease the thickness of carbon dioxide under our control . When the siglechip find the hickness of carbon dioxide is higer than the dangerous figure,than the siglechip make the LED lights and the bell rings.The siglechip open the relay to begin to work .For the convenience of the syetem to control and test . The system is based on assembler language which included the module of data collecton、the module of data dispose、the module of display and the module of control.
In the progress of my design consider the cost,I chose the element with a high function and low price. So the system is exactly 、simplely and stablely. It can not only used in the car ,but also can used in the room and factory. So the system is worthy to spreading.
Key wards: car, carbon dioxide, Monitor and control,single-chip
第一章 绪论
1.1 引言
近几年来,随着人们生活水平的提高,汽车也逐渐成为人们出行主要的代步工具,私家车已飞入寻常百姓家,然而汽车带来的不仅是环境和能源问题,还有值得人们关注的是安全问题。关注汽车的安全问题不仅关注汽车的行驶安全,车内的安全和环境问题也是值得人们关注的。本课题----《基于单片机的车内二氧化碳浓度测控系统》就是防止车内二氧化碳浓度过高从而带给人们的安全问题。
本课题以AT89C51单片机为核心和二氧化碳浓度传感器TGS4160构成的二氧化碳浓度测控系统来防止车内二氧化碳浓度过高,把车内二氧化碳浓度控制在一个对人体没有影响的范围内。主要对车内二氧化碳浓度进行有效、可靠的检测与控制设计的。该系统具有检测精度高、使用简单、成本低和工作稳定的特点,可以及时对车内二氧化碳浓度进行监测和控制。整个电路包括单片机最小系统、二氧化碳浓度检测电路、A/D转换电路、二氧化碳控制电路、声光报警电路和电源电路。传感器TGS4160通过二氧化碳浓度检测电路检测出实时二氧化碳浓度并通过A/D转换电路把模拟信号转换为数字信号送给单片机,如果二氧化碳浓度值高于对人体不适的浓度值,单片机发送信号给声光报警电路和二氧化碳控制电路,发光二极管发光、蜂鸣器鸣响报警,同时继电器驱动车载风扇进行通风以降低二氧化碳浓度。整个电路过程清晰而且稳定性高。
1.2 本课题研究的意义和价值
由于汽车燃烧的汽油产生二氧化碳很容易进入车内,而且人们喜欢在密封的汽车空间内,尤其是冬天和夏天,为防止车内不密封导致车内冷气或暖气流失,很多车主都喜欢密封车厢。因此造成车内二氧化碳浓度过高。二氧化碳浓度过高会导致人体呼吸不畅,头晕、疲劳、注意力不集中、头痛等症状,严重的则会导致在车内休息的人们的生命安全。这对包括驾驶员在内车内人员的健康以及安全造成很大问题。因此车内二氧化碳测控系统对保障驾乘人员的健康和安全起到了很大的作用。
本系统二氧化碳浓度检测精确度高,易于控制,操作简单,可以改进一下同样可以应用于其他场合的二氧化碳浓度检测和控制,比如温室大棚和公共场所的二氧化碳浓度控制,通用性强,便于改进和推广使用。
1.3 本课题主要研究内容
本课题所开发的二氧化碳浓度控制采用51系列单片机,检测车内二氧化碳浓度,对车内二氧化碳浓度进行控制,实现声光报警等。研究的主要包括:
(1) 系统主要控制模块单片机的应用;
(2) 车内二氧化碳浓度,包括通过传感器检测车内二氧化碳浓度并送给单片机;
(3) 声光报警,包括LED发光报警和蜂鸣器鸣叫;
(4) 二氧化碳浓度控制,包括二氧化碳浓度过高时驱动继电器控制排风扇工作。
系统原理框图及流程图如图1和图2所示:
图1 系统原理框图
本文选用Atmel公司生产的AT89C51单片机作为CPU。AT89C51是一种8位的微处理器,它是低功耗、低价格、高性能的。
保存数据时间:10年
全部不动工作:0Hz-24MHz
三级的程序的存储器的锁定
64×16位的内部RAM
ABSTRACT
Key words:
With the development of people’s life, the car isone of the most tool in our daily life.People like rest in the car,especially in summer. People used to resting in the car with the air-condition open ,which is a enjoyable thing. But a healty proble is unknow to peple. The thickness of carbon dioxide in the car would rise up.when someone stay in the car for a long time, which may cause people beathe difficultly.If we haven’t found the problem ,it may be a big accident. Those things for example is often reported on TV. As a result, I design a alerting system ,which make people know when the thickness of carbon dioxide is under a dangerous data when people rest in the car .
The object is aimed to decreasing the hickness of carbon d *好棒文|www.hbsrm.com +Q: ^3^5^1^9^1^6^0^7^2^*
ioxide.I designed the system which based on AT89C51 to moniter and control the thickness of carbon dioxide exactly . The system can decrease the thickness of carbon dioxide under our control . When the siglechip find the hickness of carbon dioxide is higer than the dangerous figure,than the siglechip make the LED lights and the bell rings.The siglechip open the relay to begin to work .For the convenience of the syetem to control and test . The system is based on assembler language which included the module of data collecton、the module of data dispose、the module of display and the module of control.
In the progress of my design consider the cost,I chose the element with a high function and low price. So the system is exactly 、simplely and stablely. It can not only used in the car ,but also can used in the room and factory. So the system is worthy to spreading.
Key wards: car, carbon dioxide, Monitor and control,single-chip
第一章 绪论
1.1 引言
近几年来,随着人们生活水平的提高,汽车也逐渐成为人们出行主要的代步工具,私家车已飞入寻常百姓家,然而汽车带来的不仅是环境和能源问题,还有值得人们关注的是安全问题。关注汽车的安全问题不仅关注汽车的行驶安全,车内的安全和环境问题也是值得人们关注的。本课题----《基于单片机的车内二氧化碳浓度测控系统》就是防止车内二氧化碳浓度过高从而带给人们的安全问题。
本课题以AT89C51单片机为核心和二氧化碳浓度传感器TGS4160构成的二氧化碳浓度测控系统来防止车内二氧化碳浓度过高,把车内二氧化碳浓度控制在一个对人体没有影响的范围内。主要对车内二氧化碳浓度进行有效、可靠的检测与控制设计的。该系统具有检测精度高、使用简单、成本低和工作稳定的特点,可以及时对车内二氧化碳浓度进行监测和控制。整个电路包括单片机最小系统、二氧化碳浓度检测电路、A/D转换电路、二氧化碳控制电路、声光报警电路和电源电路。传感器TGS4160通过二氧化碳浓度检测电路检测出实时二氧化碳浓度并通过A/D转换电路把模拟信号转换为数字信号送给单片机,如果二氧化碳浓度值高于对人体不适的浓度值,单片机发送信号给声光报警电路和二氧化碳控制电路,发光二极管发光、蜂鸣器鸣响报警,同时继电器驱动车载风扇进行通风以降低二氧化碳浓度。整个电路过程清晰而且稳定性高。
1.2 本课题研究的意义和价值
由于汽车燃烧的汽油产生二氧化碳很容易进入车内,而且人们喜欢在密封的汽车空间内,尤其是冬天和夏天,为防止车内不密封导致车内冷气或暖气流失,很多车主都喜欢密封车厢。因此造成车内二氧化碳浓度过高。二氧化碳浓度过高会导致人体呼吸不畅,头晕、疲劳、注意力不集中、头痛等症状,严重的则会导致在车内休息的人们的生命安全。这对包括驾驶员在内车内人员的健康以及安全造成很大问题。因此车内二氧化碳测控系统对保障驾乘人员的健康和安全起到了很大的作用。
本系统二氧化碳浓度检测精确度高,易于控制,操作简单,可以改进一下同样可以应用于其他场合的二氧化碳浓度检测和控制,比如温室大棚和公共场所的二氧化碳浓度控制,通用性强,便于改进和推广使用。
1.3 本课题主要研究内容
本课题所开发的二氧化碳浓度控制采用51系列单片机,检测车内二氧化碳浓度,对车内二氧化碳浓度进行控制,实现声光报警等。研究的主要包括:
(1) 系统主要控制模块单片机的应用;
(2) 车内二氧化碳浓度,包括通过传感器检测车内二氧化碳浓度并送给单片机;
(3) 声光报警,包括LED发光报警和蜂鸣器鸣叫;
(4) 二氧化碳浓度控制,包括二氧化碳浓度过高时驱动继电器控制排风扇工作。
系统原理框图及流程图如图1和图2所示:
图1 系统原理框图
本文选用Atmel公司生产的AT89C51单片机作为CPU。AT89C51是一种8位的微处理器,它是低功耗、低价格、高性能的。
保存数据时间:10年
全部不动工作:0Hz-24MHz
三级的程序的存储器的锁定
64×16位的内部RAM
版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/dzxx/txgc/1952.html