Arduino UNO-Based Smart Home Automation System with Bluetooth and RTC
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various components such as an RTC module, pushbutton, resistors, diodes, a 5V adapter, an LCD display, a buzzer, a Bluetooth module, DC motors, motor drivers, and an Arduino UNO microcontroller. The circuit is designed to interface these components to perform specific functions, with the Arduino UNO serving as the central control unit.
Component List
RTC DS3231
- Description: Real-Time Clock module
- Pins: 32K, SQW, SCL, SDA, VCC, GND
Pushbutton
- Description: Simple pushbutton switch
- Pins: Pin 3 (out), Pin 4 (out), Pin 1 (in), Pin 2 (in)
Resistor (10k Ohms)
- Description: Resistor with 10k Ohms resistance
- Pins: pin1, pin2
Resistor (470 Ohms)
- Description: Resistor with 470 Ohms resistance
- Pins: pin1, pin2
Diode
- Description: General-purpose diode
- Pins: cathode, anode
5V Adapter
- Description: Power adapter providing 5V output
- Pins: AC In 1, AC In 2, 5V, GND
LCD 20x4 I2C
- Description: 20x4 character LCD display with I2C interface
- Pins: GND, 5v, SCA, SCL
Buzzer
- Description: Simple buzzer for sound output
- Pins: PIN, GND
HC-05 Bluetooth Module
- Description: Bluetooth module for wireless communication
- Pins: Key, VCC, GND, TXD, RXD, State
DC Motor
- Description: General-purpose DC motor
- Pins: pin 1, pin 2
L298N DC Motor Driver
- Description: Motor driver for controlling DC motors
- Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
Arduino UNO
- Description: Microcontroller board based on the ATmega328P
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
Wiring Details
RTC DS3231
- VCC: Connected to 5V Adapter (5V), HC-05 Bluetooth Module (VCC), Arduino UNO (5V), Pushbutton (Pin 3 (out)), L298N DC motor driver (5V), LCD 20x4 I2C (5v), Buzzer (PIN)
- GND: Connected to 5V Adapter (GND), Arduino UNO (GND), Pushbutton (Pin 4 (out))
- SDA: Connected to Arduino UNO (A4), LCD 20x4 I2C (SCA)
- SCL: Connected to Arduino UNO (A5), LCD 20x4 I2C (SCL)
Pushbutton
- Pin 3 (out): Connected to RTC DS3231 (VCC), HC-05 Bluetooth Module (VCC), 5V Adapter (5V), Arduino UNO (5V), L298N DC motor driver (5V), LCD 20x4 I2C (5v), Buzzer (PIN)
- Pin 4 (out): Connected to RTC DS3231 (GND), 5V Adapter (GND), Arduino UNO (GND)
- Pin 2 (in): Connected to Resistor (10k Ohms) (pin1)
Resistor (10k Ohms)
- pin1: Connected to Pushbutton (Pin 2 (in))
- pin2: Connected to Arduino UNO (A3)
Resistor (470 Ohms)
- pin1: Connected to Diode (anode)
- pin2: Connected to Arduino UNO (A0), Arduino UNO (A1), Arduino UNO (A2)
Diode
- cathode: Connected to Arduino UNO (GND)
- anode: Connected to Resistor (470 Ohms) (pin1)
5V Adapter
- 5V: Connected to RTC DS3231 (VCC), HC-05 Bluetooth Module (VCC), Arduino UNO (5V), Pushbutton (Pin 3 (out)), L298N DC motor driver (5V), LCD 20x4 I2C (5v), Buzzer (PIN)
- GND: Connected to RTC DS3231 (GND), Arduino UNO (GND), Pushbutton (Pin 4 (out))
LCD 20x4 I2C
- 5v: Connected to RTC DS3231 (VCC), HC-05 Bluetooth Module (VCC), 5V Adapter (5V), Arduino UNO (5V), Pushbutton (Pin 3 (out)), L298N DC motor driver (5V), Buzzer (PIN)
- GND: Connected to HC-05 Bluetooth Module (GND), Arduino UNO (GND), L298N DC motor driver (GND), Buzzer (GND)
- SCA: Connected to RTC DS3231 (SDA), Arduino UNO (A4)
- SCL: Connected to RTC DS3231 (SCL), Arduino UNO (A5)
Buzzer
- PIN: Connected to RTC DS3231 (VCC), HC-05 Bluetooth Module (VCC), 5V Adapter (5V), Arduino UNO (5V), Pushbutton (Pin 3 (out)), L298N DC motor driver (5V), LCD 20x4 I2C (5v)
- GND: Connected to HC-05 Bluetooth Module (GND), Arduino UNO (GND), L298N DC motor driver (GND), LCD 20x4 I2C (GND)
HC-05 Bluetooth Module
- VCC: Connected to RTC DS3231 (VCC), 5V Adapter (5V), Arduino UNO (5V), Pushbutton (Pin 3 (out)), L298N DC motor driver (5V), LCD 20x4 I2C (5v), Buzzer (PIN)
- GND: Connected to Arduino UNO (GND), L298N DC motor driver (GND), LCD 20x4 I2C (GND), Buzzer (GND)
- RXD: Connected to Arduino UNO (D13)
- TXD: Connected to Arduino UNO (D1)
DC Motor
- pin 1: Connected to L298N DC motor driver (OUT4)
- pin 2: Connected to L298N DC motor driver (OUT3)
L298N DC Motor Driver
- 5V: Connected to RTC DS3231 (VCC), HC-05 Bluetooth Module (VCC), 5V Adapter (5V), Arduino UNO (5V), Pushbutton (Pin 3 (out)), LCD 20x4 I2C (5v), Buzzer (PIN)
- GND: Connected to HC-05 Bluetooth Module (GND), Arduino UNO (GND), LCD 20x4 I2C (GND), Buzzer (GND)
- OUT4: Connected to DC Motor (pin 1)
- OUT3: Connected to DC Motor (pin 2)
Arduino UNO
- 5V: Connected to RTC DS3231 (VCC), HC-05 Bluetooth Module (VCC), 5V Adapter (5V), Pushbutton (Pin 3 (out)), L298N DC motor driver (5V), LCD 20x4 I2C (5v), Buzzer (PIN)
- GND: Connected to RTC DS3231 (GND), 5V Adapter (GND), Pushbutton (Pin 4 (out)), HC-05 Bluetooth Module (GND), L298N DC motor driver (GND), LCD 20x4 I2C (GND), Buzzer (GND)
- A0: Connected to Resistor (470 Ohms) (pin2)
- A1: Connected to Resistor (470 Ohms) (pin2)
- A2: Connected to Resistor (470 Ohms) (pin2)
- A3: Connected to Resistor (10k Ohms) (pin2)
- A4: Connected to RTC DS3231 (SDA), LCD 20x4 I2C (SCA)
- A5: Connected to RTC DS3231 (SCL), LCD 20x4 I2C (SCL)
- **D13