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

ESP32-Based Smart Home Automation System with Ultrasonic, PIR, and DHT11 Sensors

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Home Automation System with Ultrasonic, PIR, and DHT11 Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various sensors, a relay, a servo motor, an LED, and an ESP32 microcontroller. The circuit is designed to interface with multiple sensors and actuators, providing a comprehensive setup for a variety of applications such as environmental monitoring and control.

Component List

  1. Servo

    • Pins: GND, VCC, PWM
    • Description: A servo motor used for precise control of angular position.
    • Purpose in Circuit: Actuator for mechanical movement.
  2. HC-SR04 Ultrasonic Sensor

    • Pins: VCC, TRIG, ECHO, GND
    • Description: An ultrasonic sensor used for distance measurement.
    • Purpose in Circuit: Distance measurement.
  3. 12V SINGLE CHANNEL RELAY

    • Pins: NC, COM, NO, IN, GND, VCC
    • Description: A relay used to control high voltage devices.
    • Purpose in Circuit: Switch for high voltage devices.
  4. DHT11 Humidity and Temperature Sensor

    • Pins: VDD, DATA, NULL, GND
    • Description: A sensor used to measure humidity and temperature.
    • Purpose in Circuit: Environmental monitoring.
  5. PIR Sensor

    • Pins: GND, VCC, Data
    • Description: A passive infrared sensor used for motion detection.
    • Purpose in Circuit: Motion detection.
  6. LED: Two Pin (red)

    • Pins: cathode, anode
    • Description: A red LED used for visual indication.
    • Purpose in Circuit: Visual indicator.
  7. ESP32 (30 pin)

    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
    • Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
    • Purpose in Circuit: Central control unit.
  8. Resistor

    • Pins: pin1, pin2
    • Description: A resistor with a resistance of 220 Ohms.
    • Purpose in Circuit: Current limiting for the LED.

Wiring Details

Servo

HC-SR04 Ultrasonic Sensor

12V SINGLE CHANNEL RELAY

DHT11 Humidity and Temperature Sensor

PIR Sensor

LED: Two Pin (red)

Resistor

ESP32 (30 pin)

Code

No code provided for this circuit.


This document provides a comprehensive overview of the circuit, including a detailed list of components and their wiring connections. This should serve as a useful reference for building and troubleshooting the circuit.