AVR Timer 0 Calculator

Values to setup Timer 0 for a given Period.

Set a "Timer/Counter0 Compare Match A" interrupt.
The interrupt routine will be called every "Period" uS.

Depending on the AVR model you should use OCR0 TCCR0 or OCR0A TCCR0A TCCR0B.

Select Fosc and Period you want to use.
Then press "Calculate":

Fosc (MHz):

Period (us):

OCR0 (Dec):
TCCR0 (Dec):

OCR0A (Dec):
TCCR0A (Dec):
TCCR0B (Dec):