Skip to main content

Posts

Showing posts with the label PIC16F628A frequency counter

Experiment No. 12: Timer0 Counting AC Line Frequency

Introduction The Timer0 module in PIC16F628A is both 8-bit Timer and Counter. When used as Counter, the Timer0 module will increment on every rising or falling edge of the T0CKI (RA4, pin 3) pin. The incrementing edge is determined by the T0SE bit of the OPTION register.