Help me Please....!!!with digital clock

Thread Starter

NOUR P.4

Joined Oct 6, 2012
1
Hi all :D
I need help with interface DS1307 and PIC16F876A ....
I use a 7seg display but i don't know how to interface it ....:(

Thank all :)
 

ligo.george

Joined Feb 2, 2013
19
Which compiler you are using??
I will provide you some links, which uses MikroC Pro...
DS1307 is using I2C interface.. so you need to write I2C libraries... if you are using any other compilers other than MikroC..
Interfacing DS1307 RTC with PIC Microcontroller
Here is one example project...but it uses 16x2 LCD..
Digital Clock using PIC Microcontroller and DS1307 RTC
If you want to display it in 7 segment then try multiplexing of 7 segments..
Multiplexing 7 Segment Displays using PIC Microcontroller
It is better to using 4511 BCD to 7 Segment Decoder than multiplexing using transistors...so that you will get bright 7 segment displays.. Multiplexing using transistors reduces the brightness of 7 segment displays...
You need to use one 4511 for each 7 segment... By thus you can use same data lines to write values to all 7 segments... by enabling 4511 at different times..
 
Top