My Volumlio - Accuphasemio - Project

Tell us how you made up your Volumio powered Project

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

My Volumlio - Accuphasemio - Project

Postby pattdepanick » Mon Dec 03 2018 10:22

Hi everyone,

As a newcomer of this part of the forum, I wanted to share with you my latest project based on volumio...

I have been dealing with audiophile distributions for quite some time and I finally ended up with volumio after many tests on many different HW and software platforms. I started a few years back with the early builds of daphile. Then I went through vortexbox, tinysqueeze among others.

I started at a time where raspeberries were just introduced somehow ...and my first tests were actually performed using thin clients...Doing these very first tests, I discovered with some friends working with me on these projects that the power supply part had a tremendous impact on the final sounding result. We did also some comparison between X86 boards and raspberry PI and decided to stick to some X86 board. We did try several x86 board as well and sticked to an asrock one in the end.

My idea was to get a streamer that could integrate well with the rest of the different components of my hifi system. I actually built 2 streamers in two different chassis for the two hifi systems that I own. I wanted the streamer to be able to display infos just like a cd player would do, meaning having a 16x2 lcd at the minimum to show artist name and song...

As I said earlier, we gave a lot of importance to the power supply part. The person in charge of this part is actually a former R&D Engineer from one of the world leading companies in computer market. He was formerly in charge of designing power supplies for desktops. Therefore, he naturally thought about a way of providing the best power supply for this streamer.

I would look after testing the different linux distros and he would build the best power supply for the streamer.
Our bill of materials would be as follow:

1 x chassis (matching the brand look and feel of the pre owned hifi equipment)
1 x x86 motherboard ; Asrock
2 x 2Gigas Ram Moduules
1 x Small SSD drive to host volumio bits ( All my music is sitting on a Synology ds1511+ Nas)
1 x Power supply for the X86 board
1 x Power Supply for the transport part
Some connections part (usb ports, Hdmi Port, Rj45 port, AES Port, etc)
Some usb cables
2 x Adafruit USB to serial LCD Backpack + 2 x 16x2 LCDs RGB
1 x Schaffner IEC plug

Some soldering skills....

I started by buying an old accuphase digital tuner from 1995 in Russia :-). The device was no longer working as the satellite service is no longer provided. It cost a few hundred euros but at least, I had the accuphase chassis I wanted (rock solid and well designed). this will happen to be quite useful when dealing with the integration odf the different parts...

IMG_20181130_163246.jpg
a little view of the inside...
IMG_20181130_163246.jpg (363.39 KiB) Viewed 2738 times


asrock1.jpg
x86 board and connections
asrock1.jpg (603.48 KiB) Viewed 2738 times


Once all the parts were in, I setup the volumio bits and started to work with another colleague on the LCDs part of this project :

IMG_20181203_103257.jpg
2 16x2 RGB LCDs with 2 adafruit usb to serial backpacks
IMG_20181203_103257.jpg (235.98 KiB) Viewed 2738 times


As you can see, information is displayed in the following order from right to left :
Using the two serial backpacks, both lcds are appearing under /dev/ttyacm0 and1 on volumio. I am leveraging the lcdbackpack python library to do the display.
The data is retrieved using an python mpd client for files and radio based music
1st screen shows Artist's Name and Album's Title, the second screen shows Song's Title as well as bitrate infos.

When playing webradios, it would display as follows :
1st screen shows Radio's Name and Webradio underneath , the second screen shows Artist / Song's Title as well as bitrate infos.

I am currently working on the qobuzz part but there , I must admit we face some issues as we don't know yet how / where to retrieve the infos from ?
should we talk to upmpdcli ? or interrogate qobuzz api ? or socket.io for the volumio websocket api ??

Any advice in welcome....
The code we are developping is python based; it is available here:

https://github.com/pattdepanick/vlub

This is not final yet but we are definitely heading in the right direction :D

If you are interested in knowing more about thje power supply part, feel free to visit the following site : https://www.roseaudio.fr/english/

In the vintage part, you can see some early work I did on some former sony ES tuner...

Any comments or questions are welcome ;)

pattdepanick.
User avatar
pattdepanick
Sunday DIYer
Sunday DIYer
 
Posts: 17
Joined: Mon Jan 22 2018 15:11

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


My Volumlio - Accuphasemio - Project

Postby pattdepanick » Mon Dec 03 2018 10:23

here are some recent views of the display on the sony streamer:

IMG_20181203_111823.jpg
radio display
IMG_20181203_111823.jpg (319.42 KiB) Viewed 2736 times


IMG_20181203_111800.jpg
song display
IMG_20181203_111800.jpg (316.59 KiB) Viewed 2736 times
User avatar
pattdepanick
Sunday DIYer
Sunday DIYer
 
Posts: 17
Joined: Mon Jan 22 2018 15:11


My Volumlio - Accuphasemio - Project

Postby pattdepanick » Wed Dec 19 2018 17:12

Hi all

We finally managed to get everything working smoothly by interfacing with the volumio API rather than usiing the mpd python client. Now, webradio; qobuzz , spotify all works fine in terms of information display on the LCDS.

A simple question though, how come bitrate and samplerate infos does not show up through the api get state request when they do while using the python mpd client....As these infos non relevant on the volumio UI ?

volumio gives these details for regular mpd files ort for music streaming services like qobuz but when playing webradio, it shows the name of the radio and webradio but no bit rate how come ?
User avatar
pattdepanick
Sunday DIYer
Sunday DIYer
 
Posts: 17
Joined: Mon Jan 22 2018 15:11


My Volumlio - Accuphasemio - Project

Postby warllo » Wed Feb 06 2019 15:24

Hi,

Very cool project. I was hoping to use your code in a project I am working on. I was hoping you could suggest a few screens for use other than the adafruit screen as they are quite expensive, perhaps something from aliexrpess or banggood.

@pattdepanick
Random avatar
warllo
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Wed Jan 30 2019 14:39


My Volumlio - Accuphasemio - Project

Postby pattdepanick » Fri Mar 15 2019 20:52

Hi

here is the latest update on the project.
I managed to connect some oled displays to the adafruit backpack. The lcds are ok but the backlight approach did not match my requirements...I am getting old and the readability of lcd is too poor for me and my declining vision :-) . Besides, the oled appearance is way better ! it matches the accuphase displays.

you can see the difference on the following picture.

IMG_20190303_190428_01.jpg
IMG_20190303_190428_01.jpg (1.55 MiB) Viewed 1619 times


this one shows you the resukt with both displays

IMG_20190307_113157_01.jpg
IMG_20190307_113157_01.jpg (114 KiB) Viewed 1619 times


now with the help of a nice 3d printer, I will get a nice piece of plastic in which the tow oled displays will nicely fit.

the code has also improved over time.

Getting there slowly but surely :-)

@warlo :
I actually bought the oled on alliexpress. unfortunately , the usb to serial backpack is only available on adafruit. I understand the cost issue, but didnot find any easier or simplier solution...

If you have any idea I 'd be happy to test !
User avatar
pattdepanick
Sunday DIYer
Sunday DIYer
 
Posts: 17
Joined: Mon Jan 22 2018 15:11


My Volumlio - Accuphasemio - Project

Postby Totonello » Tue Apr 23 2019 18:24

Wow, nice job!
I built my own one and works great. I'm just trying to get from mpd information about the bitrate. I've seen you've done it greately. Could you please let me know about the code you used in the python script? thank you
Random avatar
Totonello
Sunday DIYer
Sunday DIYer
 
Posts: 11
Joined: Wed Jan 02 2019 15:48


My Volumlio - Accuphasemio - Project

Postby pattdepanick » Sat May 18 2019 22:19

Hi

Sure and happy to share.

please provide some feedbacks as well !

check the following repo :
https://github.com/pattdepanick/vlub

the current version of the code actually works for mpd or any other source present in volumio (mpd for web radio,and API for everything else like streaming services for instance)

originally I looked at the mpd side only and was using the following code leveraging this :

https://python-mpd2.readthedocs.io/en/l ... arted.html

for bitrate : use the following
Code: Select all
#!/usr/bin/env python
from mpd import MPDClient
client = MPDClient()               # create client object
client.timeout = 10                # network timeout in seconds (floats allowed), default: None
client.idletimeout = None          # timeout for fetching the result of the idle command is handled seperately, default:$
client.connect("localhost", 6600)  # connect to localhost:6600
bitrate = client.status()['audio']
print (client.status()['audio'])
client.disconnect()


today I rely on an API call on the volumio API. it allows me to get the data I need easily
check the class VLUBPlayer(): part


there is also theclass VLUBMPDPlayer(MPDClient): that only talks to mpd itself...
User avatar
pattdepanick
Sunday DIYer
Sunday DIYer
 
Posts: 17
Joined: Mon Jan 22 2018 15:11


My Volumlio - Accuphasemio - Project

Postby 2Hot4you » Wed Jul 10 2019 11:12

wow, I'm interested, where can I find instructions?
User avatar
2Hot4you
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Wed Jul 10 2019 11:10


My Volumlio - Accuphasemio - Project

Postby Buckler » Thu Jul 11 2019 08:21

Hi,

Nice project!
Can you provide an url for the oled-display at AliExpress?

THNX

Harry
User avatar
Buckler
Serious Listener
Serious Listener
 
Posts: 64
Joined: Sun Sep 14 2014 08:34
Location: The Netherlands


My Volumlio - Accuphasemio - Project

Postby pattdepanick » Sat Jul 20 2019 14:12

Hi

here is the url for 16x2:
https://fr.aliexpress.com/item/32917221 ... 6c374LP9fu

here is the one for the 20x2:
https://fr.aliexpress.com/item/32950018 ... 6c374LP9fu

I mounted the OLED on the usb2serial Backpack from adafruit. I is somehow working...When I power up the system, sometimes the OLED displays don't initialize correctly and show some garbage. see below..

The behavior is random; Sometimes initialization is ok and both screens are fine. Some other time one out the two gets initialized and sometime none of them....

IMG_20190621_145843_01.jpg
IMG_20190621_145843_01.jpg (177.17 KiB) Viewed 359 times
one out 2 ok

IMG_20190719_165525_01.jpg
IMG_20190719_165525_01.jpg (653.84 KiB) Viewed 359 times
both ok

We tried adding some caps to delay the inintilization time but no real success there. What we found out was that using an extrenal battery pack with usb outputs gave the best results in terms of initialization.

to better understand, the connection for the OLEDS are as follows :
x86 motherboard => USB ports => usb cable to each display : each display being made of 1 usb2serial adafruit backpack + 1 oled

any help is welcome :-)
User avatar
pattdepanick
Sunday DIYer
Sunday DIYer
 
Posts: 17
Joined: Mon Jan 22 2018 15:11


Return to Diy Volumio Projects

Who is online

Users browsing this forum: No registered users and 2 guests