Comments (7)
Hi Vijay
Thanks for reporting the issue.
I am not immediately sure what the problem is, but I wonder if it relates to the transmission of the data not being good enough at the speed the i2c bus is being run, and this leading to screen corruption.
It looks like you are running with the same set-up as me (I have an RPI Zero W with a 4 pin i2c SH1106 OLED) and I was able to run with the bus speed set to 1200000, with the OLED connected by 15cm cables (although I currently use 10cm cables). My OLED screen can be connected to 3.3V or 5V, and I have it connected to 5V.
If you are using 20cm cables, you could try using shorter cables. If you are running the i2c bus faster than 400000, you could try running it at 400000 (dtparam=i2c_arm_baudrate=400000 in /boot/config.txt, and run mpd_oled with '-f 15'). If you are using 3.3V, and your screen supports 5V, try using that.
Adrian.
from mpd_oled.
Dear Adrian
I have been trying various settings and recently I have tried using your code with RPI 3. I do not have the issued of flicker with RPI 3 and I get clean display initially. But as the music is played, the frame slowly moves upwards. I am using the following command
mpd_oled -o 3 -a 3c -b 10 -g 1 -f 25
Please see attached video and help me.
Regards
Vijay
from mpd_oled.
Dear Adrian
Just to update you that your code is working fine with Moode. This problem is only with Volumio.
Regards
Vijay
from mpd_oled.
Hi Vijay
My understanding is that the SSD1306 OLED display you are using has a hardware scrolling function, and this wraps the display. What you are seeing looks like this kind of scrolling, as the mpd_oled program writes to absolute coordinate locations and these have been vertically shifted on the screen and wrapped.
The code I use to access the OLED includes scrolling functions, but I don't call any of them.
You may be seeing the same problem as here,
https://forums.adafruit.com/viewtopic.php?f=47&t=60867
but with the difference that because mpd_oled is not using scrolling the scroll offset is never reset.
The scroll may be an occasional error from running your particular hardware setup too fast (you are using mpd_oled -f 25 and your wires look at least 15cm long). Kernel differences between Volumio and Moode may also be a factor. Do you still see the scroll in Volumio with dtparam=i2c_arm_baudrate=400000 and mpd_oled -f 15?
Anyway, I may be able to clear the issue for you by periodically resetting the scroll. I'll look at this.
Adrian.
from mpd_oled.
Closing. I haven't received any other reports of this issue and so haven't implemented the scroll reset. I will reopen the issue if there are new reports.
from mpd_oled.
New report of what seems to be the same issue
https://community.volumio.org/t/oled-spectrum-display-on-volumio-on-raspberry-pi-zero-w/8067/224
from mpd_oled.
Closed with bb55927
from mpd_oled.
Related Issues (20)
- MoOde - ALSA loopback - SoX HOT 24
- hello how it use with mic without player HOT 35
- Volume - % HOT 2
- Mod main.cpp HOT 3
- Really solved? still have issue HOT 3
- Feature Request: Turn off display or screensaver after idle period HOT 3
- MPD OLED for Raspberry Pi VOLUMIO 3.0? HOT 37
- Display freezes on playback start (moOde 8.1.2) HOT 11
- Mpd_oled on a 128x64 RGB matrix HOT 3
- cp: cannot stat '/var/local/www/currentsong.txt': No such file or directory HOT 28
- Some potentially useful tips for defining the mpd_oled service for Volumio HOT 4
- 128x32 Monochrome OLED HOT 2
- Improve framerate by changing image data transmission HOT 2
- Unable to use hifiberry digi pro DAC with mpdoled HOT 13
- Option for showing Spectrum analyser only, when mpd is playing HOT 2
- Russian song titles are not displayed HOT 4
- MPD_oled over MoOde audio rel 8.3.2 HOT 17
- A mpd_oled is crashing in idle/clock mode after switching to 64bit. HOT 8
- Not an issuse but some things for Raps p4 64bit raspbain HOT 1
- Spectrum Analyzer after some time in stop HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpd_oled.