snsten / Klein

Klein keyboard is a 36 keys, columnar staggered, split ergo keyboard
226 stars 15 forks source link

Missing Encoder route in PCB for Pro Micro Controllers #4

Closed snsten closed 1 year ago

snsten commented 1 year ago

Description of Error

Schematics

Resoultion of Error

Summary of Fix

azhizhinov commented 1 year ago

Hello. May I ask you about a firmware, intended to use with your keyboard? Is that pretty KLOR firmware? If so, whether this options can be changed from these: `/ encoder support /

define ENCODERS_PAD_A { F5 }

define ENCODERS_PAD_B { F4 }

define ENCODERS_PAD_A_RIGHT { F4 }

define ENCODERS_PAD_B_RIGHT { F5 }

define ENCODER_RESOLUTION 2`

To these: `/ encoder support /

define ENCODERS_PAD_A { D1 }

define ENCODERS_PAD_B { D0 }

define ENCODERS_PAD_A_RIGHT { D0 }

define ENCODERS_PAD_B_RIGHT { D1 }

define ENCODER_RESOLUTION 2`

Is that will fix the issue for ProMicro-based? I'm asking, because I've already ordered the PCB. :-) Thanks for your time.

snsten commented 1 year ago

Hi, thanks for your interest in this project.

As for the encoder using pin D1 and D0 should work but you will loose the ability to connect OLED or Trackpad if that's fine then you can use them by bridging the jumper JP9 and JP10.

idesignstuff commented 1 year ago

Planning to use the Xiao BLE for mine. Ordered 10 boards from jlcpcb tonight. Thanks for all the effort to make this!

azhizhinov commented 1 year ago

Hello. May I ask you about batteries, you've planned to use? How the batteries should be attached to the PCBs, that's not covered yet. Thanks in advance.

snsten commented 1 year ago

The battery can be placed below PCB, between hotswap sockets and can be secured with some tape. Placement can be like in the image below (sorry for bad quality). battery

You can connect battery as follows:

Will add build guide soon, feel free to clarify anything and do check the polarity of battery itself and PCB JST pads.

azhizhinov commented 1 year ago

Hello. Thanks for your answers. I think, there is an issue with B1. Accordingly to KiCAD, it's S2B-PH with 2.0mm pitch, THT. But, accordingly to your BOM, it's SM02B-GHS-TB(LF)(SN) with 1.25 pitch, SMD. Thanks for your time.

snsten commented 1 year ago

You are correct there is a mismatch, since I used Seeed Fusion Open Parts Library OPL to get components. I couldn't get the 2mm pitch THT connector there it might be there but couldn't find it on that site. You can solder the 1.25mm connector directly on the pads not ideal but it will work. I would change the part to more suitable version later created an issue #5.

snsten commented 1 year ago

Hello. May I ask you about a firmware, intended to use with your keyboard? Is that pretty KLOR firmware? If so, whether this options can be changed from these: /* encoder support */ #define ENCODERS_PAD_A { F5 } #define ENCODERS_PAD_B { F4 } #define ENCODERS_PAD_A_RIGHT { F4 } #define ENCODERS_PAD_B_RIGHT { F5 } #define ENCODER_RESOLUTION 2 To these: /* encoder support */ #define ENCODERS_PAD_A { D1 } #define ENCODERS_PAD_B { D0 } #define ENCODERS_PAD_A_RIGHT { D0 } #define ENCODERS_PAD_B_RIGHT { D1 } #define ENCODER_RESOLUTION 2 Is that will fix the issue for ProMicro-based? I'm asking, because I've already ordered the PCB. :-) Thanks for your time.

Added initial QMK config for Pro Micro here will add a better keymap and config for RP2040 based boards like KB2040 later.

snsten commented 1 year ago

PCB with fixed routes works correctly.