Based on the abstraction from http://www.josepino.com/pic_projects/?timebase I have created a 1Hz Clock Generator. I use PIC12F675 as it’s available locally. Its remuneration is legal about US$1.
The abstraction is using 32.768kHz crystal as a clock for the PIC. Therefor, the domestic authority clock is 32768/4 = 8192 Hz. By using the 16 gusto Timer1 to tally the authority clock cycles, the tease leave transpire every 8 hindmost. This word can be reduced by setting initial value of the Timer1 (TMR1H:TMR1L).
No comments:
Post a Comment