【Open source】Constant Pressure Water Supply System Based on COF Screen ——From DWIN Develop Forum

1. Working principle
The solution uses the COF screen DMG80480F070_01WTR, which uses the T5L chip as the main control to receive and process the water supply data collected by the sensors, drive the LCD screen for data display and control the inverter to adjust the pump motor speed to achieve a constant and stable effect of the water supply system. There are abnormal warning and time-sharing water supply setting functions.
image1
2. Scheme design
(1) Scheme block diagram
(2)Hardware block diagram
image2
(3)DGUS GUI interface design
image3

image4
(4)Circuit Design
1.AD
Mainly collects conventional 4-20MA/0-5V sensors, converts the voltage-current type to 0-3V, and after AD calculation can obtain the corresponding sensor data.
image5

image6
image7

AD Reference Code

2.DA
The pwm is used to control the analogue voltage and outputs a 0-10V control signal through the op-amp.
image8

DC detection schematic

image9

DC hardware schematic

image7

DC Reference Code

3.IO input section
Mainly optocoupler inputs, T5L detects the corresponding level changes.
image11

IO hardware schematic

image12

IO Input Reference Code

4.IO output
The IO main Darlington Transistor outputs control relays and the IO controls high and low levels.
image13

Relay Hardware Schematic

image14

Relay Reference Code

5.RTC
RX8130, 2-wire communication.
image15

RTC Hardware Schematic

image16

RTC Reference Code

6.485
Mainly use hardware to control the send and receive pins.
image17

485 Hardware Schematic

7.PID
The positional PID algorithm is mainly used, the output is limited, pay attention to the saturation of the integral term, and the result is to control the analog voltage for the PWM.
image18
8.Other codes
Automatic setting of the start pressure according to the time.
image19


Post time: Nov-30-2022