Spyke
ergomechkeyboards·ErgoMechKeyboardsbyAndy

Blackpill & ST7789V OLED pcb

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

View original on lemmy.world
lemmy.world

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.

1
Andyreply
lemmy.world

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

1

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.

1

You reached the end