#Multiradio with OLED SSD1309

1 messages · Page 1 of 1 (latest)

quick musk
#

Hi! I’m designing a Multiradio for my cockpit and I want to use a 2.42” SPI OLED with Mobiflight. My display uses the SSD1309 controller.

  • I tested the OLED with a simple graphic test to give you an idea of the final result ( see pitcure )
  • As a first step, I tried using Mobiflight GNC255, but the OLED doesn’t turn on.
  • Is there a firmware compatible with SSD1309 SPI, or do I need to modify it to make it work?
austere junco
#

U8G2 should support the 1306. Currently it is built for the SSD1322 (mobiflight version) or SSD1362 (elral/tuomas version) though. Also hardcoded to 256×64. For a smaller display you would need to program your own custom device to define appropriate fonts and layouts

#

You should be able to reuse a lot of the groundwork though

quick musk
#

in fact I'm using the U8G2 library in my first graphic test, if I understood correctly you suggest me to use and modify a custom device already made. since it's the first time I use the custom device technique, which is really fantastic as a concept, where can I find a custom device to modify?

austere junco
#

https://github.com/MobiFlight/CommunityDevices has the source code to the GNC255 display as a reference.
https://github.com/MobiFlight/CommunityTemplate has the framework to start building your own

GitHub

Contribute to MobiFlight/CommunityDevices development by creating an account on GitHub.

GitHub

Check out this repository if you want to create your customized MobiFlight firmware - MobiFlight/CommunityTemplate

quick musk
#

you guys are fantastic… now I'm going to start studying, if something comes out I'll share it

quick musk
#

First step done! 😀

bright ravine
#

Oooooooo

stuck gust
#

Am I reading correctly RP2040 PICO OLED pins (17,18,19) then pin 16 must no longer be used?

austere junco
#

Yes, that pin essentially becomes tied to the serial interface for the display without being used by it.