Go Down

Topic: Frequency measure with interrupts (Read 529 times) previous topic - next topic


I like to measure the frequency of an oscilator with an arduino mega 2560.
For bascom there are a lot of tutorials and solutions available.

Do you have an interrupt solution in arduino C for my.




What frequency range?  Analog or digital waveform?  For direct measurement of digital signal you could consider using a counter/timer directly (you have to use certain pins though that are hardwired to the various Mega timers)
[ I won't respond to messages, use the forum please ]

Aug 09, 2012, 05:09 pm Last Edit: Aug 10, 2012, 08:43 am by Petersauber Reason: 1
The frequency range is between 10 ans 300 kHz. An oscilator (LM311) build the digital waveform.
Do you have some codesnipps for timer1?

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!

via Egeo 16
Torino, 10131