element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Create a S/PDIF "pass trough"
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 8 replies
  • Answers 1 answer
  • Subscribers 392 subscribers
  • Views 986 views
  • Users 0 members are here
  • audio
  • digital
  • trough
  • arduino
  • s/pdif
  • pass
Related

Create a S/PDIF "pass trough"

tim687
tim687 over 11 years ago

Dear users,

 

I am soon going to upgrade to a 5.1 digital speaker setup with a new amp. Everything will be digitally connected (S/PDIF and HDMI).

Since my computer is not standing next to the amp, I would like to make my own pass trough service, connecting the S/PDIF output from my computer to the Arduino.

The arduino reads the information that is send by my computer trough the interface, and then sends it to another arduino over a networked connection.

The second arduino converts the received data back to the S/PDIF output.

 

The theory is there, but can the arduino handle it?

And is it possible to receive (and read) the 0's and 1's that my computer (or any other device) sends and send it to the second arduino? (I've got 1GBIT network)

 

I hope I've made myself clear enough to understand my problem ;-p

 

 

To everybody who helps me:

 

Thanks in advance!

 

Tim

  • Sign in to reply
  • Cancel
Parents
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    With products like this

     

     

     

    http://www.ambery.com/diopspauexov.html

     

     

     

    is it really worth it ?

     

     

     

    Arduino will not make use of 10Mbit, never mind 1GBit and even the inherent data rate may be an issue

     

     

     

    A purpose built product for 85$ is going to be a much easier and reliable solution

     

     

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • tim687
    0 tim687 over 11 years ago in reply to Robert Peter Oakes

    Thanks!

    Yes sadly enough it is, because my computer is sitting on the other side of the room, and since those digital audio cables are very fragile it isn't a good idea to run them down my room invisibly (it also needs to make sharp bends to go to the receiver/amp)

     

    Isn't there any way to make one myself since I'll learn a bit more about programming the arduino?

     

    Thanks again Peter!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • tim687
    0 tim687 over 11 years ago in reply to Robert Peter Oakes

    Thanks!

    Yes sadly enough it is, because my computer is sitting on the other side of the room, and since those digital audio cables are very fragile it isn't a good idea to run them down my room invisibly (it also needs to make sharp bends to go to the receiver/amp)

     

    Isn't there any way to make one myself since I'll learn a bit more about programming the arduino?

     

    Thanks again Peter!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to tim687

    I’m not sure to be honest, this is something I have never tried

     

     

     

    It will not be cheaper than the product I linked as you will need two ends of course

     

     

     

    I’m also pretty sure the ATMEGA328 will not have the capacity to handle it. The first thing you need to do is look at the bit stream for the SPDIF (Google SPDIF Specifications.

     

     

     

    BTW, there is a COAX version of SPDIF, it does not have to be OPTICAL and therefore much more robust

     

     

     

    Does your PC have a COAX output ?

     

     

     

    You may be able to build something but possibly not with an Arduino, maybe something more powerful

     

     

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tim687
    0 tim687 over 11 years ago in reply to Robert Peter Oakes

    I believe my pc has both.

    All right, is the Raspberry Pi fast enough to handle it?

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to tim687

    I'm thinking more specifically dedicated hardware rather than a microcontroller, Oh, there is that new board that has an FPGA on it, that might be an option, As I said, not sure on the SPDIF specifications as I have never looked into it

    http://www.element14.com/community/groups/fpga-group/blog/2014/09/23/an-introduction-to-fpgas-and-the-logi-fpga-boards

     

    This might be a good choice from a power perspective ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 11 years ago in reply to Robert Peter Oakes

    First off try this (or something like it)

     

    http://www.amazon.co.uk/Fisual-Digital-Optical-Toslink-Cable/dp/B0017HG4K0

     

    (£9 for 10m cable with plugs).

    There are some more flexible cables about but that's for you to search.

     

    In audio the simple solutions are usually the best. If you go SPDIF -> computer -> ethernet ->computer -> SPDIF the delay will be quite long  - may not be a problem if ALL the audio goes via the same path but if some  channels are more direct it may sound dreadful.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to michaelkellett

    Member is looking for the challenge of building something as well as solving a connectivity problem, I suggested an idea like that already, albeit a tad more expensive

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube