Arduino Nano-Based Smart Home Lighting System with Multi-Color LED Indicators and Buzzer
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino Nano microcontroller, various LEDs, a buzzer, resistors, a relay module, and an AC bulb. The circuit is designed to control the LEDs, buzzer, and AC bulb using the Arduino Nano.
Component List
D7S
- Description: Not provided
- Purpose: Not provided
Arduino Nano
- Description: Not provided
- Purpose: Not provided
- Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
Buzzer
- Description: Not provided
- Purpose: Not provided
- Pins: PIN, GND
LED: Two Pin (yellow)
- Description: Not provided
- Purpose: Not provided
- Pins: cathode, anode
LED: Two Pin (blue)
- Description: Not provided
- Purpose: Not provided
- Pins: cathode, anode
LED: Two Pin (orange)
- Description: Not provided
- Purpose: Not provided
- Pins: cathode, anode
AC Bulb
- Description: Not provided
- Purpose: Not provided
- Pins: P, N
LED: Two Pin (white)
- Description: Not provided
- Purpose: Not provided
- Pins: cathode, anode
1 Channel 5V Relay Module
- Description: Not provided
- Purpose: Not provided
- Pins: VCC+, VCC- (GND), IN, N.O., COM, N.C.
LED: Two Pin (green)
- Description: Not provided
- Purpose: Not provided
- Pins: cathode, anode
LED: Two Pin (red)
- Description: Not provided
- Purpose: Not provided
- Pins: cathode, anode
AC Supply
- Description: Not provided
- Purpose: Not provided
- Pins: +ve, -ve
Resistor (10k Ohms)
- Description: Not provided
- Purpose: Not provided
- Pins: pin1, pin2
- Properties: Resistance = 10k Ohms
Resistor (10k Ohms)
- Description: Not provided
- Purpose: Not provided
- Pins: pin1, pin2
- Properties: Resistance = 10k Ohms
Wiring Details
D7S
- Connected to:
- Resistor pin1 (10k Ohms)
- Resistor pin1 (10k Ohms)
- Resistor pin2 (10k Ohms)
- Resistor pin2 (10k Ohms)
- LED: Two Pin (green) cathode
- LED: Two Pin (yellow) cathode
- LED: Two Pin (white) cathode
- LED: Two Pin (orange) cathode
- LED: Two Pin (red) cathode
- LED: Two Pin (blue) cathode
- Buzzer PIN
- Arduino Nano GND
- 1 Channel 5V Relay Module VCC- (GND)
Arduino Nano
- Connected to:
- A5: Resistor pin2 (10k Ohms)
- A4: Resistor pin2 (10k Ohms)
- GND: D7S, LED: Two Pin (green) cathode, LED: Two Pin (yellow) cathode, LED: Two Pin (white) cathode, LED: Two Pin (orange) cathode, LED: Two Pin (red) cathode, LED: Two Pin (blue) cathode, Buzzer PIN, 1 Channel 5V Relay Module VCC- (GND)
- D2: LED: Two Pin (green) anode
- D3: LED: Two Pin (yellow) anode
- D4: LED: Two Pin (orange) anode
- D5: LED: Two Pin (blue) anode
- D6: LED: Two Pin (red) anode
- D7: Buzzer GND
- D8: LED: Two Pin (white) anode
- D9: 1 Channel 5V Relay Module IN
- 5V: 1 Channel 5V Relay Module VCC+
Buzzer
- Connected to:
- PIN: D7S
- GND: Arduino Nano D7
LED: Two Pin (yellow)
- Connected to:
- cathode: D7S
- anode: Arduino Nano D3
LED: Two Pin (blue)
- Connected to:
- cathode: D7S
- anode: Arduino Nano D5
LED: Two Pin (orange)
- Connected to:
- cathode: D7S
- anode: Arduino Nano D4
AC Bulb
- Connected to:
- P: AC Supply +ve
- N: 1 Channel 5V Relay Module COM
LED: Two Pin (white)
- Connected to:
- cathode: D7S
- anode: Arduino Nano D8
1 Channel 5V Relay Module
- Connected to:
- VCC+: Arduino Nano 5V
- VCC- (GND): D7S, Arduino Nano GND
- IN: Arduino Nano D9
- N.O.: AC Supply -ve
- COM: AC Bulb N
LED: Two Pin (green)
- Connected to:
- cathode: D7S
- anode: Arduino Nano D2
LED: Two Pin (red)
- Connected to:
- cathode: D7S
- anode: Arduino Nano D6
AC Supply
- Connected to:
- +ve: AC Bulb P
- -ve: 1 Channel 5V Relay Module N.O.
Resistor (10k Ohms)
- Connected to:
- pin1: D7S
- pin2: Arduino Nano A5
Resistor (10k Ohms)
- Connected to:
- pin1: D7S
- pin2: Arduino Nano A4
Documented Code
Arduino Nano Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including the components used, their connections, and the code for the Arduino Nano microcontroller.