Hey there,

Hoping someone could point me to a PCB that is using a Blackpill and a ST7789V OLED display. I have the above and am not 100% on which pins to wire up. GND is obvious. VCC I’m pointing to 3.3V, then there is:

  • CS
  • DC
  • Reset
  • SDA
  • SCL

The smaller screens only have SDA & SCL. Can anyone confirm whether the others are optional, mandatory, whether there are specific/preferred pins?

I’m feeling a little lost at the moment, so hoping for some guidance.

FYI this is the specific display: here

  • @BOFH666
    link
    1
    edit-2
    1 year ago

    SDA/SCL pair is probably i2c, CS chip-select? But that would be more appropriate for spi.

    DC is probably to switch the display controller between command and data modes. So you will have to connect that to a gpio on your blue pill to let software switch between data/command.

    Alrighty… Big fat S P I on the back of the PCB (: facepalm:). So SDA/SCL is data and clock for the spi-bus. Hth.

    • AndyOP
      link
      11 year ago

      So basically ‘don’t worry about it, just put any pin to any pin and manage it through QMK?’

      • @BOFH666
        link
        11 year ago

        No experience with qmk on these controllers, but connected several of these oled displays to esp32 microcontrollers without any problems.

        CS, SDA and SCL will be your spi bus, the D/C is an output (from controller pov, input for the display) to signal the ‘mode’ of operation.

        Good luck.