4

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

top 3 comments
sorted by: hot top controversial new old
[-] BOFH666@lemmy.world 1 points 1 year ago* (last edited 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.

[-] nydas@lemmy.world 1 points 1 year ago

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

[-] BOFH666@lemmy.world 1 points 1 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.

this post was submitted on 02 Sep 2023
4 points (100.0% liked)

ErgoMechKeyboards

5942 readers
2 users here now

Ergonomic, split and other weird keyboards

Rules

Keep it ergo

Posts must be of/about keyboards that have a clear delineation between the left and right halves of the keyboard, column stagger, or both. This includes one-handed (one half doesn't exist, what clearer delineation is that!?)

i.e. no regular non-split¹ row-stagger and no non-split¹ ortholinear²

¹ split meaning a separation of the halves, whether fixed in place or entirely separate, both are fine.
² ortholinear meaning keys layed out in a grid

No Spam

No excessive posting/"shilling" for commercial purposes. Vendors are permitted to promote their products/services but keep it to a minimum and use the [vendor] flair. Posts that appear to be marketing without being transparent about it will be removed.

No Buy/Sell/Trade

This subreddit is not a marketplace, please post on r/mechmarket or other relevant marketplace.

Some useful links

founded 2 years ago
MODERATORS