AVR Timer Calculator

Timers are the common feature of any microcontroller. A timer is also known as register. Timers commonly have a resolution of 8 (or) 16 bits. So a 8 bit timer is 8 bits wide so capable of holding value within 0-255. An AVR (Advanced Virtual Risc) microcontroller has effective and multifunctional clocks. In this calculator, calculate the AVR timer based on the known values of total timer ticks, overflow count, real time and new frequency.

Hz
sec
Hz

Timers are the common feature of any microcontroller. A timer is also known as register. Timers commonly have a resolution of 8 (or) 16 bits. So a 8 bit timer is 8 bits wide so capable of holding value within 0-255. An AVR (Advanced Virtual Risc) microcontroller has effective and multifunctional clocks. In this calculator, calculate the AVR timer based on the known values of total timer ticks, overflow count, real time and new frequency.

Code to add this calci to your website Expand embed code Minimize embed code

Formula:

f = cf / p o = ttt / tr2 rtt = t - (o * tr2) rt = ttt / f nf = f / ttt Where, f = Frequency cf = System Clock Frequency p = Prescaler Clock Value o =Overflow Count tr = Timer Resolution ttt = Total Timer Ticks rtt = Remainder Timer Ticks rt = Real Time nf = New Frequency

english Calculators and Converters


Sitemap