基于单片机的温湿度检测控制系统设计-精品 - 图文(6)

2019-08-03 10:40

德州学院 机电工程系2012届 机械设计制造及其自动化专业 毕业论文(设计)

write_data(table1[num1]); delay(20);

}

write_data(bai1); write_data(shi1); write_data(ge1);

write_data('%');

cnt=0;

}cnt++;

}

/*--------------------液晶控制------------------*/ void lcd_int()//lcd初始化 { lcden=0; write_com(0x38); write_com(0x0e); write_com(0x06); write_com(0x80); }

void write_com(uchar com) // lcd写指令 { lcdrs=0; P0=com; delay(5); lcden=1; delay(5); lcden=0;

}

void write_data(uchar date) // lcd写数据 { lcdrs=1; P0=date; delay(5); lcden=1; delay(5); lcden=0;

}

/*--------------------控制报警------------------*/ void warm_control()//判断控制报警 { if((temp<10||temp>30)||(hum<20||hum>60) )//判断温湿度值是否符合要求

{ 20

德州学院 机电工程系2012届 机械设计制造及其自动化专业 毕业论文(设计)

}

redled=0; } else { }

if(temp<10) hot=0; if(temp>30) fine=0; if(hum<20) pwq=0; if(hum>60) ccq=0;

//除潮器除潮 //喷雾器增湿 //风扇降温 //加热器加热

greedled=0; redled=1; greedled=1; beef=0; beef=1;

//声光报警

delay(2000);

总 结:

虽然这个设计做的比较简单,但能完成给定的设计内容。很多东西考虑的不是很细,也有一些特别情况没有做,但是用了很多精力用来完成这个论文,鉴于个人水平和时间的关系,所以并没有把自己当初设想的所有情况都考虑进去。这两个月的毕业论文让我学会的很多,觉得自己学的太少还有很多需要认真学习,学无止境,所以要更努力。

21

德州学院 机电工程系2012届 机械设计制造及其自动化专业 毕业论文(设计)

参考文献:

[1]林国汉.基于单片机的温度控制系统设计[J].微计算机信息,2009(25): 21~24 [2]易顺明.基于单片机的大棚温湿度控制系统设计[J].现代电子技术,2011 (7):7~15 [3]张毅刚.单片机原理及应用[M].北京:高等教育出版社2008.12~106 [4] Atmel. Atmel 89C51 Microcontrollers Hardware Manual,2010. 35~98 [5]陈桂友,柴远斌.单片机应用技术[M].北京:机械工业出版社,2008.10~88 [6]熊诗波.机械工程测试技术基础[M].4版.北京:机械工业出版社,2008. 60~102 [7]张新荣.基于单片机的多路温度监测系统设计[J].工业控制计算机,2010(7):13~21 [8]夏晓南.基于单片机的温箱温度和湿度的控制[J].现代电子技术,2008 (5):6~12 [9]秦曾煌.电工学.电子技术[M].7版.北京:高等教育出版社,2008.34~80

[10]李俊.基于单片机的温湿度检测与控制系统[J].微计算机信息,2008(17):5~18 [11]谭浩强.C程序设计[M].4版.北京:清华大学出版社, 2007.21~95

The design of temperature and humidity measurement and

control system based on single-chip microcomputer

Li Ruitao

(Mechanical and Electronic Engineering Department of Dezhou University,Dezhou Shandong,253023) Abstract: In this paper, using 89C51 MCU to design a greenhouse temperature and humidity measurement and control system. Detection and control the indoor temperature and humidity and real-time display. The temperature and humidity sensor using AM2301digital temperature and humidity sensor, The temperature and humidity are displayed in the 1602 LCD through the 89 C51 single chip computer processing. And the real-time temperature and humidity value judgment whether meet the set the humidity and temperature of the range. If it exceeds the setting range, through the 89C51 start the temperature and humidity control system, to achieve the purpose of constant temperature and humidity.

Key Word: 89C51 MCU, AM2301 temperature and humidity sensor, 1602LCD, temperature and humidity control system

谢辞

此次毕业设计是在我的指导老师杨光军老师的精心指导及全力支持下完成的。本系统的设计成功与杨老师的帮助是密不可分的,再加上自身的努力才能圆满地完成预期的目标。杨老师对新知识,新事物都有自己独到的理解,这深深的影响了我对学习的态度,将使我终生

22

德州学院 机电工程系2012届 机械设计制造及其自动化专业 毕业论文(设计) 难忘。他一丝不茍的工作态度和认真负责的敬业精神同样给了我巨大的收益和鼓舞。这些都将使我受益匪浅,同时也要感谢我的父母,不是你们我就不可能在大学校园里,也就不可能有这个毕业设计!

最后,我要以最真挚的感情来感谢指导本次毕业设计中的指导老师,是您用辛勤的劳动、无私的奉献和渊博的知识换来了我的毕业设计。同时感谢各位同学对我的帮助,只有我们不断的努力学习,明天才会更加美好。

23

德州学院毕业(论文)设计评语

院 (系): 机 电 工 程 系 专 业:机械设计制造及其自动化 学生姓名: 李瑞涛 学 号: 200811705106 题 目: 基于单片机的温湿度监测控制系统设计 指导教师评语:

评定成绩: 指导教师签名:

年 月 日


基于单片机的温湿度检测控制系统设计-精品 - 图文(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:大众西路泡沫轻质土施工方案 - 图文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: