Basic Arduino Time and Date Display

45K2411

Intro: Basic Arduino Time and Date Display

Hello

I am Davis

This is my first ever instuctable so dont be to harsh

This is for a basic clock displayed on an LCD Display

STEP 1: Setup and Equipment

First of all the equipment:

1x Arduino device ( I use a Freetronics Arduino UNO)

1x LCD Shield (I use a Freetronics LCD Display)

1x A computer

The setup is quite easy

Just clip the LCD on top of the Arduino or connect corresponding wires.

STEP 2: Code

I wrote this code so it works for me, but you might have to modify it a little for your shield

Unfortunatly i could not copy it into this guide, so it will be displayed in a notepad file for download

STEP 3: Output

If this was a success for you, then your shield should display the same as the image!

Please share and comment and show images if you have made a better version!

STEP 4:

8 Comments

Cool, but I'm having problem to set the clock after 09 hours.
When I write 17 or sth as initial hour, it gone mad. Can you recommand any solution for this?

hello

How can I include this code in another code ?

Hi! I am new to this and using the same display, but without the shield, and an Arduino Mega. How to make it works?

Hmm, I do not own a MEGA. I would assume that it is same situation (plug onto corresponding area). I will have a look at one at some point soon and I will see how to do it there. I need to get a mega anyway hahaha

Please post pictures if you have made a variation!!!! I would love to see it!!

Cool! How acurate is your clock?

Extremely, If you factor in the 13.12 second time to upoad to the arduino board (might vary if youuse a different one) and you set the time and date 13 seconds ahead (Incode) then it should be very acturate. I thinkmine was 1 second off.
If you want i can upload a video showning you how to?