Abstract
With the rapid development of the national economy, people's demands for quality of life are increasing. As a daily household appliance, water heater has become one of people's focus. The traditional water heater only has simple functions such as heating, water filling, and indicator lights, which are difficult to meet people's needs. To address this issue, this design proposes a water heater control system based on a single chip microcomputer. This design is mainly divided into hardware system design and software system design. The hardware system design includes the AT89S52 single chip microcomputer, power supply circuit, display circuit, indicator light circuit, temperature measurement circuit, water level detection circuit, alarm circuit, remote control receiving circuit, water injection relay control circuit, reset circuit, crystal oscillator circuit, and key circuit. The software system design mainly uses C language to write programs, and simulation is done with the combination of KEIL software and PROTEUS software. The goal is to design an intelligent water heater that allows users to set temperature range and appointment time with a remote control, and displays temperature and time on an LCD1602 screen, while also having an alarm function. When the water heater is in operation, corresponding indicator lights light up for heating, water filling, and water shortage. When the water level of the water heater reaches the upper limit, the buzzer starts to alarm. Through simulation, debugging, and physical production, this water heater control system design can achieve the preset functions, providing a certain data reference for further research and application. Keywords: single chip microcomputer; sensor; water heater.