[HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Raspberry Pi related support

[HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 10 Apr 2016, 15:04

Hi guys,
Anyone have an experience with this DAC? When I bought this kit from Audiophonics

AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Image
ImageImage

I thought is ready to use solution where I was shocked it came with no instructions what so ever.
So I thought I give it a try and use it with our XBian which I have been into since we started that project with few guys. But I have realized I ca not make it fully operational as I wanted. The DAC is working fine and can be used as audio out within Kodi but thats not all I want. I would like to make the power button operational and the OLED too. This is where I hit wall in XBian as it is build to different purpose. I have tried a little with one of our developers but it would be a waste of time.

As I am pretty useless with code I cant really do it on my own :D But I can follow instruction etc and I am familiar with linux as I using it as my main platform, I using Raspberry Pis since they released 1st one having few at home...

So my question is. Is here anyone who has some time and feel to help me to make this working? :)

edit:I forgot to mention, I using Raspberry 2

edit2: here is short video of the issue I having with this kit. Basically no matter how I try to wire it it does not work as it should. So if I press it once, it does nothing or in other case it powers DAC/RPi but goes OFF instantly. So the RPi LED just flash for few seconds.
Or if I double press it it powers the DAC/RPi but the LED in button keeps flashing!?! But it suppose to stay lit on? It would be pretty annoying to have it flashing on you all the time you have this unit ON!??!

Last edited by rikardo1979 on 10 Apr 2016, 15:57, edited 1 time in total.
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 10 Apr 2016, 15:54

I have realized there is another thread for this DAC. Sorry I have not seen it before I created this. If this is an issue please feel free to merge mods
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby PeteB » 10 Apr 2016, 16:53

Hi Rikardo,

That looks like a nice kit. Wish I had seen it b/f I decided to roll my own... (chuckle). Did you get a script or download and install software with the kit to make the button work correctly?

I have looked at that web site in the past, but my French is not good enough to understand all of it. There should be a page where you can download drivers for that DAC, the button, and the display.

I have both Xbian and Rune running on separate Pi2 platforms with HiFiBerry boards, and I used the Mausberry shutdown (although I don't have it connected currently).

That button is probably supposed to activate something like a shutdown command on the Pi, so Xbian or Raspbian etc. can shutdown safely, and then the DAC board does a hard power-down.

Normally you would have a small program running as a service or something similar on the Pi to watch the button, and activate a shutdown. Looks like that may not be installed on Xbian (?)

Pete
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 10 Apr 2016, 17:08

PeteB wrote:Hi Rikardo,

That looks like a nice kit. Wish I had seen it b/f I decided to roll my own... (chuckle). Did you get a script or download and install software with the kit to make the button work correctly?

I have looked at that web site in the past, but my French is not good enough to understand all of it. There should be a page where you can download drivers for that DAC, the button, and the display.

I have both Xbian and Rune running on separate Pi2 platforms with HiFiBerry boards, and I used the Mausberry shutdown (although I don't have it connected currently).

That button is probably supposed to activate something like a shutdown command on the Pi, so Xbian or Raspbian etc. can shutdown safely, and then the DAC board does a hard power-down.

Normally you would have a small program running as a service or something similar on the Pi to watch the button, and activate a shutdown. Looks like that may not be installed on Xbian (?)

Pete

Hi Pete,

Thanks for reply. I have not try anything just yet with RuneAudio. I have just flashed it on SD card and run it first time. I have the DAc working, as all is done nicely with this OS. All what was needed was uncoment it in /boot/config.txt
This is great how guys did this OS.
Now I would need to try make this power button and OLED screen to work.
I have tried it under Volumio. Followed all the steps I could understand but no joy. As I mentioned I am bad with code :D Shame on me.
But somehow I gave up as I did not like Volumio much. On our XBian, there is no point. I have tried with one of our developer on one other guy from our team. But as our OS is for different purpose, mainly as a Kodi distro, it would required a lot of tweaking and fiddling around.
Then I came across this RuneAudio and seems this is going to be the best to use with that DAC.

At the moment al works fine. I mean streaming of my local library or Tidal HiFi is just perfect over this DAC. I have this connected to Naim Nait XS 2 into our Spendor D7s. Terrific sound coming out of it :)

Image

I can live without power button and the screen. I dont think I will ever need it. But it would be nice to have it working once I paid for it :D

So I hoping someone would have enough patience to work with noob like I am and guide me step by step
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby PeteB » 10 Apr 2016, 17:31

The ideal person to help you would be Frank.

If he does not get to it first, I will try, because I am doing almost the same with slightly different hardware.

I am certain the kit would work with Xbian also, but it might be necessary to ask on their web site for direction on how to download and use it.

From what I have understood, the directions are to

1) First install a library called "wiringPi".

2) Then, create a script called sds.sh (Raspberry-pwr-management/master/sds.sh)

3) Add the script to rc.local

4) Download scripts for a soft shutdown and soft reboot

5) modify the os to use the Audiophonics scripts

There are also some interesting notes about the power supply in the same thread on Audiophonics, and I do not see what supply you are using. You may want to read those... :D

Pete
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 10 Apr 2016, 19:01

PeteB wrote:The ideal person to help you would be Frank.

If he does not get to it first, I will try, because I am doing almost the same with slightly different hardware.

I am certain the kit would work with Xbian also, but it might be necessary to ask on their web site for direction on how to download and use it.

From what I have understood, the directions are to

1) First install a library called "wiringPi".

2) Then, create a script called sds.sh (Raspberry-pwr-management/master/sds.sh)

3) Add the script to rc.local

4) Download scripts for a soft shutdown and soft reboot

5) modify the os to use the Audiophonics scripts

There are also some interesting notes about the power supply in the same thread on Audiophonics, and I do not see what supply you are using. You may want to read those... :D

Pete


I work for XBian so I telling you that is no go :P

Pover supply is 5V 3.4A. I know they mentioned 6V which I do not have but I have tried 7.5V and same issue.
Those scripts I have tried it on Volumio but no good. I could not make it work. But as I do not want to use that OS I dont think I find any help there.
And the Audiophonics forum, well all in French which I understand nothing. Google auto translate works, but without respond on their forum I cant do much. I have posted few times there but no reply at all for days. Maybe cos I posted in English :P
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby PeteB » 10 Apr 2016, 20:51

rikardo1979 wrote:...
I work for XBian so I telling you that is no go :P

Pover supply is 5V 3.4A. I know they mentioned 6V which I do not have but I have tried 7.5V and same issue.
Those scripts I have tried it on Volumio but no good. I could not make it work. But as I do not want to use that OS I dont think I find any help there.
And the Audiophonics forum, well all in French which I understand nothing. Google auto translate works, but without respond on their forum I cant do much. I have posted few times there but no reply at all for days. Maybe cos I posted in English :P

Ok, I accept that about Xbian, :mrgreen: and thanks for the great distro, btw!

Try posting your Q in English again, this time using all capital letters, maybe they will understand it better... :roll:

Let's start with the power supply... 5V will be a no-go, this is may be why the power button is blinking (!) take a close look at the LEDs on the Pi, also.

Reason:

From http://forum.audiophonics.fr/viewtopic.php?f=4&t=1578
Nicko ....
Sujet du message : Re: Tutoriel I-sabre V3 : Gestion d'alimentation du Raspberry
Administrateur - Site Admin
...

Cette nouvelle version à besoin de 6V mini car il y a une alimentation intégrée avec régulateur faible bruit, il faut donc une chute de tension pour qu'il puisse fonctionner. Il pourrait fonctionner en 12V, mais aucun périphérique USB ne doit être branché sur le PI sinon il va surchauffer.


I understand this part, even in French (I spent a couple happy years designing low-noise power supplies) Here is what this means:

"This new version needs 6V minimum because there is an integrated supply using a low noise regulator, which requires a voltage drop so it can function. It could function at 12V, but other USB peripheral must NOT be connected to the Pi, otherwise it will overheat."

So, they have a low dropout regulator on their board. From this one can calculate backwards, so your 7.5 V supply can and should be used, but not under 6V or over 9V. 12V is iffy... (iffy being a technical term for "just say NO").
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 10 Apr 2016, 21:42

PeteB wrote:
rikardo1979 wrote:...
I work for XBian so I telling you that is no go :P

Pover supply is 5V 3.4A. I know they mentioned 6V which I do not have but I have tried 7.5V and same issue.
Those scripts I have tried it on Volumio but no good. I could not make it work. But as I do not want to use that OS I dont think I find any help there.
And the Audiophonics forum, well all in French which I understand nothing. Google auto translate works, but without respond on their forum I cant do much. I have posted few times there but no reply at all for days. Maybe cos I posted in English :P

Ok, I accept that about Xbian, :mrgreen: and thanks for the great distro, btw!

Try posting your Q in English again, this time using all capital letters, maybe they will understand it better... :roll:

Let's start with the power supply... 5V will be a no-go, this is may be why the power button is blinking (!) take a close look at the LEDs on the Pi, also.

Reason:

From http://forum.audiophonics.fr/viewtopic.php?f=4&t=1578
Nicko ....
Sujet du message : Re: Tutoriel I-sabre V3 : Gestion d'alimentation du Raspberry
Administrateur - Site Admin
...

Cette nouvelle version à besoin de 6V mini car il y a une alimentation intégrée avec régulateur faible bruit, il faut donc une chute de tension pour qu'il puisse fonctionner. Il pourrait fonctionner en 12V, mais aucun périphérique USB ne doit être branché sur le PI sinon il va surchauffer.


I understand this part, even in French (I spent a couple happy years designing low-noise power supplies) Here is what this means:

"This new version needs 6V minimum because there is an integrated supply using a low noise regulator, which requires a voltage drop so it can function. It could function at 12V, but other USB peripheral must NOT be connected to the Pi, otherwise it will overheat."

So, they have a low dropout regulator on their board. From this one can calculate backwards, so your 7.5 V supply can and should be used, but not under 6V or over 9V. 12V is iffy... (iffy being a technical term for "just say NO").

Well, it does not matter if I used 5V or 7.5V PSU the behavior is exact same. And if there the power source is not sufficient shouldn't this not work at all?
Like on RPi if the PSU is no good you experience issues, cant boot at all or you see rainbow icon indicates udervoltage.
But I have been using it for whole weekend and the RPi and DAC works just fine. Its just the LED is constantly flashing?! But I do not understand what that means and so far nobody explained me this :)
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby PeteB » 10 Apr 2016, 22:39

If the people who designed the board tell you there is a regulator and you need 6V or more, I would believe them. 5V probably results in sending a low voltage to the Pi, so it may work, but not well.

Which LED is flashing? The one in the button, the red one on the edge of the Pi board?

I do not think that the button can possibly work without some software, like the shutdown script for example.

edit:

If you have a voltmeter, you can check the voltage on the Pi, but I can only conclude that if you use a 5V supply, the voltage at the Pi will be too low to work correctly.
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby hondagx35 » 10 Apr 2016, 22:57

Hi ricardo1979,

installing this should be easy on RuneAudio.

Its just the LED is constantly flashing?! But I do not understand what that means and so far nobody explained me this :)

This is because your DAC does not get the correct signals from your Pi.

1) use the latest image for RP2/RP3

2) update RuneAudio
Code: Select all
cd /var/www
git pull


3) install wiringPi
Code: Select all
pacman -Sy wiringpi


4) save this file as /usr/local/bin/sds.sh
Code: Select all
#!/bin/bash

echo "Audiophonics Shutdown script starting..."
echo "Asserting pins : "
echo "ShutDown : GPIO17=in, Low"
echo "BootOK   : GPIO22=out, High"

gpio -g mode 17 in
gpio -g write 17 0
gpio -g mode 22 out
gpio -g write 22 1

while [ 1 ]; do
  if [ "$(/home/pi/wiringPi/gpio/gpio -g read 17)" = "1" ]; then
        echo "ShutDown order received, RaspBerry pi will now enter in standby mode..."
        /var/www/command/rune_shutdown poweroff
        systemctl poweroff
        break
  fi
  /bin/sleep 0.25
done

exit 0


5) make it executable
Code: Select all
chmod +x /usr/local/bin/sds.sh


6) change /var/www/command/rune_shutdown
Code: Select all
....
#  file: command/rune_shutdown
#  version: 1.3
#  coder: Simone De Gregori
#

if [[ $1 == "poweroff" ]]
then
  echo "power off RuneAudio"
  gpio mode 7 out
  gpio write 7 1
  sleep 1
  echo "Setting pin GPIO7 Low"
  gpio write 7 0
else
  echo "reboot RuneAudio"
  # Reboot blink will stop after Boot OK return
  echo "setting pin GPIO 4 High"
  gpio -g mode 4 out
  gpio -g write 4 1
fi

echo "Stop MPD and unmount shares..."
.....


7) make a service for sds.sh
save this as /usr/lib/systemd/system/sds.service
Code: Select all
[Unit]
Description=Audiophonics Shutdown Service
After=network.target

[Service]
ExecStart=/usr/local/bin/sds.sh
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
RestartSec=10
StartLimitInterval=30
StartLimitBurst=20

[Install]
WantedBy=multi-user.target


8) enable the service
Code: Select all
systemctl enable sds.service


This all is not tested!
I hope it works.

Frank
User avatar
hondagx35
 
Posts: 2990
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 7 guests