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

Arduino UNO-Based Smart Home Automation with Wi-Fi and Real-Time Clock

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Smart Home Automation with Wi-Fi and Real-Time Clock

Circuit Documentation

Summary

This circuit integrates an Arduino UNO microcontroller with various sensors and modules, including an Ultrasonic Sensor, a Micro Servo, an RTC DS3231, an LCD screen, and an ESP-8266 Controller. The circuit is designed to perform various tasks such as distance measurement, timekeeping, display output, and wireless communication.

Component List

  1. Arduino UNO

    • Description: A 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
  2. Ultrasonic Sensor

    • Description: A sensor used to measure distance by using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND
  3. Micro Servo 9G

    • Description: A small servo motor used for precise control of angular position.
    • Pins: GND, +5V, PWM
  4. RTC DS3231

    • Description: A real-time clock module with an I2C interface.
    • Pins: 32K, SQW, SCL, SDA, VCC, GND
  5. LCD screen 16x2 I2C

    • Description: A 16x2 character LCD display with an I2C interface.
    • Pins: SCL, SDA, VCC, GND
  6. ESP-8266 Controller

    • Description: A Wi-Fi module used for wireless communication.
    • Pins: A0, RSV, SD3, SD5, SD1, CMD, D0, D1, D2, D3, D4, 3V3, GND, D5, D6, SD0, CLK, RST, EN, D7, D8, RX, TX, Vin, 5V

Wiring Details

Arduino UNO

Ultrasonic Sensor

Micro Servo 9G

RTC DS3231

LCD screen 16x2 I2C

ESP-8266 Controller

Documented Code

Arduino UNO 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 UNO. The setup() function is where you initialize your components and settings, and the loop() function is where you place the main code that runs repeatedly.