基于单片机的家用热水器控制器设计毕业设计论文
- 格式:doc
- 大小:77.50 KB
- 文档页数:12
优秀论文审核通过
未经允许切勿外传
摘要
我的毕业设计题目是:基于单片机的家用热水器控制器的设计。目前热水器已成为日常生活中不可缺少的家用电器,设计制造更实用、更方便、更安全、更节能的热水器是产品设计师和生产厂商不断追求的目标[1]。家用热水器具有体积小、使用安全、安装方便等优点。系统硬件电路设计包括加热控制、温度检测等电路的设计。电热水器是一种可供洗手间、厨房、浴室使用的家用电器,具有无污染、安全、保温时间长、使用方便等优点。随着人民生活水平的不断提高和我国电力工业的不断发展,电热水器得到不断普及。本文给出了一种基于51单片机实现的热水器电加热器的设计方案。本文运用以AT89S51为控制核心的方法,提出了利用DS18B20来实现温度检测,并设计一个由继电器控制的电路,利用继电器来改变小电流控制的电路功率,构建了一个加热控制电路,从而得出了可以实现加热以及保温的结论。
关键字:热水器,单片机,DS18B20温度检测器,继电器
Micro-controller of water
Abstract
My graduation project topic is: the design of micro controller-based the daily life of and manufacture of more practical, more convenient, safer, more energy-efficient water including circuit design.Electric water available toilet, kitchen, bathroom and , safe, long this paper, based on 51 single-chip design of the auxiliary this paper, AT89S51 as the control core, DS18B20 temperature detection, and to design a relay control circuit, use the relay to change the small-current control circuit power to build a order to get conclusion of water be achieved and the keeping of temperature.. Keywords:Water &Instrumentation,2010(7):24-27
[10] 李章勇,官方勇.太阳能热水器智能控制器研制[J].2008年家用自动控制器技术国际研讨会,2008(11):
[11] 苗红蕾.一款新型的智能家用电热水器[J].邢台职业技术学院学报,2005(11):60-63
[12] 郁玉龙,赵宁卢,洪武.用AT89C51单片机设计智能家用电热水器[J].实用电子制作,2007(10):33-35
[13] 蔡满军,吴磊.智能温度控制器的设计[J].自动化仪表,2010(10):68-75
[14] Huang Dinp jin,Fei Han,Li Liang,Zhu Yun zhou.Design for N+I Fault-tolerant Integrated Solar Controller[J].Automation&Instrumentation,2010(10):
[15]Surachai Panich.Development of Fuzzy Controller for Water Level in Stream Boiler Tank[J].Journal of Computer Science,2010(11):
附录一原理图
附录二PCB图
、
附录三仿真图
附录四程序
*头文件*
#include sbit p15 = P1^5; sbit p16 = P1^6; sbit p30 = P3^0; sbit p31 = P3^1; sbit k0 = P1^0; sbit k1 = P1^1; sbit k2 = P1^2; sbit k3 = P1^3; uchar table1[] =" chen bei bei "; uchar table2[] =" TEMP:00.0C "; uchar table3[] =" SET TEMP: "; uchar table4[] ="H:60C L:40C"; uchar table[]; uchar H = 60,L = 40; *1MS为单位的延时程序* void delay_1ms(uint x) { uchar j; while(x--){ for(j=0;j<125;j++) {;} } } *1602函数* void write_com(uint com) { lcdrs=0; rw=0; P0=com; delay_1ms(1); lcden=1; delay_1ms(1); lcden=0; } void write_date(uint date) { lcdrs=1; rw=0; P0=date; delay_1ms(1); lcden=1; delay_1ms(1); lcden=0; } void lcd_init() { lcden=0; write_com(0x38); write_com(0x0c); write_com(0x06); write_com(0x01); write_com(0x80); } void set(uchar add,uchar dat) { uchar shi,ge; shi = dat10;