Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

ESP32-Controlled Smart Irrigation and Lighting System

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Smart Irrigation and Lighting System

Circuit Documentation

Summary

This circuit is designed to interface an ESP32 microcontroller with various sensors and actuators, including an HC-SR04 ultrasonic sensor, a soil moisture sensor, a 4-channel relay module, two water pumps, an AC-to-DC converter (actodc), and multiple power sources including a 220V power supply. The ESP32 reads sensor data and controls the relays, which in turn manage the power to the water pumps and bulbs. The AC-to-DC converter supplies 5V to the low-voltage components, while the 220V power supply is used for the high-voltage components through the relay modules.

Component List

ESP32 (30 pin)

HC-SR04 Ultrasonic Sensor

Soil Moisture Sensor

4 Channel Relay Module

Water Pump

AC-to-DC Converter (actodc)

Power 220V

1 Channel 5V Relay Module

Bulb

Wiring Details

ESP32 (30 pin)

HC-SR04 Ultrasonic Sensor

Soil Moisture Sensor

4 Channel Relay Module

Water Pump

AC-to-DC Converter (actodc)

Power 220V

1 Channel 5V Relay Module

Bulb

Documented Code

No code was provided for the microcontrollers in the circuit. The documentation of the code would typically include descriptions of the functions, algorithms, and logic used to control the sensors and actuators based on the inputs and desired behavior. It would also include any libraries used, setup and loop functions, and any interrupt service routines or callbacks. Since no code is available, this section cannot be completed.