Moode Forum

Full Version: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

There were OS changes in Moode 6 that required an extra library to be specified when building mpd_oled. This library is not usually installed on earlier versions of Moode, and so there is an error when building on earlier versions with the Moode 6 instructions. I included some instructions for Moode 5, to build with a plain 
Code:
make

(rather than 'PLAYER=MOODE make'). This should also work with Moode 4, and if building with a plain 'make' works for you I will update the instructions to say to do this if building on Moode 5 or 4.

Adrian.
(10-14-2019, 10:21 AM)adrii Wrote: [ -> ]Hi

There were OS changes in Moode 6 that required an extra library to be specified when building mpd_oled. This library is not usually installed on earlier versions of Moode, and so there is an error when building on earlier versions with the Moode 6 instructions. I included some instructions for Moode 5, to build with a plain 
Code:
make

(rather than 'PLAYER=MOODE make'). This should also work with Moode 4, and if building with a plain 'make' works for you I will update the instructions to say to do this if building on Moode 5 or 4.

Adrian.
When use "make" it's made a mpd_oled file in folder mpd_oled.
And then, i used this code

Code:
sudo ./mpd_oled -o 6 -b 10 -g 1 -f 20
the oled screen turn up, but the spectrum bars doesn't work . 
How can i fix it. I followed this instruction, but no thing change (the spectrum bars still doesn't work ) https://github.com/antiprism/mpd_oled/issues/22
Thanks for your help.
Hi

Thanks for your feedback.

Sorry, I forgot that Moode 5 introduced changes to the system files that mpd_oled includes a patch for to set up the audio copy for the spectrum analyser. This means that the current Moode patch doesn't work with Moode 4.

My suggestion is to undo the patch, in case it made any changes, and install a version of mpd_oled from the time when Moode 4 was current.

First, rerun the patch command. If it previously succeeded it should give you an option to reverse the patch, say yes to this, otherwise it will simply fail again and nothing needs to be done. From the mpd_oled source directory run
Code:
sudo patch -d/ -p0 -N < moode_mpd_fifo.patch


Now, remove the build files
Code:
make clean


Checkout a version of mpd_oled from when Moode 4 was current
Code:
git checkout -b moode4 a8cd6b1b82cd7265f8dd40d41b8b73898f6495b3

View and follow the Moode install directions from that time
Code:
less INSTALL_MOODE.md

I'll update the Moode install instructions to say that they only work with Moode 6 and 5.

Adrian.
(10-14-2019, 09:12 AM)rndce Wrote: [ -> ]I used MoOde 4.3......

Perhaps a silly question, but why would you not use the latest Moode release?
I reinstall MoOde 6.3.0, and follow instructions for Moode (https://github.com/antiprism/mpd_oled/bl...L_MOODE.md), everything works fine.
I am pleased everything is working!
Hello
I like this display:
https://www.winstar.com.tw/products/oled...2864q.html
Will it work ?
Hi

I can't say for sure, but the SSD1309 works with mpd_oled, and the following message (from the U8G2 author) suffests that the SSD1309ZC should therefore also work: https://forum.arduino.cc/index.php?topic=633216.0

Adrian.
Hi Adrian

I bought this display. But didnt check properly the datasheet. It has 30 pin ribbon. I'm in black ass now Smile
Hi mateoJazz

I don't think the ribbon connector should be a problem. If you look at the link you posted for the display there is an "interface pin function" table near the bottom, which says how to specify an i2c connection and which pins should be connected to what when using i2c.

Adrian.