🖐 Seeed XIAO Dual-Button Handheld HID Case
This is a handheld dual-button HID device enclosure designed around the Seeed Studio XIAO SAMD21. Compact enough for portability, yet deliberately sized for comfort during handheld use. Whether you're toggling a mute button on stream, slamming a buy/sell macro for stock trading, or any number of other tasks where a hand-held minimalist input device would be handy. - just flash your preferred firmware.
🧩 Printed Parts:
- 1x Main Body
- 1x Access Panel
- 1x XIAO Shim (for precise height alignment and friction-fit retention)
- 2x Button Caps
All surfaces are left blank for full personalization—engraving, painting, stickers, your choice.
🛠 Bill of Materials (BOM):
- 1x Seeed Studio XIAO SAMD21 - https://www.amazon.com/dp/B08CN5YSQF
- 2x Cherry MX-style mechanical switches
- 2x Resistors (~5kΩ; for pull-down or pull-up logic as required by firmware)
- 4x Wires (~100mm each; 2 for IO pins via resistors, 2 to GND)
- Optional: 4x JST-style female connector crimps – fit snugly onto Cherry MX switch pins for a basic hot-swap setup
- Soldering tools
📸 Visuals:
- Included cutaway render highlights internal wire cavity space.
- Screenshot from slicer shows ideal print orientation and support options.
📱 Use Cases:
Compatible with most USB HID-supporting systems:
- Streaming decks (OBS mute, scene switching, push-to-talk, etc.)
- Stock trading macros (instant Buy/Sell)
- Game macros, design software shortcuts, assistive tech, and more
- USB OTG works with some Android devices too.
⚠ Notes & Builder Tips:
- The enclosure is designed for direct wire soldering to the Seeed XIAO with minimal vertical clearance under the access panel.
- Resistors can be soldered directly to the XIAO’s IO pins with signal wires attached and shrink-wrapped (as shown above) - this will just barely fit under the internal face of the access panel.
- Optional JST-style female crimps fit snugly on Cherry MX switch pins, making them a solid DIY hot-swap option for the buttons. - These do not interfere with internal clearance and work well in the body cavity.
- No glue is required. The XIAO is retained with a friction-fit shim tight enough to snap in, almost guaranteed to require needle-nose pliers for removal.
- The access panel can be optionally glued shut, depending on your preferences.
- All external surfaces are left blank for customization
Firmware can be found here:
| Contributor | Description | Link |
| Chat GPT | Basic 2-button Firmware | Available in Downloads
Edit to suit pins used and desired macros. |
If you wrote firmware for this project and would like to add your version to the list, just leave a comment with a description and a link (github is great for this), and I'll add your version to the list, making sure to give credit where credit is due.
模型来源
