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

Arduino Nano-Based Home Automation System with RTC and I2C LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Based Home Automation System with RTC and I2C LCD Display

Circuit Documentation

Summary

This circuit involves an Arduino Nano microcontroller interfacing with a DS1302 RTC module, a 16x2 I2C LCD display, and a 4-channel relay module. The Arduino Nano controls the relays and communicates with the RTC and LCD to display time and other information.

Component List

  1. Arduino Nano

    • Description: A compact microcontroller board based on the ATmega328P.
    • 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
  2. DS1302 RTC

    • Description: A real-time clock module for keeping track of time.
    • Pins: VCC, GND, CLK, DATA, RST
  3. 16x2 I2C LCD

    • Description: A 16x2 character LCD display with I2C interface.
    • Pins: GND, VCC, SDA, SCL
  4. Relay 4 Channel 5v

    • Description: A 4-channel relay module for controlling high-power devices.
    • Pins: GND, IN1, IN2, IN3, IN4, VCC, COM1, COM2, COM3, COM4, NO1, NO2, NO3, NO4, NC1, NC2, NC3, NC4
  5. Comment

    • Description: Placeholder for comments in the circuit.
    • Pins: None

Wiring Details

Arduino Nano

DS1302 RTC

16x2 I2C LCD

Relay 4 Channel 5v

Code Documentation

Arduino Nano Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino Nano. The setup() function is where you initialize your components and settings, and the loop() function is where the main logic of your program runs repeatedly.