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

Discussion in 'Embedded Systems and Microcontrollers' started by NOUR P.4, Sep 4, 2013.

  1. NOUR P.4

    Thread Starter New Member

    Oct 6, 2012
    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 :)
  2. MaxHeadRoom


    Jul 18, 2013

    New Member

    Feb 2, 2013
    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 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..