AVR Timer Calculator

This is a simple javascript calculator I wrote to help me make timing calculations while working with the timers on AVR microcontrollers. The same calculations applies for all microcontrollers but the prescaler options only contain the ones possible on an AVR microcontroller (the configuration number is indicated in the brackets).

Javascript must be enabled on this page for the calculator to work. Choose what value you want to use as input by pressing the button beside the textbox(es) you want to use as the input. The output will be reflected in the other textboxes.

Source code can be viewed through your browser.

  Calculate Using ...
System Clock Frequency (Hz):
Timer Resolution:
Prescaler:
Total Timer Ticks:
Overflow Count:
Remainder Timer Ticks:
Real Time (sec):