摘要:传统的饮水机功能单一并且存在对水反复加热能耗过大等问题.本课题拟设计智能饮水机以单片机为控制核心,附以防水型温度传感器DS18b20,液晶屏LCD1602,液位开关,时钟芯片设计一个智能饮水机,具有加热加水定时和实时显示时间的功能。正常情况下,LCD1602显示时间日期和水温,使用不锈钢的液位开关来检测是否有水源,有水则根据设定时间段和水温来判断是否需要加热,没水时启动对应指示灯和蜂鸣器报警,同时启动小风扇转动模拟加水动作,用防水型温度传感器DS18B20进行测温,需要将测温体放入水中,才能测量水温,水温范围0-100度,可以通过按键设定实时时间,定时时间段,水温。60695
毕业论文关键词: AT89C51,DS18b20,LCD1602,智能饮水机
Abstract: The traditional drinking water machine function single and has to repeatedly water heating energy consumption is too large problem. This paper intends to design intelligent drinking machine with single chip microcomputer as the control core, attached to waterproof type temperature sensor DS18B20, LCD LCD1602, liquid level switch, clock chip design a intelligent drinking machine, with heating water timing and real-time display of time function.Under normal circumstances, LCD1602 display date and time and temperature, using stainless steel liquid level switch to detect whether there is water, water is according to the set period of time and temperature to determine whether there is a need for heating, no water to start up the corresponding indicating lamp and the buzzer alarm, and start a small fan rotation simulation water action, with waterproof type temperature sensor DS18B20 temperature measurement, the thermometer body into the water, to measure the water temperature, the temperature range 0-100 degrees, you can through the button to set the real time, period of time and water temperature.
Key words: AT89C51,DS18b20,LCD1602,Intelligent Drinking Machine
目录
1绪论 4
1.1本课题研究的意义 4
1.2本课题的主要内容 4
2系统总体设计方案 4
2.1系统简介 4
2.2系统功能方块图 4
2.3各模块功能的介绍 5
2.4硬件方案的选择 5
3 硬件电路设计 7
3.1 单片机最小系统 7
3.2 备用电源电路 9
3.3 温度传感器电路 9
3.4 显示电路 11
3.5 报警电路 12
3.6 继电器加热电路 13
3.7 硬件电路仿真图 13
4 系统软件设计 14
4.1 总程序流程 14
4.2温度采集子程序 15
4.3 液晶显示子程序 16
4.4 执行加热子程序 16
总结与展望 18
参考文献 19
致谢 20
附录(程序) 21
1绪论
1.1本课题研究的意义
现在,饮水机已进入千家万户,然而绝大多数饮水机也只具有加热或制冷功能,而且具体温度也无法知晓,更无法实现对温度的实时控制。传统的饮水机功能单一并且存在对水反复加热能耗过大等问题。本课题的研究可使饮水机智能化,能够实时地监测水温,显示时间和温度,同时还能够自动的加热水源。