this post was submitted on 28 Jun 2023
4 points (100.0% liked)

ErgoMechKeyboards

5739 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 1 year ago
MODERATORS
 

I’m planning on building a custom keyboard with 24 keys running of a BlackPill. It’ll have OLED and RGB.

My question: the BlackPill has 3v and 5v pins. Which should I use for what?

you are viewing a single comment's thread
view the rest of the comments
[–] klackygears 2 points 1 year ago (4 children)

Your best bet would be to look at the datasheets for the OLED or RBGs you want to use. I think most RGBs that are addressable that are commonly used are 5v

[–] nydas 2 points 1 year ago (3 children)

Found it, thank you!

RGB=5v OLED=3v

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Before you go charging full speed ahead, you need to look up what the logic voltage on the blackpill is. I've never used one, so you'll have to check that for yourself.

If the blackpill's high voltage is 3.3v, then an RGB running at 5v will likely not recognize 3.3v as high (or as a binary 1 if that's easier to think about).

There are two ways to get around this, either power the RGBs from 3v which is out of spec but will work (they will be dimmer though, and again this is out of spec), or shift the blackpill's logic level to a higher voltage. You can use a diode to accomplish this, with this fiendishly clever hack.

If you need to use either of the above approaches, probably a good idea to breadboard it first before shelling out for the PCBs

[–] nydas 1 points 1 year ago

Ordered before I saw this :-/ Bet that’s ok. I can do a bit of a hark if needed. The 3 & 5 volt pins are right next to each other.

load more comments (1 replies)
load more comments (1 replies)