rgoulter / keyboard-labs

Repo with my PCB designs and keyboard firmware
121 stars 11 forks source link

Possibility to use 1 MCU for both halves. #3

Closed azhizhinov closed 2 years ago

azhizhinov commented 2 years ago

Hello. I'm not so talented engineer as you, so asking. :-) Is it possible to use only 1 MCU? Something like this project? https://github.com/SzymonGoldberg/scsbaf40 Thanks in advance.

rgoulter commented 2 years ago

May be possible, but it's arguable whether it's worth it.

The "X-1" design in this repository works in the same style as the helix keyboard (or its more famous descendant, the corne). It communicates using TRRS (Tip Ring Ring Sleeve) cable. The cable provides 5V / GND, and 2 wires for communication (either TX/RX or Clock/Data) between micro controller dev boards on each side.

The approach taken by scsbaf40 is to use an RJ45 jack. The RJ45 provides 8 wires. I haven't looked at the scsbaf40's schematic, but you can see the RHS has 16 switches <-> 4 rows x 4 columns <-> 4 wires + 4 wires. -- I mean, 16 keys is the max supported by the ethernet cable.

Applying that idea to this "X-1" design:

If you're uncertain, it's probably worth trying out with an MCU, some bread boards, and some breakout boards for the connectors you want to try. -- Designing a split keyboard in a way that doesn't copy from others might not be the most practical, but it seems like it'd be fun.

azhizhinov commented 2 years ago

Great. Thanks for your answer. I can understand that, 8 wires gives us 4x4 matrix. :-) But maybe USB-C cable can be used as here. https://github.com/KarlK90/yaemk-split-kb I'm totally dumb in those MCU things, signals, programming... But I can drag lines in KiCAD. :-) Have a nice day.