Ds1302 digital clock with pic16f887

Status
Not open for further replies.

princejude

Newbie level 3
Joined
Mar 11, 2008
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,307
Hello Please can anyone help me with suggestions, ideas, sample codes or links on how to complete this my project.
I want to design a DS1302 RTC based digital clock using PIC16F887 and 7-segment display. I have designed the circuit and the code using CCS C Compiler. The clock is working but the issue I have is how to include the Time setting in my code. I will like to set the time with 3 push-button switches, one switch to select the mode (hour or minute) the next switch is to increase the value selected and the next switch is to decrease the value.

My Schematic and code is here:
 

Attachments

  • clock_cct.png
    19.3 KB · Views: 214
  • 1302clock1.pdf
    9.5 KB · Views: 159

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…