摘要:粮食的贮存对温湿度的要求很高,传统的温湿度控制方法费时费力,而且效率很低,所以本文设计了一种基于单片机的粮仓温湿度控制系统。旨在通过设定系统温湿度阀值使其自动控制粮仓内的温度及湿度,保持在一个干燥适合的环境。在整个设计中使用SHT11温湿度传感器实时检测粮仓内的温湿度,通过按键对温度及湿度阀值的设定,将检测值与设定值比较,控制对应的风机及空调电路,将检测温湿度值实时显示在LCD1602上。本系统硬件结构简单,操作灵活,以高级语言C语言开发,KEIL4程序开发软件为开发工具设计而成。65474

毕业论文关键词: AT89C52单片机,SHT11温湿度传感器,直流电机,KEIL4开发软件,LCD1602

Abstract:Food is very tall to the requirement of storage for temperature and humidity, the temperature and humidity of the traditional control method is time-consuming, laborious and inefficient, so this paper designed a kind of granary temperature and humidity control system based on single chip microcomputer. Aimed at by setting the threshold value of temperature and humidity of the system in the control in the grain depot temperature and humidity and keep in a suitable for the dry environment. In the whole design using temperature and humidity sensor SHT11 temperature and humidity real-time detection in grain depot, through the keys to temperature and humidity threshold setting, the detection value is compared with the set value, corresponding to the fan and air conditioning circuit control, will detect the temperature and humidity values can be real-time displayed on the LCD1602. The system hardware structure is simple, operation is flexible, high-level language C language development, keil4 development software design tools have been developed.

Key words::AT89C52 microcontroller, SHT11 temperature and humidity sensor, DC motor, KEIL4 software, LCD1602

目录

1 绪论 4

1.1 课题研究的背景及意义 4

1.2 单片机的意义和本设计特点 4

2 系统的设计 4

2.1系统总设计结构图 4

2.2 蜂鸣器、按键和LED简介 5

2.3主控芯片AT89C52单片机的简介 5

2.4 LCD1602的简介 6

2.5 SHT11温湿度传感器简介 6

2.6 直流电机简介 7

3系统硬件设计 7

3.1 晶振电路 7

3.2 复位电路 8

3.3 LCD1602显示电路 8

3.4温湿度检测电路 9

3.5 报警电路 9

3.6 按键电路 10

3.7 风机和空调控制电路 10

3.8 系统总体电路图 11

4软件设计 12

4.1显示模块 12

4.2 温湿度采集模块 13

4.3 报警模块 13

4.4 按键模块 13

4.5系统软件设计流程图 14

5程序及仿真调试 14

5.1 程序调试用到的软件及工具 15

上一篇:Matlab光的干涉衍射模拟及应用
下一篇:光的干涉及其应用

STC89C52单片机工业中LED亮度的精确检测设计

ATS89S51单片机关于LED显示图...

stm32单片机飞行体滚转角测试黑匣子的设计

STC89C52单片机颜色检测仪的设计+电路图

51单片机LED技术智能LED台灯实现设计

单片机的MPX4105的数字气压计设计+电路图

AT89C51单片机霍尔传感器的...

弹道修正弹实测弹道气象数据使用方法研究

适合宝妈开的实体店,适...

大学生就业方向与专业关系的研究

浅谈动画短片《天降好运》中的剧本创作

组态王文献综述

林业机械作业中的安全性问题【2230字】

小学《道德与法治》学习心得体会

紫陵阁

人事管理系统开题报告

淮安市老漂族心理与休闲体育现状的研究