Lurker News
Hey HN,

I built a wireless, split, ultra-low profile keyboard from scratch called Bayleaf. As a beginner I learned all things electronics, PCB-building, designing for manufacturing, and many other hardware-related skills to put this together.
This case study dives into the build process and of course the final result, hope you enjoy!

Comments (247) 85 threads

Show all comments

Showing thread 56 of 85

donio1 reply#
Do the two sides communicate with each other or do they act as independent devices?
jsheard#
With the ZMK firmware they're using the sides usually communicate with each other. You have a "primary" side which does most of the firmware heavy lifting, including the Bluetooth connection to the PC, and a "peripheral" side which just sends raw key codes to the primary.

That arrangement means the peripheral side gets significantly better battery life than the primary, so ZMK also has an optional "dongle" mode where you connect a third ZMK device directly to the PC over USB, which acts as the primary, and then both sides of the keyboard act as peripherals so they both sip power.
As a bonus the dongle mode also means the PC sees it as a wired keyboard so it works in the BIOS, etc.