Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP32-Based Water Flow and Weight Monitoring System with Audible Alerts

Image of ESP32-Based Water Flow and Weight Monitoring System with Audible Alerts

Circuit Documentation

Summary

The circuit in question is designed to interface various sensors and modules with an ESP32 microcontroller. The primary components include a piezo speaker, a load cell, an LCD I2C module, an HX711 bridge sensor interface, and a water flow rate sensor. The ESP32 serves as the central processing unit, reading sensor data, controlling the LCD display, and driving the piezo speaker. The HX711 is used to interface the load cell with the ESP32, allowing for precise weight measurements. The water flow rate sensor is connected to the ESP32 to monitor the flow of liquids. The LCD module provides a user interface to display data collected from the sensors.

Component List

Piezo Speaker

A simple audio output device that can be used to generate tones or simple beeps.

Load Cell - Red/white/black/green

A transducer that converts force into an electrical signal, used for weight measurement.

MKE-M08 LCD2004 I2C Module

An LCD display module with an I2C interface, used for displaying information such as sensor readings.

HX711 - Bridge Sensor Interface

A precision 24-bit analog-to-digital converter (ADC) designed for weigh scales and industrial control applications to interface directly with a bridge sensor.

Water Flow Rate Sensor YF-S401

A sensor used to measure the rate of water flow through a pipe.

ESP32

A powerful microcontroller with Wi-Fi and Bluetooth capabilities, used as the main controller for the circuit.

Wiring Details

Piezo Speaker

  • pin2 connected to ESP32 D26

Load Cell - Red/white/black/green

  • E+ connected to HX711 E+
  • A- connected to HX711 A-
  • E- connected to HX711 E-
  • A+ connected to HX711 A+

MKE-M08 LCD2004 I2C Module

  • GND connected to ESP32 GND
  • 5V connected to ESP32 VIN
  • SDA connected to ESP32 D21
  • SCL connected to ESP32 D22

HX711 - Bridge Sensor Interface

  • 3.3/3.5V Supply connected to ESP32 3V3
  • GND - GROUND connected to ESP32 GND
  • SCK - CLOCK (IN) connected to ESP32 D19
  • DATA (OUT) connected to ESP32 D23

Water Flow Rate Sensor YF-S401

  • GND negative connected to ESP32 GND
  • IN positive connected to ESP32 3V3
  • OUT signal output connected to ESP32 D34

Documented Code

No code was provided for the microcontrollers in the circuit. To fully utilize the hardware, embedded code should be written and loaded onto the ESP32. The code should initialize and read from the sensors, control the LCD display, and generate audio signals with the piezo speaker based on the sensor inputs and other logic as required by the application.