Go Down

Topic: Frequency Division Question (Read 688 times) previous topic - next topic

Hello all,

I'm relatively new to Arduino, but learning fairly quickly.  I was wondering if it is possible to take an input logic signal, and divide it's frequency down.  My desire is to divide the frequency down by a factor of 100.  The input frequency can be as high as 1MHz. 

Any help is appreciated, thank you.

Magician

Timer 0 and Timer 1 could be configured to have external clock at pin T0 and T1.  Than you set Output Compare register to specific division value, and trigger a pin on compare match.
Time to dig into data sheet... Division up to 256 with 8-bit Timer0, 65536 with 16-bit Timer1, and there is a way to "cascade" all 3 timers to get 32-bit division coefficient. 

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy