Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
thank you
Reply
Working perfectly as expected....
Reply
I apologize for my English, I am Russian myself, I use a Google translator. Tell me where to look for the reason? After starting in 7.0.1 mode, everything is fine, after a while the top line moves to the bottom, after the reset everything is fine, where to look for the cause?
[Image: 2ed7ae76f750t.jpg][Image: 769266f54889t.jpg]
Reply
Hi ROCH23

Your message appeared in Russion, here is the Google translation

Hello everyone!

I apologize for my English, I am Russian myself, I use a Google translator.
Tell me where to look for the reason?
After starting in 7.0.1 mode, everything is fine, after a while the top line
moves to the bottom, after the reset everything is fine, where to look for the cause?

There is an old issue raised for this

  https://github.com/antiprism/mpd_oled/issues/3

I reopened it recently as there was a new report

   https://community.volumio.org/t/oled-spe...w/8067/224

A couple of messages lower I propose a fix for this, which appears to work, and you could install

   https://community.volumio.org/t/oled-spe...w/8067/227

If you do install this, make sure you use the install instructiond for the branch

   https://github.com/antiprism/mpd_oled/tree/offset_fix

I will apply the fix to the main branch, but probably not until after Easter.

Adrian.
Reply
Adrian, thank you very much for the technically competent answer!

The I2C 15-CM wires of the display setting were mpd_oled -o 4 -b 32 -g 1 -f 20,
bus speed dtparam = i2c_arm_baudrate = 800000

Changed the setting to mpd_oled -o 4 -b 32 -g 1 -f 15, dtparam = i2c_arm_baudrate = 400000 until I watched from the surface of the line for an hour!
Didn't change wires, changed only F and i2c speed

After 1.5 hours, the line moved down. speed settings don't help.
Thanks a lot Adrian!
Reply
Hi ROCH23

If you are using mpd_oled -o4 then the branch I made to fix this won't help, as it is only used for SSD1306 and SSH1106 OLEDs. I will see if I can find time to update the main branch of mpd_oled sometime this week, and I will add support for your OLED to the fix when I do this. I will post here when the update is available.

Adrian.
Reply
Adrian, my display works with two configurations, and both have line feeds to the bottom.
mpd_oled -o 4 -b 32 -g 1 -f 15 mpd_oled -o 3 -b 32 -g 1 -f 15.
If you fix the code, you can write it in a personal message, I will test it and write the result.
Thanks Adrian!

Adrian, what needs to be done to make the display show the Russian Cyrillic alphabet, edit the script, or is it a display without the Russian Cyrillic alphabet?
[Image: f883b2a9546at.jpg]
Reply
Hi ROCH23

If you can run your display with 'mpd_oled -o3' then the offset_fix branch should fix the issue for you if you specify -o3.

There is no support for non-Latin alphabets in the current mpd_oled. However,  I am in the process of switching to U8G2 for the OLED controllers and graphics, and this includes a lot of fonts, and so it is likely that Cyrillic and other alphabets will be supported in the future.

Adrian.
Reply
Adrian, tried typing the command in SSH git clone -b offset_fix https://github.com/antiprism/mpd_oled.git
grep reset_offset main.cpp

Last login: Mon Mar 29 21:52:38 2021 from 192.168.0.137
pi@moode:~ $ git clone -b offset_fix https://github.com/antiprism/mpd_oled.git
fatal: destination path 'mpd_oled' already exists and is not an empty directory.
pi@moode:~ $ grep reset_offset main.cpp
grep: main.cpp: No such file or directory
pi@moode:~ $ Last login: Mon Mar 29 21:52:38 2021 from 192.168.0.137
pi@moode:~ $
tried changing the display setting from mpd_oled -o 3 to 'mpd_oled -o3, didn't help!
Reply
Hi ROCH23

The install instructions are

   https://github.com/antiprism/mpd_oled/bl...L_MOODE.md

The only thing that is differerent is that you will run the mpd_oled clone command that gets the branch with the fix (instead of the git clone command for mpd_oled in the instructions)
Code:
git clone -b offset_fix https://github.com/antiprism/mpd_oled.git

The error you got is because there was already an mpd_oled subdirectory, so you could just delete this directory first, or start the installation in a different directory.

If you are running Moode 7.1 you will need the latest instructions for setting up the audio copy for the spectrum (don't run any patch command if you are running Moode 7.1)

   https://github.com/antiprism/mpd_oled/issues/65

[There was a major update to mpd_oled and a new version of Moode since I made the branch to fix this issue, and so the instructions to install it are now a bit more complicated.]

Adrian.
Reply


Forum Jump: