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

ESP32-Based Precision Weighing System with RTC and Servo Control

Image of ESP32-Based Precision Weighing System with RTC and Servo Control

Circuit Documentation

Summary

This circuit integrates an ESP32 microcontroller with several peripheral components to perform specific tasks. The ESP32 is connected to a DS3231 Real-Time Clock (RTC) for timekeeping, a servo motor for actuation, and a load cell with an HX711 amplifier for weight measurement. The circuit is designed to measure weight, keep track of time, and perform actions based on the input from the load cell, with the capability to drive a servo motor.

Component List

ESP32 (30 pin)

  • Description: A microcontroller with Wi-Fi and Bluetooth capabilities, featuring a wide range of GPIO pins.
  • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3

DS3231 RTC

  • Description: A highly accurate I2C real-time clock with an integrated temperature-compensated crystal oscillator (TCXO) and crystal.
  • Pins: 32K, SQW, SCL, SDA, VCC, GND

Servo

  • Description: An actuator capable of precise angular positioning, commonly used in remote-controlled devices.
  • Pins: GND, VCC, PWM

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+

SparkFun Load Cell Amplifier - HX711

  • Description: An amplifier specifically designed for load cells to output a digital signal, interfacing with microcontrollers.
  • Pins: GND, CLK, DAT, VCC, YLW, GRN, WHT, BLK, RED, B-, B+

Wiring Details

ESP32 (30 pin)

  • D25 connected to Servo (PWM)
  • D22 connected to DS3231 RTC (SCL)
  • D21 connected to DS3231 RTC (SDA)
  • D19 connected to SparkFun Load Cell Amplifier - HX711 (DAT)
  • D18 connected to SparkFun Load Cell Amplifier - HX711 (CLK)
  • GND connected to common ground net
  • 3V3 connected to common VCC net

DS3231 RTC

  • SCL connected to ESP32 (D22)
  • SDA connected to ESP32 (D21)
  • VCC connected to common VCC net
  • GND connected to common ground net

Servo

  • PWM connected to ESP32 (D25)
  • VCC connected to common VCC net
  • GND connected to common ground net

Load Cell - Red/white/black/green

  • E+ connected to SparkFun Load Cell Amplifier - HX711 (RED)
  • A- connected to SparkFun Load Cell Amplifier - HX711 (WHT)
  • E- connected to SparkFun Load Cell Amplifier - HX711 (BLK)
  • A+ connected to SparkFun Load Cell Amplifier - HX711 (GRN)

SparkFun Load Cell Amplifier - HX711

  • DAT connected to ESP32 (D19)
  • CLK connected to ESP32 (D18)
  • GND connected to common ground net
  • VCC connected to common VCC net
  • RED connected to Load Cell (E+)
  • WHT connected to Load Cell (A-)
  • BLK connected to Load Cell (E-)
  • GRN connected to Load Cell (A+)

Documented Code

No code has been provided for the microcontrollers in the circuit. The documentation of the code would typically include a description of the functionality, setup, and loop routines, along with any functions or libraries used to interface with the peripherals. Since no code is available, this section cannot be completed.