mirror of
https://github.com/System-End/hackpad.git
synced 2026-04-19 19:55:15 +00:00
Add files via upload
This commit is contained in:
parent
ee8eb5b4fd
commit
1b1fc41d1e
14 changed files with 422937 additions and 0 deletions
16
hackpads/aaryav_pad/BOM.md
Normal file
16
hackpads/aaryav_pad/BOM.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Bill of Materials (BOM)
|
||||
|
||||
| Part Number | Description | Quantity |
|
||||
| ----------- | -------------------------------- | -------- |
|
||||
| 1 | Seeed XIAO RP2040 (through-hole) | x1 |
|
||||
| 2 | 1N4148 Diodes (through-hole) | x9 |
|
||||
| 3 | Gateron Milky Yellows Switches | x9 |
|
||||
| 4 | EC11 Rotary Encoder | x1 |
|
||||
| 5 | 0.91 inch OLED Display | x1 |
|
||||
| 6 | Blank DSA Keycaps | x9 |
|
||||
| 7 | Kailh Hotswap Sockets | x9 |
|
||||
| 8 | Male Header pins to solder | x20 |
|
||||
| 9 | EC11 Rotary Encoder Knob | x1 |
|
||||
|
||||
PCB -> Black in Color with white silkscreen
|
||||
3d Printed Case -> Dark purple or black in color
|
||||
13
hackpads/aaryav_pad/README.md
Normal file
13
hackpads/aaryav_pad/README.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
aaryav_pad
|
||||
|
||||
Built around the KMK firmware
|
||||
|
||||
It has all the neccessary things
|
||||
|
||||
- OLED
|
||||
- ENCODER
|
||||
- POWERFUL MICROCONTROLLER
|
||||
- GATERON MILKY YELLOWS
|
||||
- ANTI GHOSTING
|
||||
|
||||
PCB Color: Black
|
||||
209364
hackpads/aaryav_pad/cad/assembled.step
Normal file
209364
hackpads/aaryav_pad/cad/assembled.step
Normal file
File diff suppressed because it is too large
Load diff
54712
hackpads/aaryav_pad/cad/bumper.step
Normal file
54712
hackpads/aaryav_pad/cad/bumper.step
Normal file
File diff suppressed because it is too large
Load diff
154285
hackpads/aaryav_pad/cad/pcb.step
Normal file
154285
hackpads/aaryav_pad/cad/pcb.step
Normal file
File diff suppressed because it is too large
Load diff
53
hackpads/aaryav_pad/firmware/KMK/kb.py
Normal file
53
hackpads/aaryav_pad/firmware/KMK/kb.py
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
import board
|
||||
import busio
|
||||
from kmk.kmk_keyboard import KMKKeyboard
|
||||
from kmk.keys import KC
|
||||
from kmk.scanners import DiodeOrientation
|
||||
from kmk.extensions.display import Display, TextEntry
|
||||
from kmk.modules.encoder import EncoderHandler
|
||||
from kmk.extensions.display.ssd1306 import SSD1306
|
||||
|
||||
COL1 = board.D2
|
||||
COL2 = board.D3
|
||||
COL3 = board.D4
|
||||
ROW1 = board.D5
|
||||
ROW2 = board.D6
|
||||
ROW3 = board.D7
|
||||
PUSHBUTTON = board.D8
|
||||
ROTA = board.D9
|
||||
ROTB = board.D10
|
||||
i2c_bus = busio.I2C(board.D4, board.D5)
|
||||
|
||||
display_driver = SSD1306(
|
||||
i2c=i2c_bus,
|
||||
device_address=0x3C,
|
||||
)
|
||||
|
||||
keyboard = KMKKeyboard()
|
||||
|
||||
keyboard.col_pins = (COL1, COL2, COL3)
|
||||
keyboard.row_pins = (ROW1, ROW2, ROW3)
|
||||
keyboard.diode_orientation = None
|
||||
|
||||
encoder_handler = EncoderHandler()
|
||||
keyboard.modules.append(encoder_handler)
|
||||
encoder_handler.pins = ((ROTA, ROTB, PUSHBUTTON, False),)
|
||||
encoder_handler.map = (((KC.VOLD, KC.VOLU, KC.MUTE),),)
|
||||
|
||||
display = Display(
|
||||
display=display_driver,
|
||||
entries=[TextEntry(text='AARYAV', x=0, y=0, y_anchor='M')],
|
||||
width=128,
|
||||
height=32,
|
||||
dim_time=10,
|
||||
dim_target=0.2,
|
||||
off_time=1200,
|
||||
brightness=1,
|
||||
)
|
||||
keyboard.extensions.append(display)
|
||||
|
||||
keyboard.keymap = [
|
||||
[KC.MPRV, KC.MNXT, KC.NO],
|
||||
[KC.NO, KC.NO, KC.NO],
|
||||
[KC.NO, KC.Z, KC.X]
|
||||
]
|
||||
4
hackpads/aaryav_pad/firmware/KMK/main.py
Normal file
4
hackpads/aaryav_pad/firmware/KMK/main.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
from kb import keyboard
|
||||
|
||||
if __name__ == '__main__':
|
||||
keyboard.go()
|
||||
420
hackpads/aaryav_pad/pcb/PCB_aaryav_pad-pcb_2024-10-01.json
Normal file
420
hackpads/aaryav_pad/pcb/PCB_aaryav_pad-pcb_2024-10-01.json
Normal file
File diff suppressed because one or more lines are too long
3888
hackpads/aaryav_pad/pcb/Schematics.pdf
Normal file
3888
hackpads/aaryav_pad/pcb/Schematics.pdf
Normal file
File diff suppressed because it is too large
Load diff
125
hackpads/aaryav_pad/pcb/schematics.json
Normal file
125
hackpads/aaryav_pad/pcb/schematics.json
Normal file
File diff suppressed because one or more lines are too long
BIN
hackpads/aaryav_pad/production/case/bumper.stl
Normal file
BIN
hackpads/aaryav_pad/production/case/bumper.stl
Normal file
Binary file not shown.
BIN
hackpads/aaryav_pad/production/gerber.zip
Normal file
BIN
hackpads/aaryav_pad/production/gerber.zip
Normal file
Binary file not shown.
53
hackpads/aaryav_pad/production/kb.py
Normal file
53
hackpads/aaryav_pad/production/kb.py
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
import board
|
||||
import busio
|
||||
from kmk.kmk_keyboard import KMKKeyboard
|
||||
from kmk.keys import KC
|
||||
from kmk.scanners import DiodeOrientation
|
||||
from kmk.extensions.display import Display, TextEntry
|
||||
from kmk.modules.encoder import EncoderHandler
|
||||
from kmk.extensions.display.ssd1306 import SSD1306
|
||||
|
||||
COL1 = board.D2
|
||||
COL2 = board.D3
|
||||
COL3 = board.D4
|
||||
ROW1 = board.D5
|
||||
ROW2 = board.D6
|
||||
ROW3 = board.D7
|
||||
PUSHBUTTON = board.D8
|
||||
ROTA = board.D9
|
||||
ROTB = board.D10
|
||||
i2c_bus = busio.I2C(board.D4, board.D5)
|
||||
|
||||
display_driver = SSD1306(
|
||||
i2c=i2c_bus,
|
||||
device_address=0x3C,
|
||||
)
|
||||
|
||||
keyboard = KMKKeyboard()
|
||||
|
||||
keyboard.col_pins = (COL1, COL2, COL3)
|
||||
keyboard.row_pins = (ROW1, ROW2, ROW3)
|
||||
keyboard.diode_orientation = None
|
||||
|
||||
encoder_handler = EncoderHandler()
|
||||
keyboard.modules.append(encoder_handler)
|
||||
encoder_handler.pins = ((ROTA, ROTB, PUSHBUTTON, False),)
|
||||
encoder_handler.map = (((KC.VOLD, KC.VOLU, KC.MUTE),),)
|
||||
|
||||
display = Display(
|
||||
display=display_driver,
|
||||
entries=[TextEntry(text='AARYAV', x=0, y=0, y_anchor='M')],
|
||||
width=128,
|
||||
height=32,
|
||||
dim_time=10,
|
||||
dim_target=0.2,
|
||||
off_time=1200,
|
||||
brightness=1,
|
||||
)
|
||||
keyboard.extensions.append(display)
|
||||
|
||||
keyboard.keymap = [
|
||||
[KC.MPRV, KC.MNXT, KC.NO],
|
||||
[KC.NO, KC.NO, KC.NO],
|
||||
[KC.NO, KC.Z, KC.X]
|
||||
]
|
||||
4
hackpads/aaryav_pad/production/main.py
Normal file
4
hackpads/aaryav_pad/production/main.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
from kb import keyboard
|
||||
|
||||
if __name__ == '__main__':
|
||||
keyboard.go()
|
||||
Loading…
Add table
Reference in a new issue