毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C51单片机水温控制器的设计+源程序+电路图

时间:2020-07-06 21:19来源:毕业论文
以AT89C51单片机和DS18B20温度传感器设计一个智能水温控制系统。该系统的温度采集及初步处理由DS18B20温度芯片完成,AT89C51单片机负责温度的采集及相应的控制,由LCD1602显示实时温度以及

摘要:本设计以AT89C51单片机和DS18B20温度传感器设计一个智能水温控制系统。该系统的温度采集及初步处理由DS18B20温度芯片完成,AT89C51单片机负责温度的采集及相应的控制,由LCD1602显示实时温度以及温度的状态。该系统由DS18B20采集的温度通过单总线方式传输给单片机进行处理,当水温高于设定的最高温度时报警,红灯亮同时启动降温电机。但水温低于设定的最低温度时报警,黄灯亮同时启动加热电机,当水温在正常范围20℃~80℃内是绿灯亮。先在keil中进行了编译,调试,然后在画好的proteus中进行硬件仿真。结果表明该系统的硬件和软件能正常工作,可以实现相应的功能。52053

毕业论文关键词:AT89C51单片机  DS18B20温度芯片  LCD1602显示屏   水温控制

Abstract: This design uses AT89C51 MCU and DS18B20 temperature sensor design an intelligent temperature control system. The system of temperature acquisition and preliminary processing performed by DS18B20, AT89C51 is responsible for the collection of temperature and the corresponding control, by the LCD1602 display real-time temperature and temperature condition. The system is composed of DS18B20 collecting temperature through single way of bus transmission to the single chip microcomputer for processing, when the water temperature is higher than the highest temperature set alarm, red light at the same time, start the motor cooling. But when the water temperature is lower than the minimum temperature set alarm, yellow lights start heating machine at the same time, when the water temperature is 20 ℃ ~ 80 ℃ in the normal range is within the green light. First compiled in the keil, debugging, and then draw a good hardware simulation proteus. Results show that the hardware and software of the system can work normally, can realize the corresponding function.

Keywords:  AT89C51microcontroller,DS18B20,LCD1602 display ,water temperature control

目录

1 引言 4

1.1 课题研究的背景 4

1.2 水温控制器系统的基本要求 4

2 硬件电路模块的设计 4

2.1总体方案的设计 4

2.2 AT89C51单片机介绍 5

2.2.1主要特性 5

2.2.2 引脚说明 6

2.2.3 结构特点 8

2.3  时钟电路和复位电路 8

2.4 温度传感器电路模块 9

2.4.1 DS18B20的主要特性 9

2.4.2 DS18B20的外形和内部结构 9

2.5 显示模块电路 10

2.5.1 LCD显示屏基本特性及引脚 11

2.5.2 LCD的指令说明及时序 12

2.6 报警电路模块 14

3 软件电路模块的设计 15

3.1 总系统工作流程 15

3.2主程序流程图及代码 16

3.3温度采样子程序流程图及代码 17

3.4 温度处理及显示子程序流程图及代码 17

3.5报警子程序和温度调节程序流程图及代码 19

4 系统仿真图演示 21

结论 AT89C51单片机水温控制器的设计+源程序+电路图:http://www.751com.cn/zidonghua/lunwen_55876.html

------分隔线----------------------------
推荐内容