Digital Clock From Scratch Using LEDs and 89C51

Introduction: Digital Clock From Scratch Using LEDs and 89C51

About: Robotics is an art and I'm artist :)

Digital Clock using LED’s and 89C51 from scratch

In this Instructable, I will show you how to make Microcontroller Based Digital Clock using LED’s and Atmel 89C51 from scratch.

Its an Alarm clock and also indicates the PM and AM times LED.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: ​Step 1: What You Will Need

Components we need are

121 LED’s

1 Atmel 89C51

1 40 pin IC base

1 LM 7805

2 20pin SIL connectors (male and female)

1 vero board

117 Resistance 330 ohm

4 Buttons

1 switch

1 usb cable

1 power bank (optional)

1 paper box

1 white paper

1 needle

1 Buzzer(optional)

1 16 Mhz crystal oscillator

2 33pF capacitors

Step 2: ​Step 2: Initial Start

First of all you need the 8 Segment Design for that I use the proteus to design the 8 segment and got a print of that. After printing the segments use hard paper and attach the white segmented paper upon it using gum. Make holes on the LED footprint of all segments just like in the picture below.

Step 3: ​Step 3: Placing and Soldering LED’s

After making the holes place LED’s always remember to note the terminals of LED’s.

Step 4: ​Step 4: Making the Controller Board Circuit

First Cut a Piece of vero board . Attach components to Board . I use 40 pin IC base so that it could be easily programmed and place to the board.Use the schematic diagram to implement the circuit. I have not the alarm but you can use it. And also set the am and pm time LED’s indications. Attach the wires to the LED panel and use the SIL connectors of 20 pins for each sides.

Step 5: ​Step 5: Switch Board

Cut the small piece of vero Board . place 4 push buttons for the time and alarm.

Step 6: ​Step 6: Programming the 89C51

Now time to give a life to the Clock yeh! Its programming time.open the code in keil and make the HEX file after that burn that HEX file into the 89C51.

Step 7: ​Step 7: Case the Clock

Last step is to case the whole into a plastic box as shawn in figure. All Done must Comment thanks alot for your views.Video Will show how its work and look like.

Attachments:

Docx file

Code HEX file.

LED print PDF.

Circuits Contest 2016

Participated in the
Circuits Contest 2016

LED Contest

Participated in the
LED Contest

Lamps and Lighting Contest 2016

Participated in the
Lamps and Lighting Contest 2016

Be the First to Share

    Recommendations

    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    8 Discussions

    0
    ChiseMMD
    ChiseMMD

    1 year ago

    Sorry, I use Google Translate
    I successfully used the 74HC04 and ULN2003 to make a 12V 7-segment display (6 inch)
    The circuit increases the 47K resistor from 32 to 39.
    It has been used for six months, but there is a problem:
    "The power failure cannot be continued"
    Can someone add the DS1307 to the circuit if AM PM is cancelled?

    DSC_0590.JPG
    0
    DanangP3
    DanangP3

    3 years ago

    Is it common anode or common cathode, sir?

    0
    India27
    India27

    3 years ago

    i liked it. Very good

    0
    snowy1998
    snowy1998

    3 years ago

    no mention of oscillator?

    0
    Ryson Qureshi
    Ryson Qureshi

    Reply 3 years ago

    sorry i Apologize as it was my first instructuble ...

    its 16 Mhz crystal

    0
    AounA
    AounA

    3 years ago

    amazing!

    0
    Swansong
    Swansong

    3 years ago

    Thank you for sharing :)