[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: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 03-05-2020 Hi Bob The Pi specific code is probably all contained in the bcm2835 library https://www.airspayce.com/mikem/bcm2835/, but this "Works on all versions upt to and including RPI 4.", and so mpd_oled may also work on all Pis. Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - ghera78 - 03-06-2020 hi guys, I have become white hair then with audio mode the display works perfectly with hifiberry dac + for 5122, it does not reproduce any sound unfortunately I also enabled manually: dtparam = audio = on, because via ssh it did not allow it but no audio, while with volume it is on the contrary everything works but just end one song and start the other the display freezes on the last image, if you have other suggestions I accept them thanks RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - The Herb Guy - 03-08-2020 (03-05-2020, 06:32 PM)DRONE7 Wrote: There are posts over at the hifiberry forum where LCD displays using i2c backpacks work....I have previously used an LCD Display without backpack with my hifiberry Digi+. Hi, currently I have 2 Pis. The old one Pi 1 Model B Rev 2 and a Pi 4 Model B. I connected my Dac (Hifiberry Dac + Pro) via Jumperwires to my old Pi and the Display via Jumperwires to the Display This works as described. The music plays and when you start the script for the display it will also show everything as expected The only thing is that you cannot use the next, prev, play or pause. When you press one of these buttons on the web ui or via console (mpc toggle) the display freezes the player starts the next song but the audio stops Also there is no pin 27/28 on the old model. On the Pi 4 I simply can use the 40 pin and build the DAC on top. The display is connected to DAC via jumperwires and here is the behavior a little bit different. When you start the display script you can use all the navigation and you hear the sound. But the display freeze after using the navigation. Using pin 27/28 for the display slow it down as adrii described. This is the current status. I want to use the old Pi because the new one will be my media player for videos. The old one needs no active cooling and will do his job quite good The Herb Guy RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - The Herb Guy - 03-09-2020 Hi everybody, update for the old PI version: After testing the display over the DAC on my PI4 I reassemble the stuff to the old PI and found are malfunctioned jumperwire. Booting the PI shows the clock. After start playing internet radio the display will not start to work automatically. I had to restart the systemctl manually via the shell. Then the display works as expected. But everytime you change the something (play, pause, change source) the display freezes and you have to manually restart the systemctl. Any ideas? The Herb Guy RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 03-10-2020 I wrote to Suptronics, who make the X920 that ghera78 uses Quote:I have developed an application to provide an OLED display with a music Suptronics were kind enoght to reply with the following Quote:The X920 used the same DAC chipset as other DAC board (PCM5122) so I think The Herb Guy, have you written to Hifiberry, or do you plan to? Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - The Herb Guy - 03-10-2020 Hi Adrii, unfortunately they will not help out here. As they clear statet here ( https://www.hifiberry.com/docs/hardware/gpio-usage-of-hifiberry-boards/ ) > There is no support from us. You can ask questions in our community area. There are already interesting projects and other users might help you. :-( Currently there are 2 main problems that maybe are just one. After booting the display will be initialized and shows the current time below it there is a line and below that the info that was shown before shutdown. When start playing the display will not refreshed and stay showing the described output. After manually call "sudo systemctl restart mpd_oled" the display will work as expected until you change something (pause, next, prev or change from or to internet radio stations) The Herb Guy RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 03-10-2020 Hi The Herb Guy I suspect that that it is all the same issue, of the I2C devices interfering with each other. I have put a message on the Hifiberry Community Board to ask for any thoughts https://support.hifiberry.com/hc/en-us/community/posts/360009586198-Hifiberry-DAC-Pro-issue-with-I2C-OLED Adrian. RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - The Herb Guy - 03-10-2020 (03-10-2020, 06:38 PM)adrii Wrote: Hi The Herb Guy Thanks RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - DRONE7 - 03-10-2020 Interesting comments here re creating other i2s buss... would that sidestep the current clash ? https://www.instructables.com/id/Raspberry-PI-Multiple-I2c-Devices/ Quote:sudo nano config.txt RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - adrii - 03-11-2020 Hi Bob It is a good suggestion, and should avoid the issue. However, I have reviewed the library I use for I2C and unfortunately I can't see any support for extra I2C buses. Also, the OLED initialisation and display library I use depends on this I2C library, and so any change to support extra I2C buses in the current code is probably not straightforward. For the future, the U8G2 library has been ported to ARM and I have created a project that assembles this into a library package for Raspbian (but still needs some extra utility functions). It supports software I2C, but I am unsure of its speed or if it can take advantage of the i2c_gpio driver. I will ultimately switch to using this library for mpd_oled https://github.com/antiprism/libu8g2arm_test Adrian. |