基于单片机的环境温湿度光照度检测装置_毕业论文可编辑.doc
文本预览下载声明
基于单片机的环境温湿度光照度检测装置_毕业论文
instruments with a real-time information about the quality of the environment , including temperature, humidity, light intensity, so that people can be informed in a timely manner and make appropriate adjustments.
In this paper, as a control STC89C52 microcontroller core to achieve the design of the right temperature and humidity testing, light intensity detection circuit and LCD display real-time hardware and so on. The realization of its functions mainly through software programming to complete, which not only reduces the hardware circuit complexity and its cost, but also to complex hardware circuits difficult to achieve the task.Using of new low-power micro-sensors, temperature sensors 18B20, humidity sensors DHT11, illumination sensor TSL2561, to achieve the environmental temperature, humidity and light intensity three parameters of the acquisition, storage, display and other functions. in addition, the system also has alarm functions, when data collected of the sensor is not within the scope setted by the user, the buzzer will alarm to alert the user.The system is reliable, simple and cost-effective.
Keywords: STC89C52 microcontroller, temperature, humidity, light, the liquid crystal display, alarm function
目 录
第一章 绪论 1
1.1 选题背景及意义 1
1.2 传感器介绍 1
1.2.1 温度传感器 1
1.2.2 湿度传感器 3
1.2.3 光照度传感器 5
1.3 课题主要内容及结构安排 7
第二章 方案比较和选择 8
2.1 温度传感器的选择 8
2.2 湿度传感器的选择 9
2.3光照度传感器的选择 10
2.4 单片机的选择 10
2.5 本章小结 11
第三章 系统整体设计 12
3.1 信号采集 12
3.1.1 光照度传感器 12
3.1.2 温度传感器 15
3.1.3 湿度传感器 19
3.2 信号分析与处理 21
3.2.1 单片机最小系统 22
3.2.2 STC89C52引脚介绍及管脚说明 25
3.3 人机交互 26
3.3.1 显示模块 26
3.3.2 报警电路 28
3.4 本章小结 28
第四章 软件设计 29
4.1 主程序流程图 29
4.2 DS18B20测温流程图 30
4.3 DHT11流程图 31
4.4 键盘扫描程序流程图 32
4.5 TSL2561流程图 32
4.6 本章小结 32
总 结 33
致 谢 34
参考文献 35
附录一 36
附录二 37
绪论
1.1 选题背景及意义
温度、湿度、光照度和人类的生产、生活有着密切的关系,同时也是工农业生产中最常见最基本
显示全部