spdif switch module for LCDuino - Page 3 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level

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
Reply
 
Thread Tools Search this Thread
Old 29th October 2012, 07:12 AM   #21
diyAudio Member
 
Join Date: Oct 2007
Send a message via MSN to mischa72
Very nice project. No display for the frequency?
  Reply With Quote
Old 29th October 2012, 07:24 AM   #22
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: Santa Clara, CA
in fact, I do have a version that does that

Open-source USB interface: Audio Widget

link to source: Index of /spdif_meter_simple

this is standalone source that just runs in this 'private' arduino. its not part of the lcduino but it would be easy to convert this code, posted, to the lcd display.

when I finally get around to doing some wm8804/5 coding, I'll bring this bit of code over and it will show up on the lcd display.

for now, though, this should be enough to get you started. any questions, just ask.
__________________
My Photostream:http://www.flickr.com/photos/linux-works/

Last edited by linuxworks; 29th October 2012 at 07:28 AM.
  Reply With Quote
Old 29th October 2012, 07:32 AM   #23
diyAudio Member
 
Join Date: Oct 2007
Send a message via MSN to mischa72
Okay, great. I'm planning to build a preamp with integrated DAC, this meter could be a very nice feature.
  Reply With Quote
Old 29th October 2012, 07:48 AM   #24
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: Santa Clara, CA
as long as you can grab wordclock (ie, the 44.1khz etc freq) and wave shape it a bit and feed it into the arduino on the right pin, it should decode it for you.

I've seen some small 8char lcd's (easy to fit in a place that wasn't expecting a large lcd) and that would be enough to hold the several digits you need to display 192.0k or something.

or, get one of the sparkfun 4 digit led modules and just interface this arduino to that.

btw, I think the reason I went this with as a standalone chip is that I didn't have to worry about any other task bumping into the software freq. counter. which is all this chip is really doing. for a $5 chip and some small parts, I didn't see the immediate need to merge this in and have to share time on 1 cpu.

have fun
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 29th October 2012, 07:55 AM   #25
diyAudio Member
 
Join Date: Oct 2007
Send a message via MSN to mischa72
So now you're not using the arduino for the sample rate display? When this is possible with one chip and not loading the Arduino processor this is even better.
  Reply With Quote
Old 10th December 2012, 10:45 AM   #26
diyAudio Member
 
regiregi22's Avatar
 
Join Date: May 2009
Location: Madrid (Spain)
Quote:
Originally Posted by linuxworks View Post
I seem to have luck with spdif. wiring never seems to be critical and receivers always lock on. I know, I know, the impedance gods will curse me for saying so. the audio sounds fine to me and no matter what I do, it never gets better or worse.

the proto was also just hand wired; but again, spdif seems to just plain work no matter what wire or connectors I use.
So, you may think that I could go around all the trouble and just plug in one of those to provide spdif coax switching? They are high-Q signal relays, my intention is to select one to a DAC input at a time.

I have seen all kind of multiplexer solutions but, why not avoid all troubles and just go with good old plain relays? Is impedance matching so important at that level, having in mind that you end up using cheap RCA chassis conector and no less cheaper interconnect cables, and everyting use to work pretty fine?

Eight DPDT Signal Relay Module Board 12VDC SKU177007 | eBay


Best regards
__________________
diyAudio, doing it as big as you can, JUST BECAUSE WE CAN!
  Reply With Quote
Old 14th April 2015, 06:46 PM   #27
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: Santa Clara, CA
updating an old thread, but going in a slightly new direction. here's a front panel I just built that I plan to integrate into an spdif switch box:

Click the image to open in full size.

I decided to try using some led backpack modules, one alpha and one numeric. you can see the kind of info I plan to have on each

the single button will let you cycle thru the inputs and the alpha display will show the name of the input you selected. currently I plan to have coax and opto but I could add more easily enough.

the new cool part is the samplerate display. again using an arduino, I have frequency counter logic working that picks out the wordclock from an spdif rx chip and shows the value on that 2nd display. I always wanted to show the real SR of what I am listening to and this will do it, up to 192k.

for the back-end, just to get things going, I am hacking a 'sure electronics' wm8804 module, just for simplicity.

Click the image to open in full size.

that only has opto and coax inputs, so that's all I can select from, currently. whatever input is selected, both media types are driven on the output jacks.

the module breaks out i2s for you so tapping into wordclock is trivial. map it from 3.3v to 5v for the arduino, feed into pin 5 for freq counter input on the arduino and you're in business.


more notes and photos as the project progresses. yes, source will be posted when I'm done.
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 15th April 2015, 03:29 AM   #28
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: Santa Clara, CA
wolfson eval board, my own bodge-board (relay) and the arduino display stuff:

Click the image to open in full size.

actually in use. simply having a .1uf cap in series with the 3.3v wolfson wordclock and the arduino 5v logic input - it was enough for the counter logic to lock on and trigger. really simple interface!

nothing special about the.1u its just a floor capacitor. you know, you find lots of them on your workbench floor and they're good for nearly any purpose...

(grin)
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 15th April 2015, 04:16 AM   #29
diyAudio Member
 
Join Date: Mar 2007
Location: California
Glad to see you are still alive and well!

Is that WM8804 board from Sure Electronics?

Glad that you popped this up to the top. I like the rate indicator and I've made a local copy of that Arduino pde. Seems to compile with minor updates.

Will look for near term updates here...
__________________
"Hardware eventually fails. Software eventually works" - Michael Hartung
  Reply With Quote
Old 15th April 2015, 08:57 AM   #30
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: Santa Clara, CA
yes, that's the sure electronics board. still sold, too, for about $20. I can confirm that 96k works in and out thru opto, which was a nice bonus.

I also have an idea on how to get word depth (16, 20, 24 bits) but that will come much later.
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote

Reply


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
Native 24bit 96k USB to Spdif I2S Converter Module DAC julcat Digital Line Level 11 3rd September 2010 12:59 PM
spdif switch witch fader baro Digital Source 0 22nd March 2008 08:24 AM
Looking for a way to switch SPDIF Sjef Digital Source 3 15th September 2004 01:04 AM
Corcom entry module w/switch & ac filter & fused. KevinLee Swap Meet 8 9th December 2003 10:40 PM
Gain Clone Entry Module? Corcom fuseable with switch. KevinLee Swap Meet 0 24th April 2003 02:34 AM


New To Site? Need Help?

All times are GMT. The time now is 03:44 AM.


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

Content Relevant URLs by vBSEO 3.3.2