Timer 1, how to make a reliable Real Time Clock in 8-bit PIC
Measuring seconds comes really handy in many circuits. Executing tasks with demanding precision, such as a real time clock, requires an external oscillator (often called 'crystal') of 32,768Hz. Such procedure…
Timer 0 as External Counter in 8-bit PIC microcontroller
In the previous post, Timer 0 as an Internal Counter was explained and configured to use the internal clock (i.e. the oscillator) to count a defined quantity of time. However,…
Timer 0, a simple Counter in 8-bit PIC you need to know
Instead of creating software to count seconds or pulses, a specific hardware was created to deal with this necessity called 'timers'. There is a bunch of different kinds of timers…