单片机鸡舍温度控制系统(电路图+程序)
目录
1 引言 - 1 -
1.1鸡舍温度控制系统设计的意义 - 1 -
1.2鸡舍温度控制系统的设计背景 - 1 -
1.3鸡舍温度控制系统的设计目的 - 1 -
1.4鸡舍温度控制系统完成的功能 - 2 -
2 总体设计方案 - 2 -
2.1方案一 - 2 -
2.2 方案二 - 2-
2.3方案二的总体设计 - 2 -
3 DS18B20温度传感器简介 - 6 -
3.1温度传感器的历史及简介 - 6 -
3.2 DS18B20工作原理 - 6-
3.2.1 DS18B20的工作时序 - 7 -
3.2.2 ROM操作命令 - 8 -
3.3 DS18B20的测温原理 - 8 -
3.3.1 DS18B20的测温原理 - 8-
3.3.2 DS18B20的测温流程 - 10 -
4单片机接口设计 - 10 -
5系统整体设计 - 11-
5.1系统硬件电路设计 - 11 -
5.1.1 主板电路设计(如附录2) - 11-
5.1.2 各部分电路 - 11 -
5.2 系统软件设计 - 14 -
5.2.1 系统软件设计的整体思想 - 14 -
5.2.2 系统程序流程图 - 14 -
6 总结与体会 - 19 -
7 结束语 - 20 -
8 致谢 - 20 -
9 参考文献 - 21 -
10 附录 - 22 -
ABSTRACT
Temperature is ever present in the daily life physical quantity for temperature control in various fields have positive significance. In many industries, a large electricity heating equipment, such as heat treatment for the heating furnace for melting metal protective resistance furnace and the different uses thermoregulation boxes, people need their temperature monitoring and control, using single chip them control not only has control of convenient, simple and great flexibility characteristics, charged with temperature and can significantly increase the technical indicators, which can greatly enhance the quality and quantity of products. Therefore, intelligent temperature control technology is being widely used.
Temperature is ever present in the daily life physical quantity for temperature control in various fields have positive significance. In many industries, a large design temperature of the heating electricity use now popular AT89S51 single chip, coupled DS18B20 digital temperature sensors, the temperature sensors can be self-installed temperature limits. single chip temperature signal will be detected and the temperature of the maximum and minimum levels of comparison, the resulting judgment is a relays, if a relays, fans or heaters judgment is activated.
The design also joined the commonly used digital control and status lights that indicate lights commonly used circuit, making the whole more complete and more humane. All delicate structures are easy to carry.
Key words: DS18B20 temperature sensor 、AT89S51 single chip、 relays温度是日常生活中无时不在的物理量,温度的控制在各个领域都有积极的意义。很多行业中都有大量的用电加热设备,如用于热处理的加热炉,用于融化金属的坩锅电阻炉及各种不同用途的温箱等,人们都需要对它们的温度进行监测和控制,采用单片机对它们进行控制不仅具有控制方便、简单、灵活性大等特点,而且还可以大幅度提高被控温度的技术指标,从而能够大大提高产品的质量和数量。因此,智能化温度控制技术正被广泛地采用。
本温度设计采用现在流行的AT89S51单片机,配以DS18B20数字温度传感器,该温度传感器可自行设置温度上下限。单片机将检测到的温度信号与输入的温度上、下限进行比较,由此作出判断是否启动继电器,若启动继电器,判断是启动风扇还是加热器。
本设计还加入了常用的数码管显示及状态灯显示灯常用电路,使得整个设计更加完整,更加灵活。该设计整体结构小巧,便于携带。
关键词: DS18B20温度传感器、AT89S51单片机、继电器943
[1] [2] [3] [4] [5] [6] [7] [8] [9] 下一页