大棚恒温控制器的设计与实现_(毕业论文)(设计).doc
文本预览下载声明
本科生毕业论文(设计)
题目(中文): 塑料大棚恒温控制器的设计与实现
(英文): Constant Temperature Controller Design and Implementation of the Plastic Greenhouse
本科毕业论文(设计)诚信声明
作者郑重声明:所呈交的本科毕业论文(设计),是在指导老师的指导下,独立进行研究所取得的成果,成果不存在知识产权争议。除文中已经注明引用的内容外,论文不含任何其他个人或集体已经发表或撰写过的成果。对论文的研究做出重要贡献的个人和集体均已在文中以明确的方式标明。本声明的法律结果由作者承担。
本科毕业论文(设计)作者签名:
年 月 日
目录
摘 要 I
关键词 I
Abstract I
Key words II
1 前言 1
2 任务分析与方案论证 3
2.1 任务分析 3
2.2 两种方案的比较 4
2.2.1 方案一 4
2.2.2 方案二 4
2.3 实现方法简述 4
3 硬件电路的设计 5
3.1 单片机最小系统 5
3.1.1 单片机STC12C5A16S2 5
3.1.2 按键电路 7
3.1.3 显示电路 7
3.1.4 报警电路 8
3.2 DS18B20温度传感器与单片机的接口电路 8
3.2.1 DS18B20温度传感器 8
3.2.2 DS18B20的操作时序 11
3.3 继电器输出电路 12
3.4 电源电路 13
4 软件设计 14
4.1 系统流程图 14
4.2 系统程序模块的设计 14
4.3 DB18B20测量温度的程序设计 15
4.4 温度转换命令子程序 17
5 调试 17
6 总结 17
参考文献 18
致 谢 20
附录A:设计电路原理图 21
附录B:设计程序 21
塑料大棚恒温控制器的设计与实现
摘 要
塑料大棚恒温控制器的设计包括硬件电路设计和系统程序的设计。硬件电路主要包括主控制器,温度测量电路,温度控制电路和显示电路。主控制器采用单片机STC12C5A16S2,温度传感器采用美国DALLAS半导体公司生产的DS18B20,温度控制电路采用的是继电器控制外部加热制冷设备,显示电路采用3个共阳极LED数码管。测温控制电路由温度传感器和预置温度值比较组成,当实际测得的温度值大于预先设定的温度,导致光信号报警,并且驱动电风扇工作;当实际温度低于预先设定的温度,导致关信号报警,并驱动加热器工作。系统程序主要包括主程序,测试程序和显示子程序等。
关键词
单片机;数码显示管;温度传感器DS18B20;控制电路
Constant Temperature Controller Design and Implementation of the Plastic Greenhouse
Abstract
Plastics constant temperature controller design includes hardware circuit design and system program design. The hardware circuit mainly includes the main controller, temperature measurement circuit, temperature control circuit and display circuit. Main controller by single chip microcomputer STC12C5A16S2, DS18B20 temperature sensor by DALLAS semiconductor companies in the United States production, temperature control circuit USES is relay control external heating refrigeration equipment, using three common anode LED digital tube display circuit. Temperature control circuit is composed of temperature sensor and the preset temperature comparison, when the actual measured temperature value is greater than the pre-set temperature, lead
显示全部