Close
0%
0%

Basic Hot-Swappable Keyboard with RGB

Designed for hand assembly and low cost. Can be powered from an STM32, RP2040, or any module with enough GPIOs.

Similar projects worth following
This version is based on a 6x18 matrix allowing 99 hot-swappable keys including 10 macros keys, and RGB. The basic keyboard can be powered by any development module with enough GPIO's. I include a dedicated RP2040 and STM32F411 modules with the same 30 pin 1.27 mm connector. STM32F411 delayed due to code issues with RGB, please use RP2040... Revision 2.x on will use a single 34 pin 1.27mm connectors... Revision 3.x same as 2.x with 34 pin connectors mirrored... The 34 pin connector may require mounting on top or back of PCB, depending on orientation. Please see: https://hackaday.io/project/198392-keyboard-development-boards-qmk-via for modules.

Basic Keyboard:

The Basic Keyboard consists of the MX HS switches, diodes and RGB leds and a single connector and is arranged in an 18x6 matrix. It was design for hand assembly and low cost. No onboard processing (USB etc.) require an existing module having enough GPIO's, such as a Blackpill or RP2040 or my dev board based on RP2040 which has the exact connector required...

Development Board/Module:

As said above, I include two development modules with the correct connector to make life easier, both support QMK and VIA (code/files supplied). The STM32F411 module works for the keyboard but has an issue with RGB, once fixed I will add it, the RP2040 works out of the box...

Why two boards?

  • A fully assembled keyboard (including the processor etc.) in low volume is costly and the possibility of getting something wrong in your first attempt are quite high...
  • Hand soldering of the control/microprocessor side is difficult and requires special tools, fully assembled costs for the small module board are low...
  • As the keyboard doesn't contain tiny components, it is fairly easy to hand soldering and the board costs are very affordable ~ $25 including all components...
  • The keyboard PCB can also be used with other existing development boards...

At the end of the day, if everything works out (hardware and software), you can always combine the two boards into one and bite the cost bullet, I almost certainly will...

Total cost of  Basic Keyboard PCB including 100 Hot-Swappable Connectors, 100 RGB leds (SK6812-E) and 100 diodes costs ~ €25... just add MX Switches and Key Caps and a case...

The RP2040 module costs ~ €15...

Prices are given as a guideline, they reflect my costs based on 5 prototype of each board, retail prices would be higher. I supply the code and KiCad files (My GitHub Repo), you submit to JLCPCB/PCB Way etc...

Mike

  • 100 × SK6812MINI-E [RGB1]RGB LED with integrated controllerBackMount LCSC#: C5149201 €7.55
  • 100 × 1N4148W Discrete Semiconductors / Diodes and Rectifiers LCSC#: C466653 €1.89
  • 100 × CPG151101S11 Kailh Hot-swappable PCB Socket Aliexpress €9.57
  • 1 × Keybopard PCB PCB €10
  • 1 × Plate Mounted Stabilizers 4x2U, 1x6.25U Plate Mounted Stabilizer Aliexpress €8

View all 8 components

  • Basic 99 Key Keyboard​ Layout (EN014)

    Michael O'Toole06/18/2025 at 04:25 0 comments

    My series of Basic Keyboard PCB differs from other keyboards in that they use an external Keyboard Module for processing. They do however contain all the necessary components including; Matrix Diodes, RGB Leds and MX Key Sockets (hot-swappable). This allows for hand assembly and results in much lower costs at low quantities.   

    Connection from the Keyboard to Module is via a a single 34 pin 1.27mm IDC connector.

    EN014 Keyboard:

    Basically the same as my first keyboard with the following changes:

    1. Changed IDC connector to from 30 to 34 pin...
    2. Removed the need for the second connector...
    3. Moved the rotary encode to new position (better spacing for function keys)...
    4. Added several capacitors stabilize supply lines (optional, just in case but not required so far)...
    5. Moved Caps Lock LED to left of caps lock key...
    6. Updated KiCad files for plate included...
    7. Rev 2.0 Module Board required (all revisions) *see testing below...

    This is my final full sized Basic Keyboard design for now.

    All components (RGB, Diodes, MX switch Connectors and 34 pin module Connector are mounted on back of PCB, the Caps Lock Led is mounted on front along with the Keyboard MX Switches. I also tend to use plate mounted stabilizers although the PCB mounted type should work too... I haven't confirmed that yet.

    Modules:

    This keyboard requires version 2.0x of the Modules (version 2.x uses one 34 pin connector), see also the testing section below for more details.

    Testing:

    Completed all tests, all working perfectly (although I had to use a module board with the 34 pin connector mounted on the back, a slight screw up as I intended it to be on the component side) but not critical, perhaps I need *Rev 3 of the module ;)

    KiCad Files (PCB & Plate)...

    Mike

  • 1 Layout Error

    Michael O'Toole02/21/2025 at 13:48 0 comments

    Just noticed, the Caps Lock Led is in the wrong place, so it requires a simple hack (don't waste five prototype boards). A very simple mistake, easily fixed... must do better ;)

    Also need to move the drill hole for it on the keyboard plate...

  • Keyboard Plate

    Michael O'Toole02/15/2025 at 12:15 0 comments

    As keyboard is hot-swappable, I have included low cost FR4 plate, should cost about €5 from PCB Way (see update below).

    Sample, KiCad file...

    Update June 2024

    The cost of the FR4 plate has doubled, it appears PCBWay didn't include additional fabrication/tooling charges on this occasion, the next set were about €10 each (less VAT and shipping).   

    Printed case, Keyboard, Module

  • Basic Keyboard Tests

    Michael O'Toole02/12/2025 at 18:42 0 comments

    Basic Hot-Swappable Keyboard with RGB initial tests:

    I tested the newly arrived "Basic Keyboard PCB" with my RP2040 Keyboard Development Module, I should note, this was a quick test as I only fitted the RGB leds (all 99 of them), several MX switches and the rotary encoder. Also note, this was also a test of the Keyboard Development Module which also appears to work flawlessly.

    Next on the agenda is to fit the remaining switched and diodes, then test the macro functionality, and the code. The combined setup worked perfectly when testing with on usevia.com with the app.

    Day two...

    Completed the build, all parts installed and it works perfectly...

    Status:

    1. Software ✓
    2. Basic Keyboard PCB ✓ (change code to reverse volume up/down)...
    3. RP2040 Development Module ✓
    4. Keyboard Functionality ✓
    5. Macros ✓
    6. RGB ✓ (need to edit code to change RGB position)...

    Mike.

  • 65% Version of the Keyboard

    Michael O'Toole02/04/2025 at 23:43 0 comments

    Thought I'd add this into the mix, it's about 65% including 5 Macro keys on the left.

    I removed key that are not used or more precisely, not required for normal day to day work.

    The four on the right side are: Home, End, Print Screen and Insert, I never use the rest, beside if necessary I can always add missing keys to macros on layer 3 or 4...

    Inspired by my Akko/Monsgeek M1W (which is available with VIA support, my version didn't, I bought the wrong version but I love it. Come to think on it, I could make an exact layout as my M1W and swap the boards... more work... ;)

    Front: Keys and stabilizers

    Back, component side... (connector should be on back of board)...

View all 5 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates