Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO-Based Automation System with I2C LCD, Servos, and Real-Time Clock

Image of Arduino UNO-Based Automation System with I2C LCD, Servos, and Real-Time Clock

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, various sensors, actuators, and other components. The circuit is designed to interface with an I2C LCD screen, control a DC motor, a servo motor, and a vibration motor, read from a real-time clock (RTC), and communicate with an AI-THINKER VC-02-Kit module. It also includes a buzzer for audio feedback and a relay for controlling higher power loads.

Component List

Microcontrollers

  • Arduino UNO: A microcontroller board based on the ATmega328P, featuring digital and analog I/O pins.

Displays

  • I2C LCD 16x2 Screen: A 16x2 character LCD display that uses the I2C communication protocol.

Actuators

  • DC Motor: A motor that converts electrical energy into mechanical rotation.
  • Tower Pro SG90 Servo: A small and lightweight servo motor capable of precise control.
  • dc Vibration Motor: A motor that provides vibration feedback.

Sensors

  • RTC-DS1302: A real-time clock module for keeping track of the current time.

Communication Modules

  • AI-THINKER VC-02-Kit: A module for wireless communication.

Miscellaneous

  • LED (blue): A two-pin light-emitting diode.
  • Buzzer: An electronic component that produces sound.
  • 5v Relay: An electrically operated switch that allows controlling a high-power circuit with a low-power signal.
  • 9V Battery: A power source for the circuit.

Wiring Details

Arduino UNO

  • 5V: Powers the I2C LCD screen, both SG90 servos, the AI-THINKER VC-02-Kit, and the 5v relay.
  • GND: Common ground for all components.
  • Digital Pins:
    • D6: Controls the DC motor.
    • D5: Input to the 5v relay.
    • D4: Powers the I2C LCD screen.
    • D3: Connected to the anode of the blue LED.
    • D1: TX pin for communication with the AI-THINKER VC-02-Kit.
    • D0: RX pin for communication with the AI-THINKER VC-02-Kit.
    • D12: Connected to the buzzer.
    • D10: Signal pin for one of the SG90 servos.
    • D9: Signal pin for the other SG90 servo.

I2C LCD 16x2 Screen

  • SCL, SDA: I2C communication pins connected to the corresponding pins on the Arduino UNO.
  • VCC (5V), GND: Power supply pins.

Tower Pro SG90 Servo

  • Signal: Receives PWM signal from Arduino UNO for position control.
  • +5V, GND: Power supply pins.

DC Motor

  • Pin 1: Controlled by Arduino UNO D6.
  • Pin 2: Connected to ground.

dc Vibration Motor

  • Positive: Connected to the Normally Open pin of the 5v relay.
  • Negative: Connected to ground.

RTC-DS1302

  • Vcc, GND: Power supply pins.
  • CLK, DAT, RST: Connected to Arduino UNO for timekeeping and communication.

AI-THINKER VC-02-Kit

  • Vcc, GND: Power supply pins.
  • TX, RX: Communication pins connected to the corresponding pins on the Arduino UNO.

5v Relay

  • VCC, GND: Power supply pins.
  • In: Controlled by Arduino UNO D5.
  • Common terminal: Connected to the 9V battery.
  • Normally Open: Connected to the positive pin of the dc vibration motors.

9V Battery

  • +: Connected to the Common terminal of the 5v relay.
  • -: Connected to ground.

LED (blue)

  • Anode: Connected to Arduino UNO D3.
  • Cathode: Connected to ground.

Buzzer

  • PIN: Connected to Arduino UNO D12.
  • GND: Connected to ground.

Documented Code

Arduino UNO (Primary)

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

}

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

}

Filename: sketch.ino

Arduino UNO (Secondary)

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

}

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

}

Filename: sketch.ino

Note: The provided code is a template and does not include specific functionality. It should be populated with the actual logic required to control the components as per the circuit's design.