Raspberry Pi I2S to SPDIF Hat

Discussion in 'Digital: DACs, USB converters, decrapifiers' started by Michael Kelly, Apr 30, 2016.

  1. neogeosnk

    neogeosnk Friend

    Friend
    Joined:
    Sep 28, 2015
    Likes Received:
    1,637
    Trophy Points:
    93
    Location:
    Los Angeles, CA
    Doesn't matter what output you use, Digi+ Pro is what is used.
     
    • Like / Agree Like / Agree x 2
    • List
  2. HudsonsBay

    HudsonsBay Rando

    Joined:
    Nov 22, 2019
    Likes Received:
    32
    Trophy Points:
    13
    Location:
    Portland, OR
    Right, it's kind of confusing as this isn't an I2S connection, but that's the area in MoOde that gets selected in the Audio Config -> Devices section. Just hoping that this helps out a noob adopter like myself at some point.

    Some things learned as an iPhone and Qobuz user: Use UPnP and get mConnect. I could only get the Qobuz player to output 44/24.
     
    • Like / Agree Like / Agree x 1
    • List
  3. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Friend
    Joined:
    Apr 22, 2016
    Likes Received:
    2,561
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    All outputs are enabled simultaneously. No need to choose.

    Michael
     
    • Like / Agree Like / Agree x 2
    • List
  4. Biodegraded

    Biodegraded Friend

    Friend
    Joined:
    May 28, 2017
    Likes Received:
    5,028
    Trophy Points:
    113
    Location:
    Vancouver BC
    @HudsonsBay , important to note: Digi+ Pro, not Digi+. The latter has only a single clock whereas the former has two, one each for multiples of 44.1k and 48k. The Pi2AES also having two clocks, I'm not surprised it didn't respond to being told it has only one.

    I recently experienced mild chipmumkery after mistakenly telling Volumio that my Digi+ was a Pro. The timing difference was consistent with the 44.1k content I was feeding it being played back at 48k.
     
    • Like / Agree Like / Agree x 3
    • List
  5. joch

    joch Friend

    Friend
    Joined:
    Oct 8, 2015
    Likes Received:
    113
    Trophy Points:
    43
    Location:
    the other side of the ocean
    • Like / Agree Like / Agree x 5
    • List
  6. FatCat

    FatCat Rando

    Joined:
    Dec 11, 2018
    Likes Received:
    53
    Trophy Points:
    13
    Location:
    Massachusetts
    I received the PI2AES around Christmas time, and while working it makes a substantial positive difference in sound quality. The problem is I've had a really hard time getting it to work with any consistency. In the beginning I was using Logitech Media Server and PiCorePlayer with wired connections from both PC and RPI 2 B v1.1 on a router with multiple other devices and connected to the internet. Since then I have tried anything I can think of to get LMS to auto discover and play to the RPI with no luck. The only way I can get a connection is turning the router off and on again, but after about 2 minuets the connection drops. Currently I am using a brand new RPI 3 B+, wireless internet from both my PC and RPI and a private router that is only connected to PC and RPI. Sometimes (maybe 5 times total) LMS would auto discover PCP and then everything would work fine, and the connections between PC and RPI were not always the same (different router, wired/wireless, etc) and I have had no luck replicating the conditions under which everything worked. Router says both devices are connected, PCP says Squeezelite is active, but LMS doesnt connect. Any suggestions? I'm willing to try anything.
     
    • Like / Agree Like / Agree x 1
    • List
  7. msommers

    msommers High on Epipens

    Friend
    Joined:
    Nov 6, 2016
    Likes Received:
    2,843
    Trophy Points:
    113
    Location:
    Calgary, Alberta
    Home Page:
    I would suggest a different OS for the Pi. LMS wouldn't be my first choice...
     
    • Like / Agree Like / Agree x 3
    • List
  8. earnmyturns

    earnmyturns Smartest friend

    Friend
    Joined:
    Sep 25, 2016
    Likes Received:
    2,779
    Trophy Points:
    113
    Location:
    Palo Alto
    Home Page:
    Agreed. I had been using PiCorePlayer + LMS on my Pi 3 + 502DAC (now Pi2AES) but I gave up because it was becoming increasingly flaky. I love the PiCorePlayer minimalist, fast UI, but so much needs tweaking or can go wrong that I switched to moOde. Slower UI, but no problems otherwise.
     
    • Like / Agree Like / Agree x 2
    • List
  9. Unkgd

    Unkgd Rando

    Joined:
    May 27, 2018
    Likes Received:
    13
    Trophy Points:
    3
    Location:
    Central Coast, Ca
    Where do you have the Logitech Media Server residing and how fast is your router? When you connected directly via the ethernet, did you turn off wifi and bluetooth on the RPI 3B+? Also, even though PCP says that you can run both the Squeezebox player and Logitech Media Server on the same RPI device, I would not recommend that as it can be processor intensive.

    For refence, I have a couple of RPI streamers set up - one (RPI 2/Digione with wifi dongle) with PCP running Squeezelite and the other(RPI 3B+/DAC HAT) running MOode 4.3. The bluetooth on the RPI 3B+ was turned off. Both of the RPI units communicated via wifi and both of them would have issues with dropouts and occasional disconnects as initially installed. The streamers connect to NAS via the router. Also in the same system is a SonicTransporter I5 running the Squeezebox server software.

    I ended up turning off the wifi on the 3B+ and removing the wifi dongle off of the RPI 2. I used a TP-Link travel router (TL-WR902AC) in bridge mode to act as ethernet bridge to the RPI 2. I used a Tp-Link extender (RE220) to provide an ethernet connection to the RPI 3B+. I got the idea from a blog (https://soundcheck-audio.blogspot.com/2017/05/networking-my-way.html) That said , some of his ideas are a bit out there/over the top (to me).

    FWIW, Since those two mdifications to the data input stream, the dropout and disconnect issues have disappeared from both units. And the sound quality has improved as well.
     
    Last edited: Jan 16, 2020
  10. FatCat

    FatCat Rando

    Joined:
    Dec 11, 2018
    Likes Received:
    53
    Trophy Points:
    13
    Location:
    Massachusetts
    Logitech Media Server is on my PC which is right next to the router, RPI is on the desk above PC and router. I tested wifi off with bluetooth off and wifi off with bluetooth on and an ethernet connection from RPI to router, RPI still not connected to LMS even after rebooting LMS in normal and in safe mode and RPI each time. Router is kind of old, ethernet spec is 100mbps.

    I had tried using MoOde's Squeezelight player setting without success, but I cant tell if I'm doing it wrong. I flashed the SD card I had with MoOde; Should LMS detect MoOde if I click the check next to the Squeezelight box (Audio Config -> Renderers -> Squeezelight)?
     
    • Like / Agree Like / Agree x 1
    • List
  11. Unkgd

    Unkgd Rando

    Joined:
    May 27, 2018
    Likes Received:
    13
    Trophy Points:
    3
    Location:
    Central Coast, Ca
    I would think that LMS server should detect the RPI with MOode Squeezelight - after the RPI has been rebooted. I will try it with my setup when I get home this weekend, Currently I am running MOode with the MPD daemon.

    You mention that the router is an older 100mps version. As your LMS server and RPI are so close together, have you tried directly connecting the two of them bypassing the router? It would help diagnose if the router is the issue.
     
    • Like / Agree Like / Agree x 1
    • List
  12. Clemmaster

    Clemmaster Friend

    Friend
    Joined:
    Sep 28, 2015
    Likes Received:
    2,365
    Trophy Points:
    113
    Any news on the RJ45 adapter board? I got an email to write a review but I never got one :p
     
    • Like / Agree Like / Agree x 1
    • List
  13. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Friend
    Joined:
    Apr 22, 2016
    Likes Received:
    2,561
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:

    I was about to write a generic update so hopefully everyone on the thread will see this. I respun the design and PCB’s are due to arrive on Monday. We will build them up and ship out the replacements to everybody who ordered one by the end of the week. Obviously no charge.

    Thanks for all your patience and hopefully this revision will give you guys the results you want.

    Michael
     
    • Like / Agree Like / Agree x 5
    • List
  14. FatCat

    FatCat Rando

    Joined:
    Dec 11, 2018
    Likes Received:
    53
    Trophy Points:
    13
    Location:
    Massachusetts
    Plugged RPI into PC and to my astonishment LMS detected the RPI! MoOde set to HifiBerry Digi+ Pro and PI2AES makes sound! Thank you so much for the help :bow:
     
    • Like / Agree Like / Agree x 2
    • List
  15. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Friend
    Joined:
    Apr 22, 2016
    Likes Received:
    2,561
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    We have the board in the store at $25 plus shipping. I had to respin, but new ones should go out by end of next week. Current and previous orders will all get the new one as well.
    Michael
     
  16. mtavares

    mtavares Rando

    Joined:
    Apr 7, 2019
    Likes Received:
    48
    Trophy Points:
    13
    Location:
    Brazil
    I am considering to buy a Pi2AES and I am learning a lot on this topic. I am comming from an Allo Digione Signature, where the power supply has a huge impact on the audio quality.

    i would like to know two things:
    1) Is it necessary to keep the Pi2AES 24/7 on as the Digione Signature to have a better audio quality?

    2) Currenty, I have a good LPS to feed the Rpi side. I was considering to use a LPS for the Pi2AES, In case, the response of the 1) question is yes, my preference is to use something like this (24V):
    https://www.ebay.com/itm/15W-25W-ST...-9V-12V-15V-24V/283669352414?var=585029232181
    or try this other one:
    https://www.ebay.com/itm/50VA-HIFI-Ultra-low-Noise-Linear-Power-Supply-DC5V-9V-12V-15V-19V-50W-LPS-PSU-24/322368166536?_trkparms=aid=1110001&algo=SPLICE.SIM&ao=1&asc=20131231084308&meid=16212ec98afb4b6cb9122e6c5dcfa5b2&pid=100010&rk=1&rkt=12&mehot=pp&sd=312906502800&itm=322368166536&pmt=0&noa=1&pg=2047675&_trksid=p2047675.c100010.m2109
    Should I expect an audio quality improvement in either cases?


    QJA

    Marcos
     
    • Like / Agree Like / Agree x 1
    • List
    Last edited: Jan 25, 2020
  17. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Friend
    Joined:
    Apr 22, 2016
    Likes Received:
    2,561
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    Are you unhappy with the Allo sound quality? Even though I would love to sell you a PI2AES, the Allo is a very good product, and in some ways superior to ours. Granted it does seem to require their own power supplies to achieve this.

    I would not want to see you be disappointed if our product does not noticeably increase the sound quality.

    Cheers,
    Michael
     
    • Like / Agree Like / Agree x 24
    • List
  18. Biodegraded

    Biodegraded Friend

    Friend
    Joined:
    May 28, 2017
    Likes Received:
    5,028
    Trophy Points:
    113
    Location:
    Vancouver BC
    This response demonstrates a class that I wish every manufacturer would display. Kudos, sir.

    Edit: @mtavares , if you do decide to go with the Pi2AES and LPS you don't need the 50W one to power the HAT - 15 is enough.
     
    • Like / Agree Like / Agree x 6
    • List
  19. Ksaurav402

    Ksaurav402 Friend

    Friend
    Joined:
    May 7, 2019
    Likes Received:
    1,251
    Trophy Points:
    93
    Location:
    NY
    I own both and keeping sound quality aside, just to have AES/ I2S/ BNC/RCA output from one box is like win win for me.
     
    • Like / Agree Like / Agree x 5
    • List
  20. Michael Kelly

    Michael Kelly MOT: Pi 2 Design

    Friend
    Joined:
    Apr 22, 2016
    Likes Received:
    2,561
    Trophy Points:
    113
    Location:
    Rhode Island, USA
    Home Page:
    Well you guys can definitely encourage folks to get the PI2AES! ;)

    Cheers,
    Michael
     
    • Like / Agree Like / Agree x 4
    • List

Share This Page