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

ESP32-Based Smart Home Automation System with Temperature and Gas Monitoring

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Home Automation System with Temperature and Gas Monitoring

Circuit Documentation

Summary

This circuit involves an ESP32 microcontroller interfacing with various components including a DC motor, temperature sensor (LM35), NPN transistor, LEDs, resistors, a piezo buzzer, a servo motor, and an MQ 135 gas sensor. The circuit is designed to control and monitor these components, with the ESP32 serving as the central control unit.

Component List

DC Motor

Temperature Sensor (LM35)

NPN Transistor (CBE)

LED: Two Pin (red)

LED: Two Pin (green)

Resistor (220 Ohms)

Resistor (1000 Ohms)

Piezo Buzzer

Diode

MQ 135

Tower Pro SG90 Servo

ESP32

Wiring Details

DC Motor

Temperature Sensor (LM35)

NPN Transistor (CBE)

LED: Two Pin (red)

LED: Two Pin (green)

Resistor (220 Ohms)

Resistor (1000 Ohms)

Piezo Buzzer

Diode

MQ 135

Tower Pro SG90 Servo

ESP32

Documented Code

ESP32 Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the ESP32 microcontroller. The setup function is where you initialize your components and configurations, and the loop function is where you place the code that needs to run continuously.