Analog Devices Microchip has this nice little application note on using pulse width modulation. Seems like it will be useful if you wanted to (for instance) generate some simple sounds using the Arduino.
Analog Devices Microchip has this nice little application note on using pulse width modulation. Seems like it will be useful if you wanted to (for instance) generate some simple sounds using the Arduino.
Analog Devices -> Microchip. Otherwise, yes, it is a nice app note.
Editor’s note: Thanks! For some reason, I saw the AN number and got it into my head that the A stood for Analog. Nice to know someone out there is reading. 🙂
I hadn’t seen the Microchip article.
I have (unsuccessfully so far) tried this to just get a good sounding sine wave for a CW keyer. I am going to keep trying.
Here is a longer article from TI about PWM Digital-to-Analog. It also covers filtering and does some comparison to a DAC. I haven’t absorbed it all yet.
http://focus.ti.com/lit/an/spra490/spra490.pdf