Skip to content

Babaganoush07/xiao_macropad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xiao Macropad

A 3 key macropad, mostly just to Copy and Paste. But you do whatever you want to do.

Table of Contents

Materials needed

Soldering Required

Item Link Quantity Price
Seeduino Xiao Amazon 1 $9.50
Peel-A-Way Sockets ringerkeys.com 2 (Strips of 12) $4.00
Mechanical Switches Amazon 1 (pack of 10) $12.99
Key Caps Amazon 1 (pack of 10) $7.01
OLED Screen (128x32) Amazon 1 (pack of 2) $7.99
PCB JLCPCB 5 minimum $5.00
M3*6 Screws Amazon 4 $12.79
M3*6+6 Standoffs Amazon 4 $12.79
M3 Nuts Amazon 4 $12.79

Software Needed

  • Arduino
  • Seeed SAMD Boards
    • https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
    • Select the board: Tools -> Boards Manager and search seeeduino xiao. Select the Seeed SAMD Boards.
    • Xiao Setup help
  • #include
    • Arduino.h
    • HID-Project.h
    • ezButton.h
    • UG82lib.h

Features

Using HID-Project you can have whatever macros you want set to any of the keys. I used CTL-A, CTL-C, CTL-V.

The screen displays what each button does (Because it's hard to remember 3 things).

Setup

  1. Order the PCBs using the gerber file.
    • It's a .zip file that you upload to JLCPCB and choose your parameters. Here's their How to Order video.
  2. Solder the sockets to the PCB
    • CannonKeys has instructions for soldering the Peel-A-Way sockets.
  3. Solder pins to the Xiao
    • Instead of square headers on the Xiao use legs from resistors or diodes to fit into the sockets.
  4. (Optional) Solder the OLED screen
    • The screen is optional if you want to avoid the headache of OLED burn in.
  5. Solder on the switches
    • I didn't see a need to make them hot swapable, it's only 3 of them. And I don't have a way to design a plate mounted setup right now.
  6. Add the key caps
  7. Program the Xiao
    • macro_pad_V1.ino - Doesn't have the OLED programmed
    • macro_pad_V2.ino - Has the OLED programmed

Case

STL in the Case folder.

Designed the case in FreeCad

  • Printer: Ender 3 pro
  • Material: PLA
  • Layer hight: 0.28

Designs

Version 1.1 Version 1.2 Version 1.3
Version 2.1 Version 2.2 Version 2.3

Releases

No releases published

Packages

No packages published

Languages