pic digital clock timer

Posted on Feb 5, 2014

Clock timer uses a PIC16F628 microcontroller to display 3 and 1/2 digit time and control an external load. The clock includes a calendar with leap year and optional daylight savings adjustments. The timer output can be set from 1 to 59 minutes and manually switched on and off. The clock also has a correction feature that allows an additional second to be added every so many

pic digital clock timer
Click here to download the full size of the above Circuit.

hours to compensate for a slightly slow running oscillator. The oscillator uses a common 32. 768 KHz watch crystal and the frequency can be adjusted slightly with the 24pF capacitor on the right side of the crystal. There are 7 displays that advance each time the `D` switch is toggled. To make adjustments, set the RA5 switch to the "B" position and then toggle the E and F switches to advance the data in the hours or minutes digits. Then toggle the "D" switch to move to the next data. After the 7th display, it will go back to the top and display the current time. Or, just press the time switch `C` to get to the top at anytime. When done setting everything up, set the RA5 switch to the "A" position so the data cannot be accendentally changed. You can still view everything with the "D" advance key, but the E an F switches will just turn on or off the alarm at RB7. I use it with an external transistor to switch on and off a radio. The `Daylight savings` setting (in the 6th display in the minutes digits) is used to enable daylight savings time adjustments, one hour ahead on the 2nd sunday in March, and one hour behind on the first sunday in November. The entry will be either 0, 1, or 3. The last 2 entries on the list (Year and Correction) is for the current year (1 to 4) (4 = Leapyear) so today`s setting (2006) will be 2 since leapyear will be on year 4 which is 2 years from now. The correction setting will add a second every so...

Leave Comment

characters left:

Related Circuits

  • New Circuits



    Popular Circuits

    Continuity Tester II
    microphone beyerdynamic TG X 50 Mk II
    Light Dimmer Circuit TRIAC dimmer circuitCircuitWorking
    TV antenna booster
    FM Transmitter
    Voltage multipliers
    AF locked loop circuit diagram
    5V TOP414G 2A isolated switching power supply circuit