Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aether Pad - Aditya PV #302

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
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
14 changes: 14 additions & 0 deletions hackpads/Aether Pad/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Aether Pad
Inspired by Apple's design philosophy. Going to be used for my music production workflow.

## Features
1) 8 Customisable SNAP keys™
2) 1 Assignable fusion rotary encoder™
3) Retina OLED display™

## Sneakpeak
<img width="965" alt="Screenshot 2024-10-26 at 11 32 54 PM" src="https://github.com/user-attachments/assets/44e89873-1910-489f-b5fc-88742702b502">
<img width="903" alt="Screenshot 2024-10-26 at 11 33 29 PM" src="https://github.com/user-attachments/assets/b1bea658-96ff-458d-9e3a-148d967ce625">
<img width="548" alt="Screenshot 2024-10-26 at 11 40 43 PM" src="https://github.com/user-attachments/assets/8acf71dd-a8e4-463d-b8ec-ea62a204c94e">
<img width="936" alt="Screenshot 2024-10-26 at 11 41 53 PM" src="https://github.com/user-attachments/assets/94930907-29d6-4591-8ffe-83d51ae09e18">
<img width="907" alt="Screenshot 2024-10-26 at 11 44 16 PM" src="https://github.com/user-attachments/assets/07056327-b37f-461e-8c43-b57e3fcbbe6b">
Binary file not shown.
Binary file not shown.
Binary file not shown.
67 changes: 67 additions & 0 deletions hackpads/Aether Pad/firmware/code.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
'''
Aether Pad
'''
import board
import busio
from kmk.kmk_keyboard import KMKKeyboard
from kmk.keys import KC
from kmk.scanners import DiodeOrientation
from kmk.extensions.media_keys import MediaKeys
from kmk.extensions.display import Display, TextEntry, ImageEntry
from kmk.modules.encoder import EncoderHandler
from kmk.extensions.display.ssd1306 import SSD1306

# Pinout
COL1 = board.D10
COL2 = board.D9
COL3 = board.D8
COL4 = board.D7
ROW1 = board.D3
ROW2 = board.D2
PUSHBUTTON = board.D6
ROTA = board.D0
ROTB = board.D1
i2c_bus = busio.I2C(board.GP_SCL, board.GP_SDA)

driver = SSD1306(
i2c=i2c_bus,
device_address=0x3C,
)

keyboard = KMKKeyboard()

#matrix settings
keyboard.col_pins = (COL1, COL2, COL3, COL4)
keyboard.row_pins = (ROW1, ROW2)
keyboard.diode_orientation = DiodeOrientation.COL2ROW

# Encoder settings
encoder_handler = EncoderHandler()
keyboard.modules.append(encoder_handler)
encoder_handler.pins = ((ROTA, ROTB, PUSHBUTTON, False),)
encoder_handler.map = (((KC.VOLD, KC.VOLU, KC.MUTE),),)

#Screen
display = Display(
display=display_driver,
entries=[
TextEntry(text='Aether Pad', 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)

# Keymap
keyboard.keymap = [
[KC.LCTRL(KC.LSHIFT(KC.TAB)), KC.LCTRL(KC.M), KC.LCTRL(KC.TAB), KC.LCTRL(KC.C),
KC.MEDIA_PREV_TRACK, KC.MEDIA_PLAY_PAUSE, KC.MEDIA_NEXT_TRACK, KC.LCTRL(KC.V)
]
]

if __name__ == '__main__':
keyboard.go()
6 changes: 6 additions & 0 deletions hackpads/Aether Pad/pcb/BOM.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"Id";"Designator";"Footprint";"Quantity";"Designation";"Supplier and ref";
1;"SW3,SW8,SW4,SW6,SW2,SW1,SW5,SW7";"SW_Cherry_MX_1.00u_PCB";8;"SW_Push";;;
2;"D8,D4,D1,D7,D2,D3,D6,D5";"D_DO-35_SOD27_P7.62mm_Horizontal";8;"1N4148";;;
3;"SW9";"RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm_CircularMountingHoles";1;"RotaryEncoder_Switch";;;
4;"U1";"XIAO-RP2040-DIP";1;"Seeed Studio XIAO SAMD21";;;
5;"J1";"oled screen 128x32";1;"OLED_screen_-_128x32";;;
Binary file added hackpads/Aether Pad/pcb/Gerber Aether Pad.zip
Binary file not shown.