Coder Social home page Coder Social logo

Comments (5)

antiprism avatar antiprism commented on June 17, 2024 1

Hi nocturneop15

Thanks for the feedback and suggestions (it is fine to use the issues section for this).

I have already started work on custom display layouts, but I am unlikely to be able to continue to looking at this before the end of September. My current plans are #18 (comment)

Someone is already running two instances of mpd_oled, with some slight code changes, on I2C displays. One display shows the active player screen and the other shows the idle screen.

@supercrab, the technique to have a lot of SPI displays looks interesting. I wonder how many screens can share an SPI or I2C bus and still allow a frame rate high enough for the spectrum display? From a quick search it looks like it might be possible to have two (or three) SPI devices without any extra hardware https://www.raspberrypi.org/forums/viewtopic.php?t=140159, and it looks like u8g2 supports this olikraus/u8g2#388 .

Adrian.

from mpd_oled.

nocturneop15 avatar nocturneop15 commented on June 17, 2024 1

antiprism: great you think about implementing custom layouts, everyone will find his best :-) In the meantime, I will order some more displays and try some tricks you supercrab mentioned.

As I look to code, it looks very readable even when I have no programing skills (except powershell). Maybe it is a good time to start learning more complex programming :-)

from mpd_oled.

supercrab avatar supercrab commented on June 17, 2024

I had a similar idea and bought some 256 x 64 pixel OLED displays so I could play with doubling the width of the screen. I'm currently coding the screen driver for this right now. I just wanted to add album art (in monochrome) and spread things out a bit, plus it gives me something to do in the evenings.

I spoke to antiprism and he does intend to support custom layouts at some point. This might be a JSON file(s) that would allow the layout to be user configurable. You could have everything located and sized just the way you want it to be. Really nice idea especially for displays of different sizes.

Anyway, back to multiple displays. There's 2 types of OLED SPI and I2C. Normally, I2C OLEDs have a 0ohm resistor on them that allow you to change the address of the device between one value or another. This would allow you to easily hook up 2 OLEDs to your device (we're talking about the cheap displays here).
You should be able to run 2 instances of mpd_oled twice and by specifying a different I2C address for each display. If this is coupled with the customisable layout functionality then you would have 2 different displays quite easily.

You could have up to 32 SPI screens with this custom PI SPI driver. I don't know much about it but I did see 5 screens going at once! See here: http://www.newsdownload.co.uk/pages/RPiSPiDev.html

Currently, it's not possible to have more than 1 diplsay over SPI. If mpd_oled were to support this it would take some work I reckon!

from mpd_oled.

supercrab avatar supercrab commented on June 17, 2024

Having just the 1 screen is fine for me! :) I like the simplicity!

from mpd_oled.

supercrab avatar supercrab commented on June 17, 2024

Good luck! :)

from mpd_oled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.