
PixelWave
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

New and improved macropad with 6 switches, 1 rotary encoder and a 0.91 inch oled screen
Hackpad-2.0 is an open-source printed circuit board by NoelGjonej, from the NoelGjonej/Hackpad-2.0 repository on GitHub. It is a 2-layer board of 57.1 × 68.2 mm with 20 parts on 25 nets, routed with 169 tracks and 14 vias.
It is built around the SK6812. Its parts include 11 diodes, 7 switches, 1 IC and 1 connector. It belongs with the keyboards and input boards of this library.
KMK runs on CircuitPython — there is no compiling, no toolchain, no flashing. You just copy files onto the XIAO like a USB drive. Much easier for the XIAO.
[ PREV ] [ PLAY ] [ NEXT ]
[ COPY ] [ PASTE ] [ SNIP ]
Encoder CW → Volume Up
Encoder CCW → Volume Down
Encoder Click → Mute / Unmute| Key | Action |
|---|---|
| Top-left | ⏮ Previous Track |
| Top-mid | ▶ Play / Pause |
| Top-right | ⏭ Next Track |
| Bot-left | Ctrl+C — Copy |
| Bot-mid | Ctrl+V — Paste |
| Bot-right | Win+Shift+S — Snipping Tool |
| Encoder CW | 🔊 Volume Up |
| Encoder CCW | 🔉 Volume Down |
| Encoder click | 🔇 Mute / Unmute toggle |
COL0(D0) COL1(D1) COL2(D2)
ROW0(D3) PREV PLAY NEXT
ROW1(D4) COPY PASTE SNIPAdd a 1N4148 diode per switch — cathode (black band) toward the ROW pin.
| EC11E pin | XIAO pin | Function |
|---|---|---|
| CLK (A) | D7 | Rotation A |
| DT (B) | D8 | Rotation B |
| SW | D6 | Click = Mute |
| GND | GND | Ground |
Add 10kΩ pull-up resistors on CLK and DT to 3.3V if you get jitter.
| OLED pin | XIAO pin |
|---|---|
| SDA | D9 (SDA) |
| SCL | D10 (SCL) |
| VCC | 3.3V |
| GND | GND |
Default I2C address is 0x3C. If your OLED doesn't appear, try 0x3D in code.py.
Download the CircuitPython UF2 for Seeeduino XIAO from: https://circuitpython.org/board/seeeduino_xiao/ (download the latest stable .uf2 file)
Double-tap the RST pin on the XIAO — a drive called XIAO-BOOT appears on your PC.
Drag and drop the .uf2 file onto that drive.
The XIAO reboots and a new drive called CIRCUITPY appears.
Download the CircuitPython Library Bundle from: https://circuitpython.org/libraries
Unzip it. From the lib/ folder inside, copy these folders/files
into the lib/ folder on your CIRCUITPY drive:
adafruit_displayio_ssd1306.mpy
adafruit_display_text/
adafruit_imageload/
kmk/ ← get this from https://github.com/KMKfw/kmk_firmwareTo get KMK, download the zip from https://github.com/KMKfw/kmk_firmware
and copy the kmk/ folder onto CIRCUITPY/lib/.
Copy these two files from this folder onto the root of CIRCUITPY:
boot.py → CIRCUITPY/boot.py
code.py → CIRCUITPY/code.pyYour CIRCUITPY drive should look like:
CIRCUITPY/
├── boot.py
├── code.py
└── lib/
├── kmk/
├── adafruit_displayio_ssd1306.mpy
├── adafruit_display_text/
└── adafruit_imageload/The XIAO reboots automatically when you save files. Your macropad is ready. No compiling, no flashing tools needed.
To change a key, open code.py in any text editor, edit the keyboard.keymap list,
and save. The XIAO reboots and picks up the change in a few seconds.
Common keycodes:
KC.LCTL(KC.Z) # Ctrl+Z (undo)
KC.LCTL(KC.S) # Ctrl+S (save)
KC.LGUI(KC.L) # Win+L (lock screen)
KC.PSCR # Print Screen
KC.TAB, KC.ESC, KC.ENT, KC.BSPC
KC.F1 ... KC.F12| Problem | Fix |
|---|---|
| CIRCUITPY drive doesn't appear | Double-tap RST faster (within ~500ms) |
| Keys not working | Check diode direction — cathode (black band) toward row pin |
| Encoder jittery | Add 10kΩ pull-ups on CLK and DT to 3.3V |
| OLED blank | Check SDA/SCL wiring; try changing 0x3C to 0x3D in code.py |
| Error on boot | Connect to XIAO via serial (PuTTY / Thonny) to read the error message |
Install Thonny (free Python IDE): https://thonny.org Connect to the XIAO's serial port — it shows any Python errors live, which makes debugging very easy.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | D | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D1, D2, D3, D4, D5, D6, D7 |
| 6 | SW_Push | Button_Switch_Keyboard:SW_Cherry_MX_1.00u_PCB | SW1, SW2, SW3, SW4, SW5, SW6 |
| 4 | SK6812 | LED_SMD:LED_SK6812_PLCC4_5.0x5.0mm_P3.2mm | D8, D9, D10, D11 |
| 1 | Conn_01x04_Pin | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J1 |
| 1 | MOUDLE-SEEEDUINO-XIAO | footprints:XIAO-Generic-Hybrid-14P-2.54-21X17.8MM | U1 |
| 1 | RotaryEncoder_Switch | Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | SW14 |

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

conol-ai/openmicrokbd
Open-source recreation of OpenAI's Codex Micro macropad — PCB written in CoHDL, an AI-native hardware description language. Rust firmware (embassy) + companion app (makepad). MIT licensed. https://openmicrokbd.org



cormoran/dya-dash-keyboard
DYA Dash portable wireless split keyboard with 25mm trackball

w4ilun/neofighter
A MIDI controller using arcade buttons with RGB lighting effects

miliar/saiboard
An open-source, wooden electronic Go board that integrates with KataGo.

256foundation/emberone00-pcb
KiCAD design files for the emberOne/00 hashboard
It measures 57.1 × 68.2 mm and has 2 copper layers, 1.6 mm thick.
20 parts, built around the SK6812. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the NoelGjonej/Hackpad-2.0 repository on GitHub, at the commit this page was made from: the board is Hackpad 2.0.kicad_pcb and its schematic Hackpad 2.0.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask NoelGjonej before reusing the design.