Arduino real time clock 7 SEGment display

Hello world! Today i made a Arduino real time clock on a 4 digit display. The display i used is not really for clocks but it works, only the 2 dots are not in the right place, but you do not have to change anything in the code. You need a Library for this project. Follow the next step for the Schematic, Code & Parts list.

You need the following library SevSeg.h <-download it here check if you are using a common anode or cathode display You can change this in the code at line 26 int displayType = COMMON_CATHODE; //change that to COMMON_ANODE
Other instructions on how to set time are in the code for the Arduino real time clock.

Schematic:
Arduino real time clock

This is the rtc i used for the Arduino real time clock:
Arduino real time clock
Wire everything like the schematic and upload the code! Make sure the library is installed.

Parts list:
Arduino uno
AT24C32 / DS1307 real time clock ( I used the one on the picture above. There is also room for a temperature sensor like the LM35 on it)
4 Digit 7 Segment Display
4x 1 k Resistors. (Optional)
Jumper wires set MM/FM/MF

Code:

facebook-profile-picture
Danny van den Brande

http://www.arduinosensors.nl

Programmer, Game Designer, 3D Designer, Web Designer, Graphic Designer. Jup this website looks crappy.. :) But enjoy the projects! Everything you need is here.

2 thoughts on “Arduino real time clock 7 SEGment display”

  1. ciao, senti lo sketch funziona, il progetto è giusto, ma come mai a me appena carico lo sketch, i 7 segmenti, non si accendono? e neanche il modulo rtc. Se sai come si fa, fammi sapere. grazie ciao 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *