单片机二氧化碳浓度检测

  • 格式:doc
  • 大小:401.50 KB
  • 文档页数:35

毕业设计(论文)

基于单片机车内二氧化碳浓度测控系统

1 摘要

目前,汽车已经很普及,尤其是城市里,它已经成为大部分都市人的代步工具。经济越发达的地方汽车越普遍。于此同时汽车的性能也在不断提高。人类的生活离不开氧气的存在,由于汽车是封闭的空间,这就需要驾驶员可以及时换气,保证车内有足够的氧气。

系统采用单片机自动控制技术,自动检测车内二氧化碳的浓度,及时提醒驾驶员通风换气。

系统的总体布置有四个部分组成:数据采集,信号处理,控制执行部件,串口通讯部分。

系统主要有下列功能:通过传感器检测二氧化碳浓度,经过放大处理和转换器,浓度值显示在LCD上。当采集的浓度值超过设定值时,报警电路及时反应,发出警报。系统是以AT89C51为核心控制元件设计的。成本低,技术开发难度小,适用性强,灵活性好。

关键词 CO2 测控 单片机

基于单片机车内二氧化碳浓度测控系统

2 Abstract

At present, cars have become very popular, especially in the city. Car become

most people's transport. The more developed economy where the common car. At the

same time the performance of the car also is rising ceaselessly. Life can not do

without the presence of oxygen. As the car is closed space, this needs the driver can

timely ventilation, to ensure that the car have enough oxygen.

System USES single-chip microcomputer automatic control technology,

automatic inspection in the concentration of carbon dioxide, timely remind the driver

of ventilated take a breath.

System layout has four parts: data acquisition, signal processing, control

executive part, serial communication part.

System mainly has the following functions: through the sensor to test the carbon

dioxide concentration, after amplification processing and converter, and displayed on

the LCD. When the acquisition of the density than set value, alarm circuit, a timely

response. This system based on AT89C51 as the core control component design. Low

cost, technology development difficulty small, applicability, mobility is good

Key words CO2 measurement and control Single Chip Microcomputer

基于单片机车内二氧化碳浓度测控系统

3 基于单片机车内二氧化碳浓度测控系统

目录

摘要................................................................................................................................................... 1

Abstract ............................................................................................................................................. 2

第二章 总体方案的设计 ................................................................................................................. 6

2.1系统的功能要求 ................................................................................................................ 6

2.2系统总体方案的设计 ........................................................................................................ 6

2.3系统工作原理 .................................................................................................................... 7

2.4元器件的选择 .................................................................................................................... 7

2.4.1单片机的选择 .......................................................................................................... 7

2.4.2二氧化碳传感器的选择 .......................................................................................... 8

2.4.3模拟信号转换器的选择 ........................................................................................ 11

2.4.4 显示器的选择 ....................................................................................................... 13

2.5键盘的选择 ...................................................................................................................... 14

2.6本章小结 .......................................................................................................................... 15

第三章 系统硬件电路的设计 ....................................................................................................... 16

3.1 微控制器的概述 ............................................................................................................. 16

3.2 二氧化碳传感器电路设计 ............................................................................................. 18

3.3 A/D转换器及其接口电路图 .......................................................................................... 20

3.4 LCD显示电路 .................................................................................................................. 20

3.5 报警电路 ......................................................................................................................... 21

3.6键盘电路的连接 .............................................................................................................. 22

3.7本章小结 .......................................................................................................................... 22

第四章 系统软件设计 ................................................................................................................... 23

4.1 主程序流程图设计 ......................................................................................................... 23