Moode Forum
[How to do instruction] 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9)
+--- Thread: [How to do instruction] 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi (/showthread.php?tid=155)



RE: help me - ghera78 - 02-28-2020

hello but a guide to install it with volume is that this https://github.com/antiprism/mpd_oled/blob/master/INSTALL_VOLUMIO.md
that this gives error and above all does not recall the raspi-config,
thank you


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 02-28-2020

Hi ghera78

I am pleased mpd_oled is working for you on Moode.

I don't understand your message about Volumio, but if you are having problems installing mpd_oled on Volumio then please use the following thread on the Volumio forum

   https://forum.volumio.org/oled-spectrum-display-volumio-raspberry-zero-t9267.html

(or raise an issue with the mpd_oled project at Github).

Adrian.


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - ghera78 - 03-04-2020

hi to all hi installed on moode audio only that when i finish the procedure the diplay works perfectly but there is no audio, while before i install it it does.
help please


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 03-04-2020

Here it was suggest you use the HiFiBerry DAC+ setting for your DAC:  http://moodeaudio.org/forum/showthread.php?tid=2186&pid=16696

If you look at this thread, they suggest using the IQaudiO DAC+ setting: http://forum.xbian.org/thread-2551-page-2.html

They also suggest that there is an I2C mode, which I don't know whether your model has or if it is activated, but I guess there is a potential for interaction if the OLED is also using I2C (and the bus speed has been changed from default?)

These are just some pointers as I am afraid I don't have any experience with similar DACs.


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - The Herb Guy - 03-04-2020

Hello,

I also have the same problem @ghera78.
After a clean installation and configure my Hifiberry DAC+ Pro as I2C audio DAC everythings works as expected.
My oled display with an SH1106 chip is detected at address 0x3c.

Then I follow your install guide for mpd_oled which works until it comes to the display test.
When I start playing a song I can hear it through my amplifier.
Then enter the following line into my ssh session:
Code:
sudo ./mpd_oled -o 6 -b 10 -g 1 -f 20 -R
The display gets initialized and show as it should be but from now on you get in trouble until you reboot!!!!
I try to describe what's going wrong:
So a song is playing and the display in testmode shows the data as expected. 
When you now press pause in the moode web ui the song get paused as expected. The display also stops but pressing play in the web ui will play the song again but you will not hear nothing.
The same happens when you skip to the next or previous song. So the player works but no audio out and also the display is not updated.

I also try finish the installation and reboot the system.
After the reboot you are not able to start the player and also the display is black.

For me this looks like a problem on i2c communication because as long as there no second device on the i2c bus everything seems to be ok.

The Herb Guy


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 03-04-2020

Quote:For me this looks like a problem on i2c communication because as long as there no second device on the i2c bus everything seems to be ok.
Correct..You've not specified the address the oled should use..



Firstly.... Try specifying your oled address..as found (add -a 3c) That should fix it.
Code:
sudo ./mpd_oled -o 6 -a 3c -b 10 -g 1 -f 20 -R

Otherwise..

I wonder if there is a clash with 2 x i2c devices trying to share the same address....
Can you post the results of this both with the oled attached and without.


Code:
sudo i2cdetect -y 1


Often these oled displays have a link on the back that can be desoldered and moved resoldered to change the i2c address.
I often do this when I need to run 2 displays together.

Other options include a board that will give i2c addresses to attached displays...(I will post the details once I find mine)


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - The Herb Guy - 03-05-2020

Hi DRONE7,

(03-04-2020, 11:38 PM)DRONE7 Wrote:
Quote:For me this looks like a problem on i2c communication because as long as there no second device on the i2c bus everything seems to be ok.
Correct..You've not specified the address the oled should use..
As it is on the default port "3c" it's not necessary to add it with -a 3c (see post #201)
But I also tried this with no luck :-(

Quote:Otherwise..

I wonder if there is a clash with 2 x i2c devices trying to share the same address....
Can you post the results of this both with the oled attached and without.
pi@moode:~ $ i2cdetect -y 1
    0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
As you can see there are only 2 devices on the i2c bus with different addresses.
3c is the display and 4d is the Hifiberry DAC+ Pro


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 03-05-2020

Have you applied the patch noted here ?
http://moodeaudio.org/forum/showthread.php?tid=155&pid=16579#pid16579


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - The Herb Guy - 03-05-2020

(03-05-2020, 12:10 AM)DRONE7 Wrote: Have you applied the patch noted here ?
http://moodeaudio.org/forum/showthread.php?tid=155&pid=16579#pid16579

Yes. It also written in the installation guide for Moode at the mpd_oled github page.


RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 03-05-2020

Well, that's me out of ideas Smile We will await Adrii ....