[HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Raspberry Pi related support

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

Postby rikardo1979 » 10 Apr 2016, 23:01

PeteB wrote: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.

I mentioned, my psu is 7.5V and LED of the power button is flashing. I have linked my youtube video ;)

OP2
>>>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, 23:02

hondagx35 wrote: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

thanks.
Finally some clue into this.
Will test this tomorrow

OP2
>>>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, 23:16

btw, its going to be more fun than I thought[irony]
My experience with Arch is zero...
I did not realized is so different

OP2
>>>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 » 11 Apr 2016, 18:05

hondagx35 wrote: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


So time to try, and I did :)

But i see some error
Image
But decided to continue with your instructions and I finish the whole lot
But I am still not sure if I have the button wired the right way.
So if I press it and it gets latched in the position, the button LED and RPi LED flash and it goes OFF. And RPi not boot.
If I double press it, the RPi boots with button LED flashing and after a while it stays lit :D
So it seems your code done some good ;)
But if this is right I do not know.

So if I press it again button LED is lit and the RPi goes off in 1 s. So I dont think its shuts the system at all.

Another test was, once is ON I double press it and the button LED is blinking but nothing is happening, even in long period of time, like over 10-15 mins. So I think it does nothing
>>>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 » 11 Apr 2016, 18:27

Hi Ricardo,

Do you have a wiring diagram or a list of wires and connections to pins for the button? I ask because I see you moving the wires in the video, and as far as I can tell from the Audiophonics web site, there should just be two wires for the LED (+ and -), and two wires for the switch contact, NO (normally closed) and NC (normally open). So you should not have to try different connections (?)

P.
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

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

Postby rikardo1979 » 11 Apr 2016, 20:04

PeteB wrote:Hi Ricardo,

Do you have a wiring diagram or a list of wires and connections to pins for the button?

P.

no, and thats the problem. They Audiophonics provide nothing at all. No documentation what so ever :evil:
All they sent me was this picture
Image
But it is a different button at first. The one I have has 8 pins where only two are clear to me. LED +/-
than the other 6 pins are not clear
Image Image Image

So as you can see those markings are not clear at all. You can not even say which is NO and which NC as they both looks like NO to me :roll:
And should I use the left or right row? And what is the difference? I can't tell as there is no documentation at all ... :?: :!: :?:
Last edited by rikardo1979 on 11 Apr 2016, 20:31, 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 ingohz » 11 Apr 2016, 20:23

+/- for the LED are clearly labeled and the button should be connected to the 3 pins named "C" (common), "NO" (normally open) and "NC" (normally closed). As it is a 2-pole switch there are 2 of each and you have to use one row of them. Maybe you can test it with a multimeter. Keep away from the LED-pins and test if the contact is shortened between the "C"- and "NO"-pin if you press the button.
  • HiFi 1: Alix/voyage-mpd, MusicalFidelity M1 DAC (RP2/HifiBerry Digi+), Accuphase DP-67, Accuphase E-212, Infinity Kappa 8.2i
  • HiFi 2: RP2/7" Touchscreen/IQaudIO Pi-DAC+, Philips Fidelio X1
ingohz
 
Posts: 45
Joined: 22 Feb 2016, 12:11

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

Postby PeteB » 11 Apr 2016, 21:15

The letters will be on the plastic end by the pins. There is more than one contact, from the pic probably two contacts, each with C/common, NO/normally open, and NC normally closed contact.
From the description you only need one of the two, so some pins will be unconnected. So it looks like you need 4 wires, two for the LED + and -, and two for the switch.

Either side of the switch, should work, and only the "C" and "NO" contacts are used.
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

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

Postby hondagx35 » 11 Apr 2016, 21:41

Hi rikardo1979,

from your video i can see that your "button" is a toggle switch.
AUDIOPHONICS recommends using a momentary switch (bouton poussoir (momentané)).
Nouveau DAC I-SABRE V3.0 :

Révision évoluée de la version 2, cette version intègre un lot de nouvelles options :

Montage simplifié (aucune soudure nécessaire).
Régulation faible bruit avec dissipateur
Gestion d'allumage-extinction-reboot intégrée
Connecteur dédié à un raccordement d'écran (Brochage direct HD44780)
Connecteur dédié à bouton poussoir (momentané)
Entrée Jack DC 5.5/2.1 sur le PCB
Optimisation de l'intégration du convertisseur et du circuit.


In their description they speak about a ATX type power management:
"V3.0 is now equipped with advanced power management (type ATX)....."
In my understanding this is a momentary button as we know it from our PCs.

With your switch this will not work at all.

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

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

Postby rikardo1979 » 11 Apr 2016, 22:16

hondagx35 wrote:Hi rikardo1979,

from your video i can see that your "button" is a toggle switch.
AUDIOPHONICS recommends using a momentary switch (bouton poussoir (momentané)).
Nouveau DAC I-SABRE V3.0 :

Révision évoluée de la version 2, cette version intègre un lot de nouvelles options :

Montage simplifié (aucune soudure nécessaire).
Régulation faible bruit avec dissipateur
Gestion d'allumage-extinction-reboot intégrée
Connecteur dédié à un raccordement d'écran (Brochage direct HD44780)
Connecteur dédié à bouton poussoir (momentané)
Entrée Jack DC 5.5/2.1 sur le PCB
Optimisation de l'intégration du convertisseur et du circuit.


In their description they speak about a ATX type power management:
"V3.0 is now equipped with advanced power management (type ATX)....."
In my understanding this is a momentary button as we know it from our PCs.

With your switch this will not work at all.

Frank

Thanks for reply
I just do not understand it at all. How they can advertise different on their website? It just does not make any sense

Here is the advert video from their site


So their team has working unit, but they seems to be not able put any documentation together.

Also they have this thread http://forum.audiophonics.fr/viewtopic.php?f=4&t=1578 with all the scripts etc in it.

I just hope someone can find a sense in that and translate it to me ;)
But I have requested RMA as this is just ridiculous
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 6 guests