Arduino DAC

Hi, I did very long research efforts on how to get good audio out of Arduino. It will be at least close to Hifi. This are the three secrets:

  1. Use PWM with only 8-Bit but highest frequency: You can achive sample rates up to 62.500Hz which is very good and often you don't need a low-pass filter anymore. Believe me, even 8-Bit with 31kHz sounds better than 16-Bit with 11kHz.

  2. To get high resolution the best way is to use an R-256R network to combine two 8-bit pwm outputs to one 16-bit output.

  3. Arduino sounds only as good as its supply voltage. And Ardu's supply is often very noisy due noise from AVR itself and noise coming from USB supply. You can clean noisy PWM signals by running them through a Schmitt-Trigger that has a better filtered supply.

Here is the circuit that I actually use with impressive results: Datei:SSDA Better16bit.png – Hackerspace Ffm

I think I really should do a video on that for all non-believers...

Tuttut

1 Like