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

ESP32-Controlled Water Pump with UV Sensing

View and Edit Project In Cirkit DesignerImage of ESP32-Controlled Water Pump with UV Sensing

Circuit Documentation

Summary of the Circuit

This circuit is designed to control a Mini Diaphragm Water Pump using an ESP32 microcontroller and a 1 Channel 5V Relay Module. The ESP32 is used to trigger the relay, which in turn controls the power to the water pump. The pump is powered by a 12v power supply. Additionally, the circuit includes a Flora SI1145 UV Sensor for measuring UV levels, which interfaces with the ESP32 via I2C communication.

Component List

ESP32 - 38 pins

Mini Diaphragm Water Pump

1 Channel 5V Relay Module

12v Power Supply

Flora SI1145 UV Sensor

Wiring Details

ESP32 - 38 pins

Mini Diaphragm Water Pump

1 Channel 5V Relay Module

12v Power Supply

Flora SI1145 UV Sensor

Documented Code

No code has been provided for the microcontroller. The ESP32 would typically be programmed to control the relay based on sensor inputs or external commands, and to read data from the UV sensor. The code would be responsible for initializing the GPIO pins, setting up I2C communication, and implementing the control logic for the relay and data acquisition from the UV sensor.