Raspberry Pi 3B Smart Home Automation with Relay Control and DHT11 Sensor
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit involving a Raspberry Pi 3B, a Two Channel Relay, a DHT11 sensor, an i2c Hub, a DS3231 RTC, and terminal blocks. The circuit is designed to interface these components for various functionalities such as temperature sensing, real-time clock operations, and relay control.
Component List
Raspberry Pi 3B
- Description: A single-board computer used for various applications.
- Pins: 3v3, GPIO2, GPIO3, GPIO4, GND, GPIO17, GPIO27, GPIO22, 3V3, GPIO10, GPIO9, GPIO11, ID_SD, GPIO5, GPIO6, GPIO13, GPIO19, GPIO26, GPIO21, GPIO20, GPIO16, GPIO12, ID_SC, GPIO7, GPIO8, GPIO25, GPIO24, GPIO23, GPIO18, GPIO15, GPIO14, 5V
Two Channel Relay 5v
- Description: A relay module used to control high voltage devices.
- Pins: VCC, IN2, IN1, GND, NC2, C2, NO2, NC1, C1, NO1
DHT11
- Description: A temperature and humidity sensor.
- Pins: DATA, GND, VCC
Terminal Block (Instance 1)
- Description: A terminal block for connecting wires.
- Pins: 1, 2, 3, 4, 5, 6, 7, 8
Terminal Block (Instance 2)
- Description: A terminal block for connecting wires.
- Pins: 1, 2, 3, 4, 5, 6, 7, 8
i2c Hub
- Description: A hub for i2c communication.
- Pins: SDA, VCC, SCL, GND
DS3231 RTC
- Description: A real-time clock module.
- Pins: 32K, SQW, SCL, SDA, VCC, GND
Wiring Details
Raspberry Pi 3B
3v3 is connected to:
- i2c Hub (VCC)
- DS3231 RTC (VCC)
GPIO2 is connected to:
- i2c Hub (SDA)
- DS3231 RTC (SDA)
GPIO3 is connected to:
- i2c Hub (SCL)
- DS3231 RTC (SCL)
GPIO4 is connected to:
- DS3231 RTC (SQW)
GND is connected to:
- i2c Hub (GND)
- DS3231 RTC (GND)
- Terminal Block (Instance 1, Pin 7)
GPIO17 is connected to:
- DHT11 (DATA)
GPIO21 is connected to:
- Two Channel Relay 5v (IN2)
GPIO23 is connected to:
- Two Channel Relay 5v (IN1)
5V is connected to:
- Terminal Block (Instance 2, Pin 2)
Two Channel Relay 5v
VCC is connected to:
- Terminal Block (Instance 1, Pin 8)
IN2 is connected to:
- Raspberry Pi 3B (GPIO21)
IN1 is connected to:
- Raspberry Pi 3B (GPIO23)
GND is connected to:
- Terminal Block (Instance 2, Pin 1)
DHT11
DATA is connected to:
- Raspberry Pi 3B (GPIO17)
GND is connected to:
- Terminal Block (Instance 1, Pin 2)
VCC is connected to:
- Terminal Block (Instance 2, Pin 7)
Terminal Block (Instance 1)
Pin 7 is connected to:
- Raspberry Pi 3B (GND)
Pin 8 is connected to:
- Two Channel Relay 5v (VCC)
Terminal Block (Instance 2)
Pin 2 is connected to:
- Raspberry Pi 3B (5V)
Pin 1 is connected to:
- Two Channel Relay 5v (GND)
Pin 7 is connected to:
- DHT11 (VCC)
i2c Hub
VCC is connected to:
- Raspberry Pi 3B (3v3)
SDA is connected to:
- Raspberry Pi 3B (GPIO2)
- DS3231 RTC (SDA)
SCL is connected to:
- Raspberry Pi 3B (GPIO3)
- DS3231 RTC (SCL)
GND is connected to:
- Raspberry Pi 3B (GND)
DS3231 RTC
VCC is connected to:
- Raspberry Pi 3B (3v3)
SDA is connected to:
- Raspberry Pi 3B (GPIO2)
- i2c Hub (SDA)
SCL is connected to:
- Raspberry Pi 3B (GPIO3)
- i2c Hub (SCL)
SQW is connected to:
- Raspberry Pi 3B (GPIO4)
GND is connected to:
- Raspberry Pi 3B (GND)
- i2c Hub (GND)
Code
No code is provided for this circuit.