September 23, 2014

Experimenting with Arduino DUE and PWM frequency

Arduino enthusiast Kerry Wong has documented his experimenting with the PWM (pulse-width modulation) and signal generation with an Arduino Due. This is particularly interesting due to the much faster Atmel ATSAM3X8E micrcontroller used on the Due, and also Kerry's demonstration of speed improvements that can be found with more effiicent code.

One example of this is the difference in maximum frequency output made possible by using direct port manipualtion instead of the usual Arduino functions, and by experimenting with prescalars and also altering PWM function code it's possible to have one-bit PWM to obtain an 84 MHz waveform.

Certainly something for the more advanced user, but also an insight into the efficiencies that can be found with good coding. Visit Kerry's interesting website to for examples and their explanations. And for more, we're on facebookGoogle+, and twitter - so follow us for news and product updates as well. 

Looking for an Arduino Due-compatible board but with more connectivity possibilities and options than the original? Then check out our new EtherDue board:

It's the Arduino Due-compatible board with the Freetronics additions including Ethernet network connectivity, MAC address chip, microSD storage, optional PoE, upgraded power supply and more - while retaining the simplicity and ease of the Arduino IDE (with 100% compatibility). And you still have a full USB interface for uploading sketches and direct programming. For more information on this powerful board, check out the EtherDue product page

Leave a comment

Comments have to be approved before showing up.