antiprism / mpd_oled

MPD, Volumio, RuneAudio and Moode OLED status and spectrum display for Raspberry Pi (and similar)
Other
168 stars 45 forks source link

Display compatibility #7

Open Roughtrade opened 6 years ago

Roughtrade commented 6 years ago

Is it possible to run your program with the following display? https://www.waveshare.com/wiki/1.5inch_OLED_Module

Another question for a possible perfection of your software. Switch over the display via an mpc trigger so that you can see the songs in the current playlist and then scroll through them to select one of them. Like for example on the console with ncmpc

Regards Peter

antiprism commented 6 years ago

Hi Peter

mpd_oled only currently works with a limited number 128x64 displays and, besides being a different resolution, I don't believe the chip on that device is compatible with any of the supported chips.

The initial idea of the project was simply to produce a working solution, using a cheap display, that other people could follow directly. I wasn't trying to produce something general that might work with the displays that people have or want to use. However, I have been thinking about expanding the scope of the project, possibly using something like u8g2 to support a wide range of displays (it supports the display you mentioned) and providing a customisable screen layout.

For your other question, I don't think it is very likely I would add something like this. However, maybe you could configure the OLED to be a console https://www.reddit.com/r/raspberry_pi/comments/4cnc12/sending_console_to_spi_displays/ Then, you might be able to switch out of mpd_oled, run ncmpc on the OLED (mapping buttons to control it), and then switch back to mpd_oled when done.

Adrian.

battez commented 3 years ago

hi thank you for useful comment here! @antiprism I have a 240x240 SPI display (LCD) from pimoroni st7789v chipset. I am going to try it out with this library even though I doubt it will work but hopefully adafruit SPI might function. I am kind of new to this stuff but did find this info. on integrating ST7789v in another context, which you might understand better https://github.com/ImpulseAdventure/GUIslice/issues/163

Anyway I was going to try and get the spectrum analyser part to work with a Blinkt and your mpd information is very helpful there too. Thanks.

antiprism commented 3 years ago

Hi

I wouldn't expact any of the existing drivers in mpd_oled to work with your display.

I have previously used a display like yours and configured it as a framebuffer device for use as a text console. If you did that you could run cava directly and display the audio spectrum on your display. The instructions I followed to get my display running as a console were something like the following

https://www.haphazard.io/blog/raspberry-pi-framebuffer-fbtft-ili9341/

Adrian.