PIC Timer 0 calculator

With the PIC Timer 0 calculator you can see the resulting frequencies and periods when you enter three bits of information. These are :

  • Frequency (default is 4MHz).
  • Prescaler ratio.
  • Timer 0 offset. 


Into page : PIC Timer intro (details on installing TCL)
Jump to PIC Timer 1 calculator.
Jump to PIC Timer 2 calculator.

Donwload your Calculators

To download these free calculators signup here:

Enter your details to get the Download Link
and in addition, get the microcontroller newsletter:



(Your email is safe it will never be sold or rented).
You will get the calculators plus free souce code from this site.

Note: Check your email for the project code download link.


To be honest I got fed up with looking at the data sheet to figure out the prescaler and timer offset values - this program lets you get the results easily (
There is a screenshot of the program further down the page if the runtime is not installed).

PIC Timer 0 hardware Block diagram [from 33023a.pdf]

PIC Timer 0 block diagram 33023a.pdf

PIC Timer 0 registers [from 16F88 datasheet DS30487B.pdf]
(Note these may be different in other devices)

PIC Timer 0 registers




Screen shot of PIC Timer 0 calculator in action

PIC Timer 0 calculator




Jump from PIC Timer 0 calculator to
Best-Microcontroller-Projects Home Page


New! Comments

Have your say about what you just read! Leave me a comment in the box below.



Privacy Policy | Contact | About Me

Site Map | Terms of Use





Subscribe to the MicroZine Newsletter and collect your free microcontroller Ebooks, download project code and more...


Visit our Facebook Page:

   Click Here

Recent Articles

  1. All about the MC78M05BDTRKG Linear Voltage Regulator

    How to use MC78M05BDTRKG for maximum current without using too large a heatsink pad and how to select the optimum input voltage.

    Read more

  2. Fixed point: A fast and easy way to save tons of microcntroller flash memory

    How to use fixed point maths to save microcontroller memory by avoiding use of the floating point library.

    Read more

  3. How to use the DHT22 (or DHT11) with an Arduino; Full code, description and device differences.

    Essential Guide to the DHT22/11 humidity sensor with library code guide and Full Arduino Tutorial. Learn how to Easily determine Humidity, Dew point and Heat Index.

    Read more

  4. The Essential I2C Tutorial: All you need to know about I2C...

    I2C tutorial: Learn all about the 2 wire I2C serial protocol. Learn how easy it is to use, how it works and when to use it...

    Read more

  5. [Arduino] : Using the 74HC595 shift register with shiftOut().

    The Essential Guide to the 74HC595; What it is and how you can easily use one in any of your projects.

    Read more

  6. How to use a DS18B20 on the Arduino for easy temperature measurement

    How to Easily Use the DS18B20 Maxim One-Wire thermometer with Arduino example code showing external or parasitic power modes.

    Read more

Readers Comments

"I wanted to thank
you so so so much
for all the information
you have provided in
your site it's

SUPERB and FANTASTIC."

- Ranish Pottath

"This site really is
the best and my favorite.
I find here many useful
projects and tips."

- Milan

bursach<at>gmail.com<

"Awesome site,
very, very easy and nice
to navigate!"


- Matt
matt_tr<at>
wolf359.cjb.net


Learn Microcontrollers

"Interested in
Microcontrollers?"

Sign up for The
Free 7 day guide:

FREE GUIDE : CLICK HERE


"I am a newbie to PIC
and I wanted to say
 how great your
site has been for me."


- Dave

de_scott<at>bellsouth.net

"Your site is a great
and perfect work.
congratulations."


- Suresh

integratredinfosys<at>
yahoo.com

"I couldn't find the correct
words to define
yourweb site.

Very useful, uncovered,
honest and clear.

Thanks so much for
your time and works.
Regards."


- Anon

Back to Top