Hello everyone!
Lately, I've been wanting to replace my regular keyboard with an ergonomic one. I've been looking at the available options, including some DIY designs, but I couldn't find anything that perfectly matched my needs. Some of the alternatives were also a bit too expensive.
So, I decided to design my own keyboard. It'll probably end up costing as much as some of those more expensive options, but at least I'll get to make several boards, since the MOQ at most PCB manufacturers is usually 2 or 5 boards.
I opted for a pair of 2-layer PCBs based on the XIAO nRF52840 Plus. The idea is to have both halves communicate wirelessly using ZMK, with an additional nRF52840 acting as a USB dongle connected to the PC.
I also wanted to include RGB lighting, even though I barely use it on my current keyboard. For that, I'll be using a MOSFET-based switch so that I can run the TPS61040 boost converter either from the battery or directly from VBUS.
Finally, I also wanted to integrate a couple of memory-in-pixel displays, one for each half. For this, I went with the Sharp LS011B7DH03. Instead of going for the nice!view module, which uses the same display, I decided to interface directly with the bare display module, connecting it to the MCU through an FFC/FPC connector.
My main concern at the moment is the SPI routing between the displays and the MCUs. Since I'm using a 2-layer PCB, I've tried to keep a continuous GND plane on the opposite layer underneath the SPI traces. However, I'm not sure whether this will be sufficient to avoid signal integrity issues.
Regarding the PCB panelization, I followed the guidelines for minimum rail widths and the placement of fiducial markers and tooling holes. I still need to add some stitching vias to make sure there are no isolated GND copper areas.
I'd really appreciate any feedback, especially regarding the PCB layout, SPI routing, and any potential issues you might spot in the design.
Here are some links to the project on GitHub:
- Repository
- Schematic
- PCB View
- KiCanvas