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

ESP32-Based Environmental Monitoring System with Ultrasonic, Gas, and IR Sensors

View and Edit Project In Cirkit DesignerImage of ESP32-Based Environmental Monitoring System with Ultrasonic, Gas, and IR Sensors

Circuit Documentation

Summary of the Circuit

This circuit integrates various sensors and output devices with an ESP32 microcontroller to form a multifunctional system. The ESP32 serves as the central processing unit, interfacing with an ultrasonic sensor (HC-SR04), an infrared sensor, a servomotor (SG90), an OLED display, and an MQ-2 gas sensor. The circuit is designed to monitor and respond to environmental inputs, display information, and actuate a mechanical response via the servomotor.

Component List

ESP 32 DEVKIT V1 (30 pins)

HC-SR04 Ultrasonic Sensor

IR Sensor

Servomotor SG90

OLED 1.3"

MQ-2 Sensor

Wiring Details

ESP 32 DEVKIT V1 (30 pins)

HC-SR04 Ultrasonic Sensor

IR Sensor

Servomotor SG90

OLED 1.3"

MQ-2 SENSOR

Documented Code

No code was provided for the microcontrollers in the circuit. To fully utilize the hardware, embedded code should be written and uploaded to the ESP32 microcontroller. The code should initialize and read from the sensors, control the servomotor, and manage the display on the OLED screen based on the sensor inputs and desired application logic.