基于51单片机的湿度控制器(含原理图与C代码)毕业设计_精品.doc
文本预览下载声明
单片机湿度控制器
摘要
本系统采用AT89C51作为控制系统,通过模拟传感器把湿度信号采集后送给ADC0804,转换成数字信号后送入单片机,再通过LCD1602显示出来,同时独立键盘输入湿度上门限值和下门限值,当湿度值低于下门限值或上门限值时系统驱动蜂鸣器报警和控制电路进行湿度控制,当湿度再次回到两个门限值之间时消除报警和停止湿度控制,本系统实时刷新当前湿度和门限值,适用于大棚,花卉以及家庭湿度检测与控制。
目前工业自动化水平已成为衡量各行各业现代化水平的一个重要标志。同时,控制理论的发展也经历了古典控制理论、现代控制理论和智能控制理论三个阶段。智能控制的典型实例是模糊全自动洗衣机等。
关键词:AT89C51,LCD1602,ADC0804,湿度控制与检测
Single-chip humidity controller
Summary
This system used AT89C51 as control system, by simulation sensor to humidity signal collection Hou to ADC0804, conversion into digital signal Hou into single tablets machine, then by LCD1602 displayed out, while independent keyboard entered humidity door limited value and Xia threshold value, dang humidity value below Xia threshold value or door limited value Shi system drive buzzer alarm and control circuit for humidity control, dang humidity again returned to two a threshold value Zhijian Shi elimination alarm and stop humidity control, This system live and refreshes the current humidity threshold values, apply to greenhouse, flower and family and humidity measuring and controlling
The current level of industrial automation has become an important symbol of the measure of all walks of life the level of modernization. The same time, the development of control theory has experienced a classical control theory, modern control theory and the theory of intelligent control in three stages. The typical example of the intelligent control fuzzy automatic washing machine.
Keyword:AT89C51,LCD1602,ADC0804,humidity controller
目录
第一章 绪论 1
1.1选题背景及目的 1
1.2发展状况 1
1.3各章节主要内容 3
第2章 系统的方案与论证 4
2.1系统选择论证 4
2.1.1 单片机控制模块的选择论证 4
2.1.2 显示模块的选择与论证 4
2.2 设计任务及要求 4
2.3 系统的设计原则 5
2.4 系统组成与框图 6
系统控制结构组成如图2-1 6
2.5 系统原理设计 6
2.5.1 AT89C51简介 6
2.5.2 AT89C51管脚说明 7
2.5.3 振荡器特性 9
2.5.4 时钟电路 9
2.5.5 复位电路 10
2.5.6 AD转换电路 11
2.6 湿度传感器 12
2.6.1 湿敏元件的特性 12
2.6.2 湿敏电阻 12
2.6.3 湿敏电容 12
2.6.3 湿度测量的名词术语 13
2.7 LCD液晶显示器 13
第三章 硬件电路的设计 16
3.1 湿度传感器与ADC0804连接电路 16
3.2 LCD电路图 17
3.3 独立键盘与驱动电路 18
3.4 总体电路设计 18
第四章
显示全部