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

ESP32-Based Load Measurement and Distance Sensing System with LCD Display

Image of ESP32-Based Load Measurement and Distance Sensing System with LCD Display

Circuit Documentation

Summary of the Circuit

This circuit integrates various components to perform a set of functions centered around the ESP32 Wroom Dev Kit, which acts as the main controller. The circuit includes a load cell interfaced through an HX711 bridge sensor interface for weight measurement, an LCD screen for data display, and an HC-SR04 ultrasonic sensor for distance measurement. The ESP32 microcontroller is responsible for processing the data from the sensors and managing the display output.

Component List

ESP 32 Wroom Dev Kit

  • Description: A microcontroller development board based on the ESP32 chip, suitable for a variety of IoT applications.
  • Pins: 3V3, EN, VP, VN, GPIOs, GND, SDx, CMD, V5, TXD, RXD

Load Cell - Red/white/black/green

  • Description: A transducer that converts force into an electrical signal, used for weight measurement.
  • Pins: E+, A-, E-, A+

HX711 - Bridge Sensor Interface

  • Description: A precision 24-bit analog-to-digital converter (ADC) designed for weigh scales and industrial control applications to interface directly with a bridge sensor.
  • Pins: E+, E-, A-, A+, B-, B+, GND, DATA, SCK, 3.3/3.5V Supply

LCD screen 16x2 I2C

  • Description: A 16x2 character LCD display with an I2C interface for displaying information.
  • Pins: SCL, SDA, VCC, GND

HC-SR04 Ultrasonic Sensor

  • Description: An ultrasonic ranging module that provides 2cm to 400cm non-contact measurement functionality.
  • Pins: VCC, TRIG, ECHO, GND

Wiring Details

ESP 32 Wroom Dev Kit

  • 3V3 to HX711 3.3/3.5V Supply
  • 3V3 to HC-SR04 VCC
  • GPIO 14 to HX711 DATA (OUT)
  • GPIO 14 to HX711 SCK - CLOCK (IN)
  • GND to HX711 GND - GROUND
  • GND to LCD screen GND
  • GND to HC-SR04 GND
  • V5 to LCD screen VCC
  • GPIO 22 to LCD screen SCL
  • GPIO 21 to LCD screen SDA
  • GPIO 5 to HC-SR04 TRIG
  • GPIO 4 to HC-SR04 ECHO

Load Cell - Red/white/black/green

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

HX711 - Bridge Sensor Interface

  • E+ to Load Cell E+
  • A- to Load Cell A-
  • E- to Load Cell E-
  • A+ to Load Cell A+
  • 3.3/3.5V Supply to ESP32 3V3
  • GND - GROUND to ESP32 GND
  • DATA (OUT) to ESP32 GPIO 14
  • SCK - CLOCK (IN) to ESP32 GPIO 14

LCD screen 16x2 I2C

  • SCL to ESP32 GPIO 22
  • SDA to ESP32 GPIO 21
  • VCC to ESP32 V5
  • GND to ESP32 GND

HC-SR04 Ultrasonic Sensor

  • VCC to ESP32 3V3
  • TRIG to ESP32 GPIO 5
  • ECHO to ESP32 GPIO 4
  • GND to ESP32 GND

Documented Code

No code has been provided for the microcontrollers in the circuit. The documentation for the embedded code will be added once the code is available. The code would typically include initialization routines for the I2C interface, setup for GPIO pins, and logic for reading sensor data and displaying it on the LCD screen.