PCB: Move diodes to matrix columns instead of rows; change matrix row pins for better routing

This commit is contained in:
Lexi / Zoe 2024-02-29 17:52:41 +01:00
parent ccff5ab3d9
commit 742be3a927
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
1 changed files with 14 additions and 13 deletions

View File

@ -36,17 +36,17 @@ points:
# Key rows (from bottom to top) # Key rows (from bottom to top)
rows: rows:
one: one:
row_net: P9 row_net: P5
two: two:
row_net: P8 row_net: P6
tags: [ is_key, flip_led ] tags: [ is_key, flip_led ]
three: three:
row_net: P7 row_net: P7
four: four:
row_net: P6 row_net: P8
tags: [ is_key, flip_led ] tags: [ is_key, flip_led ]
five: five:
row_net: P5 row_net: P9
# Key columns (from left to right) # Key columns (from left to right)
columns: columns:
@ -168,8 +168,8 @@ pcbs:
params: params:
keycaps: true keycaps: true
hotswap: true hotswap: true
from: "{{column_net}}" from: "{{colrow}}"
to: "{{colrow}}" to: "{{row_net}}"
# TODO: Check if the position of the rotary encoder fits with the controller board # TODO: Check if the position of the rotary encoder fits with the controller board
rotary_encoder: rotary_encoder:
@ -177,29 +177,30 @@ pcbs:
where: is_rotary_encoder where: is_rotary_encoder
adjust.rotate: 90 adjust.rotate: 90
params: params:
from: "{{column_net}}"
to: "{{colrow}}"
# TODO: Set these to GPIO pins # TODO: Set these to GPIO pins
A: "rotary_encoder_a" A: "rotary_encoder_a"
B: "rotary_encoder_b" B: "rotary_encoder_b"
C: "rotary_encoder_c" C: "rotary_encoder_c"
from: "{{colrow}}"
to: "{{row_net}}"
diode: diode:
what: diode_smd what: diode_smd
where: is_key where: is_key
# TODO: Is this a good position? Might be a bit too close to the hotswap sockets...
adjust: adjust:
shift: [ -8.28, -8.5 ] shift: [ 5, -2.5 ]
rotate: 90 rotate: 180
params: params:
side: B side: B
from: "{{colrow}}" from: "{{colrow}}"
to: "{{row_net}}" to: "{{column_net}}"
diode_rotary_encoder: diode_rotary_encoder:
$extends: pcbs.eepypad.footprints.diode $extends: pcbs.eepypad.footprints.diode
where: is_rotary_encoder where: is_rotary_encoder
adjust.shift: [ 0, 0 ] adjust:
shift: [ 0, 0 ]
rotate: 90
led_pixel: led_pixel:
what: sk6812_mini_e what: sk6812_mini_e