Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions hackpads/anubis/BOM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# BOM
- 14x MX-Style switches
- 2x EC11 Rotary encoders
- 12x Through-hole 1N4148 Diodes
- 1x Seeed XIAO RP2040
- 14x Blank DSA keycaps
- 4x M3x16mm screws
- 4x M3x5mx4mm heatset inserts
- 2x 4.7kΩ resistors
- 1x MCP23017 IO Expander
153,294 changes: 153,294 additions & 0 deletions hackpads/anubis/CAD/anubiscomplete.step

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions hackpads/anubis/Firmware/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
from kmk.kmk_keyboard import KMKKeyboard
from kmk.keys import KC
from kmk.scanners import DiodeOrientation
from kmk.extensions.mcp23017 import MCP23017

keyboard = KMKKeyboard()

keyboard.col_pins = (board.GP3, board.GP4, board.GP2)
keyboard.row_pins = (board.GP26, board.GP27, board.GP28, board.GP29)
keyboard.diode_orientation = DiodeOrientation.COL2ROW

mcp = MCP23017(i2c=board.I2C(), address=0x20)

direct_key_1 = KC.LCMD(KC.SPACE)
direct_key_2 = KC.LCMD(KC.TAB)

keyboard.keymap = [
[KC.LCMD(KC.N), KC.LCMD(KC.W), KC.LCMD(KC.T)],
[KC.LCMD(KC.F), KC.LCMD(KC.S), KC.LCMD(KC.Z)],
[KC.LCMD(KC.X), KC.LCMD(KC.C), KC.LCMD(KC.V)],
[KC.LCMD(KC.SPC), KC.LCMD(KC.BSPC), KC.LCMD(KC.RET)],
]

keyboard.direct_wired_keys = {
mcp.gpio[0]: direct_key_1,
mcp.gpio[1]: direct_key_2,
}

if __name__ == '__main__':
keyboard.go()
Binary file added hackpads/anubis/PCB/aviyan-anubis-hackpad.zip
Binary file not shown.
Binary file added hackpads/anubis/Production/Gerbers.zip
Binary file not shown.
Loading