[HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Raspberry Pi related support

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

Postby rikardo1979 » 15 Apr 2016, 17:20

hondagx35 wrote:Hi

Do you always surrender that soon?

rikardo1979 wrote:edit:I forgot to mention, I using Raspberry 2

You do not have the latest image for the RP2 / RP3, or?

Is your display wired correctly?

Frank

well, is not so soon. I spend £150 for piece of s.. as Audiophonics messed up big style sending a wrong parts in it, they support is one of the worst I have ever experienced and after a week of fiddling with, this crap still does not work...
So yes, I gave up and I have lost my nerve with this
Last edited by rikardo1979 on 15 Apr 2016, 20:25, 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 » 15 Apr 2016, 19:16

seems that Audiophonics was busy last days or hours :)
http://forum.audiophonics.fr/viewtopic.php?f=4&t=1492&p=6207#p6207

So for me that is the only solution, sorry guys...
>>>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 » 15 Apr 2016, 20:00

Sorry to hear that Rikardo, but I will look for your posts in Xbian, when I am there desperately looking for information myself... :D
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

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

Postby rikardo1979 » 15 Apr 2016, 20:02

PeteB wrote:Sorry to hear that Rikardo, but I will look for your posts in Xbian, when I am there desperately looking for information myself... :D

any time ;) but hope you would not need any help with XBian. It should be pretty trouble less but you never know :)
>>>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 hondagx35 » 15 Apr 2016, 20:43

Hi Bruno,

Bruno.dualo wrote:One thing you might guys me to figure out is where to call the script 16x2_oled_runeaudio.py so it runs when my Pi starts?

I would do it the arch linux way and use systemd.

Save this as /usr/lib/systemd/system/oled.service
Code: Select all
   
[Unit]
    Description=Audiophonics OLED Service
    After=mpd.service

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

    [Install]
    WantedBy=multi-user.target


Enable it:
Code: Select all
systemctl enable oled.service


I will have a look a it and try this week-end to add a few features like the detection of the airplay mode.

All the info is accessible via redis (activePlayer, act_player_info)
Code: Select all
redis-cli get act_player_info
"{\"volume\":\"40\",\"repeat\":\"0\",\"random\":\"0\",\"single\":\"0\",\"consume\":\"0\",\"playlist\":\"109\",\"playlistlength\":\"313\",\"mixrampdb\":\"0.000000\",\"state\":\"play\",\"song\":\"312\",\"songid\":\"313\",\"time\":\"748\",\"elapsed\":\"3\",\"bitrate\":\"1336\",\"audio\":\"48000:24:2\",\"OK\":null,\"song_percent\":0,\"audio_sample_rate\":\"48\",\"audio_sample_depth\":\"24\",\"audio_channels\":\"Stereo\",\"changed\":\"playlist\",\"currentartist\":\"moe\",\"currentsong\":\"George\",\"currentalbum\":\"Live at Snow Ridge Ski Resort on 2008-08-31\",\"fileext\":\"flac\",\"radioname\":null,\"actPlayer\":\"MPD\"}"


You can use redis-py for the script.
Frank
User avatar
hondagx35
 
Posts: 3039
Joined: 11 Sep 2014, 22:06
Location: Germany

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

Postby PeteB » 15 Apr 2016, 20:55

Can anyone use that script with the correct display module, or is it specific to the Audiophonics DAC?

I was going to use an I2C display because it does not take up any additional GPIO pins, but if this one works with Rune and Arch, I might as well make use of it (shrug).

It looks to me like the script reads information from Rune, and has no interaction with the type or make of DAC used.
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

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

Postby hondagx35 » 15 Apr 2016, 21:07

Hi Pete,

it doesn't read from Rune but from mpd.
This is the reason why you will not get info when playing spotify for example.

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

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

Postby Bruno.dualo » 17 Apr 2016, 14:17

So to summarize, here is how to make the OLED 16x2 works on a Audiophonics RaspDAC V2 (I-sabre V2 DAC ES9023) with a Raspbesrry 2 (be aware I'm talking about RaspDAC V2 not V3) with RuneAudio.

First wired the RaspDAC and the OLED like shown in this page:
http://forum.audiophonics.fr/viewtopic.php?f=4&t=1492

Update your RuneUI:
how-to-update-the-runeui-via-git-t547.html

If you get a message:
Code: Select all
error: Your local changes to the following files would be overwritten by merge:
(...)
Please commit your changes or stash then before you can merge.

Then if you know your changes you can use
Code: Select all
git reset --hard

or otherwise
Code: Select all
git stash

Run a git pull once again:
Code: Select all
git pull
curl -s -X GET 'http://localhost/clear'


Then:
set a softlink to python2
Code: Select all
ln -s /usr/bin/python2 /usr/bin/python

install GCC
Code: Select all
pacman -S gcc

install RPIO.gpio
Code: Select all
wget https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.6.2.tar.gz
tar zxvf RPi.GPIO-0.6.2.tar.gz
cd RPi.GPIO-0.6.2
python setup.py install


get the python script and uncompress it
download/file.php?id=587
Code: Select all
tar zxvf 16x2_oled_runeaudio.tar.gz

copy this file
Code: Select all
cp 16x2_oled_runeaudio.py /usr/local/bin/


Register the script as a service, to launch it at startup:
Code: Select all
nano /usr/lib/systemd/system/oled.service

Copy the following in the file:
Code: Select all
   
[Unit]
    Description=Audiophonics OLED Service
    After=mpd.service

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

    [Install]
    WantedBy=multi-user.target

Enable the service
Code: Select all
systemctl enable oled.service

Start the service
Code: Select all
systemctl start oled.service


Many thanks Franck!
If I have forgotten something, tell me and I will add it.
Last edited by Bruno.dualo on 17 Apr 2016, 15:14, edited 1 time in total.
Bruno.dualo
 
Posts: 3
Joined: 15 Apr 2016, 14:21

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

Postby hondagx35 » 17 Apr 2016, 15:05

Hi Bruno,

thank you for this detailed How-To.

If I have forget something, tell me and I will add it.

Looks as it is complete.

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

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

Postby sandradabo » 18 Apr 2016, 15:23

Can these instructions be used for LCD display (not OLED) that is HD44780 compatible ?
sandradabo
 
Posts: 1
Joined: 18 Apr 2016, 15:17

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: cmh714 and 7 guests