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

Arduino UNO Controlled LCD Display with RTC and Servo Integration

Image of Arduino UNO Controlled LCD Display with RTC and Servo Integration

Circuit Documentation

Summary

This circuit integrates an Arduino UNO microcontroller with several peripherals: an LCD screen (16x2 characters) with an I2C interface, a Tower Pro SG90 servo motor, a Real-Time Clock (RTC) module DS3231, and a buzzer. The Arduino UNO serves as the central processing unit, controlling the servo, displaying information on the LCD, and keeping track of time with the RTC. The buzzer is used for audible alerts or feedback. The circuit is designed to operate on a 5V supply from the Arduino UNO, with the exception of the RTC, which operates on 3.3V.

Component List

Arduino UNO

  • Microcontroller board based on the ATmega328P
  • Provides digital and analog I/O pins
  • Features both 5V and 3.3V power outputs for peripherals

LCD screen 16x2 I2C

  • Alphanumeric liquid crystal display
  • Capable of displaying 16 characters per line across 2 lines
  • Utilizes I2C for communication, reducing pin usage on the Arduino

Tower Pro SG90 servo

  • Small and lightweight servo motor
  • Operates on +5V and can be controlled via PWM signal

RTC DS3231

  • Highly accurate real-time clock module
  • Maintains time with a battery backup
  • Communicates with the Arduino via I2C

Buzzer

  • Simple piezoelectric buzzer
  • Generates sound when powered

Wiring Details

Arduino UNO

  • 5V pin connected to the VCC of the LCD screen and the +5V of the servo
  • 3.3V pin connected to the VCC of the RTC DS3231
  • GND pin connected to the GND of the servo, buzzer, LCD screen, and RTC
  • A4 (SDA) pin connected to the SDA of the RTC DS3231 and LCD screen
  • A5 (SCL) pin connected to the SCL of the RTC DS3231 and LCD screen
  • D7 pin connected to the Signal pin of the servo
  • D12 pin connected to the PIN of the buzzer

LCD screen 16x2 I2C

  • SCL and SDA pins connected to the corresponding SCL and SDA on the Arduino UNO
  • VCC connected to the 5V output from the Arduino UNO
  • GND connected to the ground on the Arduino UNO

Tower Pro SG90 servo

  • Signal pin connected to the D7 on the Arduino UNO
  • +5V pin connected to the 5V output from the Arduino UNO
  • GND pin connected to the ground on the Arduino UNO

RTC DS3231

  • SCL and SDA pins connected to the corresponding SCL and SDA on the Arduino UNO
  • VCC connected to the 3.3V output from the Arduino UNO
  • GND connected to the ground on the Arduino UNO

Buzzer

  • PIN connected to the D12 on the Arduino UNO
  • GND connected to the ground on the Arduino UNO

Documented Code

Arduino UNO Code (sketch.ino)

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

}

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

}

This is the basic structure of an Arduino sketch, with setup() function to initialize settings, and a loop() function that runs continuously. Additional code would be required to control the peripherals like the LCD, servo, RTC, and buzzer.