Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] A/D and audio questions.

2004-01-03 by David VanHorn

At 03:41 AM 1/3/2004 +0000, c45a6 wrote:


>Hello!
>
>I had some fun today and wired up my Mega 16 to a D/A converter.  
>Knowing that it would probably sound terrible, I hooked up an audio 
>signal directly to the Mega 16's A/D converter, and the output from 
>the D/A converter directly to my mixer.
>
>Although highly digitized, I could kind-of make out the songs.  Part 
>of the problem could have been that I did a 10 bit A/D conversion and 
>tossed out the lowest significant 8 bits.  Another part may have been 
>that I'm running into a 12-bit D/A converter on the output (of which
>I 
>hooked up to the most significant bits).  BUT, after some 
>contemplation, maybe I also cut off 1/2 of the audio waveform, the 
>part that goes negative, in the process.

A four bit conversion, and clipping half the waveform could compromise the soundstage brilliance, or muddle the transient clarity, that's for sure.

:)

Try hopping up the A/D to 250kHz, and using all 8 bits.
AC Couple your audio, and weakly (10k?) pull the A/D input to VCC/2, and use VCC as your analog ref.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.