Diy Seven Segment Display Clock

by EDISON SCIENCE CORNER in Circuits > Arduino

950 Views, 2 Favorites, 0 Comments

Diy Seven Segment Display Clock

DIY SEVEN SEGMENT CLOCK
20200419_195327.png

in this tutorial, I am going to show you how to build a seven-segment clock

COMPONENTS

IMG_20200411_092315.jpg
IMG_20200413_102025.jpg
IMG_20200416_130120.jpg

Cicuit Diagram

F39CBXCJMKVLETF.LARGE.jpg
Slide_4.png

As the name indicates seven segment displays has 7 segments. each segment is a single led and all the 7 LEDs connected together with a common pin that may be a common positive or a common negative and arranged in a specific style.

A typical 7 segment display has 10 pins arranged in top and bottom each of middle pins are common pins

And others are to control corresponding seven segments

Setting the Displays

IMG_20200413_102414.jpg
IMG_20200413_110437.jpg
IMG_20200413_110431.jpg

we have 4 displays that is totals of 4*8=32 pins to control this our Arduino doesn't have 32 pins so how to do this. yes, multiplexing...
so we connect all segments together that is segment A of 4 displays together, segment B of all displays together and soo on ... now we have 7 common segment pins and 4 common anode pins that is total 11 pins yes our Arduino has 11 pins .by using multiplexing lets control 4 displays with 11 pins instead of 32

Connections

IMG_20200416_111000.jpg
IMG_20200416_110950.jpg
IMG_20200416_130108.jpg
IMG_20200416_110936.jpg
IMG_20200412_104940.jpg

I connected everything according to the circuit

connect one end of 3 push buttons together and connect to A0, A1, A2

RTCmodule works on i2c communication so connect

SDA TO A4

SCL TO A5

GND TO GND

VCC TO 5V

Testing on Breadboard

IMG_20200411_115753.jpg
IMG_20200409_122556.jpg

I connected everything according to the schematics and everything work perfectly

CODE

DOWNLOAD

download upload

REPLACING THE ARDUINO UNO WITH HOMEMADE ARDUINO

How to make CUSTOM ARDUINO |Easyeda|JLCPCB| EDISON SCIENCE CORNER
IMG_20200412_105917.jpg
IMG_20200416_130103.jpg
IMG_20200416_130111.jpg
IMG_20200416_111135.jpg

to save some space I removed the Arduino and repaced with my homemade Arduino

watch this video to know how I made my Arduino board

Making the Case

IMG_20200416_155343.jpg
IMG_20200416_151500.jpg

i used 3mm foam sheet to build the case

Happy Making

if you have any doubt about this project please comment below

please watch the videos for more details tutorial also subscribe to my channel. thanks