ESP32-C3 Controlled Automated Watering and Monitoring System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates various sensors, actuators, and modules to form a complex system, likely intended for environmental monitoring and control. The central processing unit is the NodeESP32-C3 microcontroller, which interfaces with a pH meter, light sensor, water level sensor, two servo motors, a real-time clock (RTC) module, a relay module, a water pump, and an LED strip. The power supply provides the necessary voltage to the relay module and the water pump. A resistor is used in series with the LED strip, presumably for current limiting purposes.
Component List
NodeESP32-C3
- Microcontroller with various GPIOs, power, and control pins.
- Used as the main processing unit of the circuit.
Servo (2 instances)
- Actuator that can be positioned to specific angles using PWM signals.
- Used for precise control of mechanical components.
pH Meter V1.1
- Sensor for measuring the acidity or alkalinity of a solution.
- Provides data input to the microcontroller for analysis.
Water Level Sensor
- Sensor for detecting the level of water in a container.
- Sends signals to the microcontroller for water level monitoring.
Light Sensor
- Sensor for measuring light intensity.
- Provides ambient light data to the microcontroller.
Water Pump
- Electric pump for moving water.
- Controlled by the relay module, powered by the power supply.
Relay Module
- Electrically operated switch that allows control of a high-power circuit by a low-power signal.
- Used to control the water pump.
Power Supply
- Provides electrical power to the circuit.
- Supplies voltage to the relay module and the water pump.
RTC Module
- Real-time clock for keeping track of the current time and date.
- Provides time data to the microcontroller.
LED Strip
- A strip of LEDs used for lighting.
- Controlled by the microcontroller, with current limiting provided by a resistor.
Resistor
- Passive two-terminal electrical component that implements electrical resistance.
- Used in series with the LED strip for current limiting.
Wiring Details
NodeESP32-C3
A0connected to pH Meter (DATA) and Light Sensor (SIG)GNDconnected to Light Sensor, Relay Module, Water Level Sensor, RTC Module, pH Meter, and LED Strip3V3connected to Servo, Light Sensor, Water Level Sensor, RTC Module, and pH Meter5Vconnected to Relay ModuleGPIO2connected to RTC Module (SDA)GPIO19connected to Relay Module (INPUT)GPIO18connected to RTC Module (SCL)GPIO9connected to Resistor (pin2)GPIO5connected to Water Level Sensor (SIG) and Servo (pulse)GPIO8connected to Servo (pulse)
Servo
vccconnected to NodeESP32-C3 (3V3)gndconnected to NodeESP32-C3 (GND)pulseconnected to NodeESP32-C3 (GPIO5 or GPIO8)
pH Meter V1.1
DATAconnected to NodeESP32-C3 (A0)VCCconnected to NodeESP32-C3 (3V3)GNDconnected to NodeESP32-C3 (GND)
Water Level Sensor
SIGconnected to NodeESP32-C3 (GPIO5)VCCconnected to NodeESP32-C3 (3V3)GNDconnected to NodeESP32-C3 (GND)
Light Sensor
SIGconnected to NodeESP32-C3 (A0)UCCconnected to NodeESP32-C3 (3V3)GNDconnected to NodeESP32-C3 (GND)
Water Pump
positiveconnected to Power Supply (+)negativeconnected to Power Supply (-)
Relay Module
NCconnected to Power Supply (+)INPUTconnected to NodeESP32-C3 (GPIO19)GNDconnected to NodeESP32-C3 (GND)VCCconnected to NodeESP32-C3 (5V)
Power Supply
+connected to Relay Module (NC) and Water Pump (positive)-connected to Water Pump (negative)
RTC Module
SCLconnected to NodeESP32-C3 (GPIO18)SDAconnected to NodeESP32-C3 (GPIO2)VCCconnected to NodeESP32-C3 (3V3)GNDconnected to NodeESP32-C3 (GND)
LED Strip
Bconnected to Resistor (pin1)+12Vconnected to LED Strip (GND)
Resistor
pin1connected to LED Strip (B)pin2connected to NodeESP32-C3 (GPIO9)
Documented Code
No code was provided for the microcontroller(s) in the circuit. Typically, the code would be documented here, including descriptions of the functionality, setup, and main loop, along with any functions or libraries used.