2022 To use this code, you will need the following hardware components:
- ESP32 board
- A water flow meter
- An LCD screen
- Jumper wires
- Install the Arduino software on your computer.
- Connect the water flow meter to your ESP32 board using jumper wires.
- Connect the LCD screen to your ESP32 board using jumper wires.
- Open the Arduino software and copy and paste the code into a new sketch.
- Upload the sketch to your ESP32 board.
When the flow rate is below the setpoint, pin 4 of the board is set to LOW, and when it's above the setpoint, pin 4 is set to HIGH. You can also view the water flow rate on the serial monitor.
Make sure that the water flow meter is compatible with the ESP32 board before using this code. The pin numbers used in the code may need to be changed depending on the specific board being used. Additionally, the LCD address in the code should be changed to match the address of your specific LCD screen.This code is licensed under the MIT License. See the LICENSE file for details.