Go Down

Topic: Highest PWM frequency output for the Uno/Nano (Read 7103 times) previous topic - next topic

Docedison

If you were looking for frequency modulated RF @ 4 Mhz you might well consider an Analog Devices AD9851 DDS solution (Faster X2 to 60 MHz) or the readily available from Ebay AD9850 assemblies. they require a 40 bit serial load SPI I think and can operate from nearly DC to 30 MHZ, both sine and square wave outputs too. While NCO's aren't new this one is interesting and at about 7 to 9 dollars an inexpensive way to go. There are a couple of sketches I've found for mine but not yet the time to test them... Nor a good frequency counter either... Yet.

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

lightt

Screenshot of above test confirms results:



Note the frequency and the duty cycle. To get a duty cycle of 33.3% you need OCR0B to be 2 rather than 1.
Dear Nick Gammon,

1.How and where Can I make such demo? (Good for presentation)

Nick Gammon

Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

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