文档介绍:目录
摘要 1
关键词 1
1 前言 2
研究的目的及意义 2
车载饮水机的发展趋势 2
主要研究的内容 3
2 系统总体的设计 3
硬件总体的设计 3
软件总体的设计 4
3 硬件系统设计 5
硬件电路分析和设计报告 5
单片机最小系统电路 5
水位检测电路 7
键盘电路 7
数码管及指示灯显示电路 8
温度采集电路 9
电源电路 14
报警电路设计 15
加热管控制电路设计 16
系统硬件总图 17
4 系统总设计 18
主程序流程图 18
各个模块的流程图 19
读取温度DS18B20模块的流程 19
键盘扫描处理流程 22
报警处理流程 22
系统源代码 23
5 系统调试 31
软件调试 31
系统操作说明 32
数据测试 32
社会效益 33
6 结论 33
参考文献 34
致谢 34
附录 35
基于单片机的车载自动饮水机控制系统的设计
摘要:温度控制系统可以说是无所不在,热水器系统、空调系统、冰箱、电饭煲、电风扇等家电产品以至手持式高速高效的计算机和电子设备,均需要提供温度控制功能。本系统的设计可以用于热水器温度控制系统和饮水机等各种电器电路中。它以单片机AT80C51为核心,通过3个数码管显示温度和4个按键实现人机对话,使用单总线温度转换芯片DS18B20实时采集温度并通过数码管显示,并提供各种运行指示灯用来指示系统现在所处状态,如:温度设置、加热、停止加热等,整个系统通过四个按键来设置加热温度和控制运行模式。
关键词: 单片机;数码管显示;单总线;DS18B20
The Design of Automatic Drinking Machine Control System Based On Single Chip puter On-board
Abstract:Temperature control system can be said to be ubiquitous, water heaters system, air conditioning systems, refrigerators, rice cookers, electric fans and other home appliances as well as high-speed and efficient hand-puters and electronic equipment are required to provide temperature control. The system design can be used for drinking water heater temperature control systems and other electrical circuits. AT80C51 microcontroller as the core of it, through the three temperature digital display and 4 keys to achieve man-machine dialogue, the use of single-chip bus temperature conversion
temperature DS18B20 real-time acquisition and through the digital display and offers a variety of operating light to indicate system now live in the state, such as: temperature setting, heating, and stop heating, the entire system through the four buttons to set the heating temperature and control the operating mode.
Key words:Microcontroller;Digital Display;Single Bus;DS18B20
1 前言
研究的目的及意义
本设计是基于单片机的车载自动饮水机控制系统的设计,此设计主要是要求采用单片机为控制核心,设计车载自动饮水机电控系统,并对饮水机的温度控制,使其在工作中达到预期的目的效果。
而车载