Arduino UNO and NRF24L01-Based Smart Home Automation System with LCD Display and 12V Relay
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 Arduino UNO, an NRF24L01 wireless module, an LCD display, a pushbutton, resistors, capacitors, LEDs, a piezo buzzer, a relay, and a power supply. The circuit is designed to interface these components to perform specific functions, with the Arduino UNO serving as the central microcontroller.
Component List
NRF24L01
- Description: Wireless transceiver module
- Pins: IRQ (not used), MOSI, CSN, VCC (3V), GND, CE, SCK, MISO
Lcd 20x4 i2c
- Description: 20x4 character LCD with I2C interface
- Pins: GND, 5V, SCA, SCL
AC Wire
- Description: AC power wire
- Pins: GND, Phase
Battery 12V
- Description: 12V battery
- Pins: +, -
Pushbutton
- Description: Pushbutton switch
- Pins: Pin 2, Pin 1, Pin 3, Pin 4
Resistor (10k Ohms)
- Description: Resistor with 10k Ohms resistance
- Pins: pin1, pin2
Resistor (200 Ohms)
- Description: Resistor with 200 Ohms resistance
- Pins: pin1, pin2
LED: Two Pin (red)
- Description: Red LED
- Pins: cathode, anode
LED: Two Pin (green)
- Description: Green LED
- Pins: cathode, anode
Piezo Buzzer
- Description: Piezoelectric buzzer
- Pins: pin 1, pin 2
Ceramic Capacitor (0.1uF)
- Description: Ceramic capacitor with 0.1uF capacitance
- Pins: pin0, pin1
Electrolytic Capacitor (10uF)
- Description: Electrolytic capacitor with 10uF capacitance
- Pins: -, +
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
12V Relay
- Description: Relay module for switching high voltage
- Pins: NO, COM, NC, IN, DC-, DC+
Wiring Details
NRF24L01
- VCC (3V): Connected to Arduino UNO 5V, Pushbutton Pin 4, LCD 20x4 i2c 5V, Electrolytic Capacitor +, Ceramic Capacitor pin0
- GND: Connected to Arduino UNO GND, AC Wire GND, Battery 12V -, Resistor pin1, LCD 20x4 i2c GND, Electrolytic Capacitor -, 12V Relay DC-, Ceramic Capacitor pin1
- SCK: Connected to Arduino UNO D13
- MISO: Connected to Arduino UNO D12
- MOSI: Connected to Arduino UNO D11
- CSN: Connected to Arduino UNO D10
- CE: Connected to Arduino UNO D9
Lcd 20x4 i2c
- 5V: Connected to Arduino UNO 5V, Pushbutton Pin 4, NRF24L01 VCC (3V), Electrolytic Capacitor +, Ceramic Capacitor pin0
- GND: Connected to Arduino UNO GND, AC Wire GND, Battery 12V -, Resistor pin1, NRF24L01 GND, Electrolytic Capacitor -, 12V Relay DC-, Ceramic Capacitor pin1
- SCA: Connected to Arduino UNO A4
- SCL: Connected to Arduino UNO A5
AC Wire
- GND: Connected to Battery 12V -, Arduino UNO GND, Resistor pin1, NRF24L01 GND, LCD 20x4 i2c GND, Electrolytic Capacitor -, 12V Relay DC-, Ceramic Capacitor pin1
- Phase: Connected to 12V Relay NO
Battery 12V
- +: Connected to Arduino UNO Vin, 12V Relay COM, 12V Relay DC+
- -: Connected to AC Wire GND, Arduino UNO GND, Resistor pin1, NRF24L01 GND, LCD 20x4 i2c GND, Electrolytic Capacitor -, 12V Relay DC-, Ceramic Capacitor pin1
Pushbutton
- Pin 4: Connected to Arduino UNO 5V, NRF24L01 VCC (3V), LCD 20x4 i2c 5V, Electrolytic Capacitor +, Ceramic Capacitor pin0
- Pin 2: Connected to Ceramic Capacitor pin0
- Pin 1: Connected to Arduino UNO D6, Resistor pin2
- Pin 3: Connected to Ceramic Capacitor pin1
Resistor (10k Ohms)
- pin1: Connected to AC Wire GND, Battery 12V -, Arduino UNO GND, NRF24L01 GND, LCD 20x4 i2c GND, Electrolytic Capacitor -, 12V Relay DC-, Ceramic Capacitor pin1
- pin2: Connected to Pushbutton Pin 1, Arduino UNO D6
Resistor (200 Ohms)
- pin1: Connected to Piezo Buzzer pin 1, Arduino UNO GND
- pin2: Connected to LED: Two Pin (red) cathode, LED: Two Pin (green) cathode
LED: Two Pin (red)
- anode: Connected to Arduino UNO D3
- cathode: Connected to Resistor pin2
LED: Two Pin (green)
- anode: Connected to Arduino UNO D2
- cathode: Connected to Resistor pin2
Piezo Buzzer
- pin 1: Connected to Resistor pin1, Arduino UNO GND
- pin 2: Connected to Arduino UNO D1
Ceramic Capacitor (0.1uF)
- pin0: Connected to Pushbutton Pin 2
- pin1: Connected to Pushbutton Pin 3
Electrolytic Capacitor (10uF)
- +: Connected to Arduino UNO 5V, Pushbutton Pin 4, NRF24L01 VCC (3V), LCD 20x4 i2c 5V, Ceramic Capacitor pin0
- -: Connected to AC Wire GND, Battery 12V -, Arduino UNO GND, Resistor pin1, NRF24L01 GND, LCD 20x4 i2c GND, 12V Relay DC-, Ceramic Capacitor pin1
Arduino UNO
- 5V: Connected to Pushbutton Pin 4, NRF24L01 VCC (3V), LCD 20x4 i2c 5V, Electrolytic Capacitor +, Ceramic Capacitor pin0
- GND: Connected to AC Wire GND, Battery 12V -, Resistor pin1, NRF24L01 GND, LCD 20x4 i2c GND, Electrolytic Capacitor -, 12V Relay DC-, Ceramic Capacitor pin1
- Vin: Connected to Battery 12V +
- A4: Connected to LCD 20x4 i2c SCA
- A5: Connected to LCD 20x4 i2c SCL
- D13: Connected to NRF24L01 SCK
- D12: Connected to NRF24L01 MISO
- D11: Connected to NRF24L01 MOSI
- D10: Connected to NRF24L01 CSN
- D9: Connected to NRF24L01 CE
- D7: Connected to 12V Relay IN
- D6: Connected to Pushbutton Pin 1, Resistor pin2
- D3: Connected to LED: Two Pin (red) anode
- D2: Connected to LED: Two Pin (green) anode
- **