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

Raspberry Pi Zero-Based Smart Home Automation System with Current Sensing and Motion Detection

View and Edit Project In Cirkit DesignerImage of Raspberry Pi Zero-Based Smart Home Automation System with Current Sensing and Motion Detection

Circuit Documentation

Summary

This circuit is designed to interface a Raspberry Pi Zero with various sensors and actuators. The Raspberry Pi Zero serves as the central controller, interfacing with current sensors, relays, a motion sensor, a temperature and humidity sensor, and an analog-to-digital converter (ADC). The circuit is powered by both 3.3V and 5V sources from the Raspberry Pi Zero, and it controls AC loads such as bulbs and a fan through relays.

Component List

  1. Raspberry Pi Zero

    • Description: A small, affordable computer that can be used for a variety of electronics projects.
    • Pins: 5V, 3.3V, GPIO2 (SDA), GND, GPIO3 (SCL), GPIO14, GPIO4, GPIO15, GPIO18, GPIO17, GPIO27, GPIO23, GPIO22, GPIO24, GPIO10, GPIO25, GPIO9, GPIO8, GPIO11, GPIO7, ID_SC, ID_SD, GPIO5, GPIO12, GPIO6, GPIO13, GPIO16, GPIO19, GPIO20, GPIO26, GPIO21
  2. ACS712 Current Sensor 5A 20A 30A

    • Description: A current sensor that provides an analog voltage output proportional to the current passing through it.
    • Pins: 1, 2, GND, OUT, VCC
  3. 5V Relay

    • Description: An electromechanical switch used to control high voltage devices with a low voltage signal.
    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
  4. AC Bulb

    • Description: A standard AC-powered light bulb.
    • Pins: P, N
  5. Fan

    • Description: A DC-powered fan.
    • Pins: GND, 5V
  6. AC Source

    • Description: An AC power source.
    • Pins: +, -
  7. ADS1115

    • Description: A 16-bit analog-to-digital converter (ADC) with I2C interface.
    • Pins: VDD, GND, SCL, SDA, ADDR, ALRT, A0, A1, A2, A3
  8. DHT22

    • Description: A temperature and humidity sensor.
    • Pins: +, Out, -
  9. HC-SR501 Motion Sensor

    • Description: A motion sensor that detects movement using passive infrared (PIR) technology.
    • Pins: GND, OUT, VCC

Wiring Details

Raspberry Pi Zero

ACS712 Current Sensor 5A 20A 30A

5V Relay

AC Bulb

Fan

AC Source

ADS1115

DHT22

HC-SR501 Motion Sensor

Code

No code is provided for this circuit.