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

ESP32-Based Smart Environment Controller with Relay and Sensor Integration

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Environment Controller with Relay and Sensor Integration

Circuit Documentation

Summary

The circuit in question is designed to interface various sensors and modules with an ESP32 microcontroller. The circuit includes a relay module for controlling AC loads, a PTC for circuit protection, an infrared temperature sensor (mlx90614), an AC power source, an AC-to-DC converter (actodc), an ultrasonic sensor (HC-SR04), an I2C LCD display, and a fan. The ESP32 serves as the central processing unit, controlling the relay, reading sensor data, and displaying information on the LCD. The mlx90614 and LCD communicate with the ESP32 via I2C, while the HC-SR04 interfaces through GPIO pins. The fan is powered by the circuit, and the AC-to-DC converter supplies the necessary voltages for the components.

Component List

KY-019 Relay Module 1 Channel

PTC (Positive Temperature Coefficient)

mlx90614 Infrared Temperature Sensor

AC Source

actodc (AC to DC Converter)

ESP32 - 38 Pins Expansion Board

HC-SR04 Ultrasonic Sensor

LCD Display 16x4 I2C

Fan

Wiring Details

KY-019 Relay Module 1 Channel

PTC (Positive Temperature Coefficient)

mlx90614 Infrared Temperature Sensor

AC Source

actodc (AC to DC Converter)

ESP32 - 38 Pins Expansion Board

HC-SR04 Ultrasonic Sensor

LCD Display 16x4 I2C

Fan

Documented Code

No code was provided for the microcontrollers in the circuit. Therefore, this section is left blank until the relevant code is supplied.