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

ESP32-Based Smart Home Automation System with RFID and Solenoid Control

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Home Automation System with RFID and Solenoid Control

Circuit Documentation

Summary

This circuit involves an ESP32 microcontroller interfacing with various components including an LED, a buzzer, an RFID reader, a DHT22 sensor, a relay, a solenoid, and a 9V battery. The ESP32 controls these components to perform various tasks such as reading RFID tags, sensing temperature and humidity, and controlling a solenoid via a relay.

Component List

  1. LED: Two Pin (red)

    • Pins: cathode, anode
    • Description: A red LED used for visual indication.
    • Purpose in Circuit: Provides visual feedback.
  2. 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 for the circuit.
  3. 1-Channel Relay (5V 10A)

    • Pins: NC, signal, C, power, NO, ground
    • Description: A relay module used to control high-power devices.
    • Purpose in Circuit: Controls the solenoid.
  4. RFID-RC522

    • Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
    • Description: An RFID reader module.
    • Purpose in Circuit: Reads RFID tags.
  5. Buzzer

    • Pins: PIN, GND
    • Description: A piezoelectric buzzer.
    • Purpose in Circuit: Provides audible feedback.
  6. Solenoid

    • Pins: pin1, pin2
    • Description: An electromechanical solenoid.
    • Purpose in Circuit: Performs mechanical actions.
  7. 9V Battery

    • Pins: -, +
    • Description: A 9V battery.
    • Purpose in Circuit: Provides power to the solenoid via the relay.
  8. Resistor

    • Pins: pin1, pin2
    • Description: A resistor with a resistance of 200 Ohms.
    • Purpose in Circuit: Limits current to the LED.
  9. DHT22

    • Pins: +, Out, -
    • Description: A temperature and humidity sensor.
    • Purpose in Circuit: Measures temperature and humidity.

Wiring Details

LED: Two Pin (red)

ESP32 (30 pin)

1-Channel Relay (5V 10A)

RFID-RC522

Buzzer

Solenoid

9V Battery

Resistor

DHT22

Documented Code

sketch.ino

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

}

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

}

documentation.txt