Skip to content

ZackHoang/Arduino-Clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Clock

Description

A simple digital clock built using Arduino components. Features include: a digital time display, an analog time display and setting alarm.

Components

  • Board: Arduino Mega 2560
  • RTC Module: DS3231
  • LCD: ILI9225
  • Buzzer: Arduino Buzzer
  • Keypad: 4x1 Arduino Keypad
  • Breadboard: MB-102 400 holes (probably optional because you could fit everything on this board, it has a lot of ports lol, but I do prefer having one)
  • wires: male-female and male-male jumper wires should do

Wiring

ILI9225

Pin Label Arduino Mega 2560 Pin
VCC 5V/3.3V
GND GND
NC (Ignore)
CLK 52
SDA 51
RS A3
RST A4
CS A5

DS3231

Pin Label Arduino Mega 2560 Pin
VCC 5V
GND GND
SCL SCL
SDA SDA

Buzzer

Pin Label Arduino Mega 2560 Pin
Long 9
Short GND

Keypad

Pin Label Arduino Mega 2560 Pin
GND GND
K1 10
K2 11
K3 12
K4 13

Installation

  1. Install Arduino IDE on your machine
  2. Navigate to Tools > Manage Libraries and install these libraries:
  1. Copy and paste the .ino script attached
  2. Profit???

Instruction guide

  • Key 1: display digital time, press again to toggle between 12 hours and 24 hours format
  • Key 2: display analog time
  • Key 3: Set alarm
  • Key 4: Increment value for any alarm setting mode. Press key 3 again to confirm.

Footages

Check my footages to see how it should look.

Closing remarks

Feel free to open an issue if there's anything unclear! Thank you for you attention!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages