hacking a ADC: adding a digital aux input - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Thread Tools Search this Thread
Old 17th June 2012, 08:40 PM   #1
brianhj is offline brianhj  United States
diyAudio Member
Join Date: Mar 2011
Default hacking a ADC: adding a digital aux input

I found the ADC on a car stereo and I have a pin diagram of the chip and i'm wondering if it would be possible to solder leads to a coax connector to the corresponding pins on the output of the chip? Do I just need the serial data and ground?
  Reply With Quote
Old 22nd June 2012, 07:53 AM   #2
diyAudio Member
Join Date: Mar 2012
It would be beneficial to tell us what chip it is.
  Reply With Quote
Old 22nd June 2012, 10:08 AM   #3
dangus is offline dangus  Canada
diyAudio Member
Join Date: May 2004
Location: Vancouver Island
If by ADC you mean DAC, then you usually need a Digital Audio Interface Receiver chip to convert S/PDIF to the format the chip likes. If it really is an ADC, then a Digital Audio Interface Transmitter.

Current production chips are AFAIK all surface mount, but there appears to be some stock of DIP versions of older chips on eBay at a reasonable price. (For a while, the DIP versions were fetching scalper prices on eBay and elsewhere.)

Sometimes you can find readymade boards with the interface chip mounted and a Toslink transmitter or something (as appropriate). They'd be intended for adding S/PDIF outputs to digital music hardware that lacked it (MiniDisc, satellite radio). The DIT4096 was one popular chip. S/PDIF output extension for Portable MiniDisc Devices

Or if you want a Digital Receiver using the DIR9001:
DIR9001 SPDIF decoder
  Reply With Quote
Old 22nd June 2012, 01:43 PM   #4
brianhj is offline brianhj  United States
diyAudio Member
Join Date: Mar 2011
I do mean ADC. This is what I'm trying to do, just for fun: take the coax digital audio out of my computer and connect it to the output of the ADC on the car stereo, thereby creating a "digital in" on my car stereo. I realize that the DIY digital in would play all the time no matter which source I had selected (USB, Tuner, CD, AUX, etc) so I'd have to be careful to only have something connected to digital in when there is silence on the stereo (set source to AUX or something similar)

With that said, if I'm using the coax digital output from the computer do I still need a Digital Audio Interface Transmitter?
  Reply With Quote
Old 28th June 2012, 07:19 AM   #5
dangus is offline dangus  Canada
diyAudio Member
Join Date: May 2004
Location: Vancouver Island
No, the computer will be putting out S/PDIF, so that's fine. You'll probably need a digital interface receiver to decode the S/PDIF into whatever format the ADC speaks.
  Reply With Quote
Old 29th June 2012, 06:15 PM   #6
JensH is offline JensH  Denmark
diyAudio Member
Join Date: Jul 2009
I think the main problem will be the clock domains.

Your car stereo has a clock oscillator, which is used to clock the ADC. The PC also has a clock generator, which will determine the timing of the digital output signal, e.g. on an SPDIF output.
The two clocks will be asynchronous, so the relative timing will vary over time.

There are solutions to this problem, but it does make it more complicated.

1. Use a sample rate converter, e.g. CS8420 or CS8422 from Cirrus Logic. They also have SPDIF input.

2. Use an asynchronous USB interface, e.g.
This requires that a suitable clock is available from the car stereo. And the exact timing on the I2S interface is probably still a challenge.

3. Synchronize the PC clock and the car stereo clocks. This is not something I would recommend, since it could become quite difficult!
  Reply With Quote


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding digital input to a Rega Planet quadrant6 Digital Source 8 3rd October 2010 09:11 PM
Adding aux input on a tube console mafoose Tubes / Valves 8 8th February 2008 05:05 PM
Adding Digital Input to CD Player -> low cost DAC for PC Brent Welke Digital Source 1 2nd January 2005 04:57 AM
hacking a sony tae9000es processor for digital out Mark Hathaway Digital Source 1 6th September 2003 04:30 PM
DAC inside CD Player with aux digital input ergo Digital Source 2 18th April 2002 10:52 AM

New To Site? Need Help?

All times are GMT. The time now is 07:52 PM.

vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright 1999-2017 diyAudio

Content Relevant URLs by vBSEO 3.3.2