I'm trying to connect a 128x64 OLED display with the SH1106 driver for the BIGTREETECH SKR mini E3 printer controller board which uses the 32 bit STM32f103RC MCU.

Note that it works fine with my RAMPS 1.4 board but when I compile it on PlatformIO for the 32 bit controller, it doesn't work. Probing the pins on the board, the data and clock pins are floating. Any help would be greatly appreciated.

  • 3
    $\begingroup$ Hi Oliver, welcome to 3DPrinting.SE! Isn't this an OLED display instead of an LCD? Please add a photo of the graphical display to help others to answer your question. $\endgroup$ – 0scar Nov 18 '19 at 9:44
  • 3
    $\begingroup$ Question: "MKS 12864OLED Display setup" has an accepted answer that works for an MKS printer controller board, maybe that may work for you too! $\endgroup$ – 0scar Nov 18 '19 at 9:49
  • 1
    $\begingroup$ Yeah, its an OLED, just changed the title. I've seen that Q/A, I believe it's quite old as they already implemented those changes with Marlin and it works without any modifications with the RAMPS 1.4 board. however, it doesn't seem to be working with my 32 bit controller which has the STM32f103RC MCU. I'm thinking it has something to do with the U8GLIB-HAL library. $\endgroup$ – Oliver Nov 19 '19 at 0:47
  • $\begingroup$ Are you using the ARM version of the U8GLIB library? Please note that the U8GLIB is officially deprecated and not developed anymore. The developers have moved to U8G2, you can find many links of people using the OLED on the STM32. I cannot test this at the moment, my STM32 based controller board is being shipped... $\endgroup$ – 0scar Nov 19 '19 at 6:08
  • $\begingroup$ yeah, marlin uses u8glib-hal for non atmega based boards $\endgroup$ – Oliver Nov 19 '19 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.