$10 Arduino-programmable WCH CH552 macro keyboard is configurable from a web browser

The 4xMacropad is a low-cost, open-source hardware 4-key mechanical macro keyboard based on WCH CH552G 8051-compatible USB microcontroller and whose keys can easily be configured from a web browser generating an Arduino sketch.

The CH55x family has been around for several years, and we first wrote about the sub-$2 CH551 Mini development board over 5 years ago, but CH552 variants are also found in more recent hardware such as the Turing Screen Screen information display and another rotary encoder shield with two mechanical keys. The 4xMacropad macro keyboard is another CH522 design, but it’s open-source.

4xMacroPad

4xMacroPad specifications:

  • MCU – WCH CH552G 8051-compatible microcontroller @ 24 MHz with 16KB flash, 1.25KB SRAM
  • USB – 1x mini USB port for power
  • User input – 4x mechanical key switches with keypads
  • Misc – Power LED, Mode switch (A or B), user button
  • Power Supply – 5V via mini USB port

CH552G macro keyboard

The EasyEDA files, documentation, Arduino firmware, and 3D files for the base can be found on GitHub. But as noted in the introduction you don’t even need to code the keys yourself, as Toby Chui (imuselab) – the developer – is hosting a configuration website that generates Arduino code for the keypad, and you can also save and load JSON configuration files if you want to generate Arduino sketches for different keypad layouts.

4-key macropad web interface

The total BoM cost for the PCB, components, and 3D printed base is around $3, but imuslab sold a few fully assembled samples on Tindie for $9.99, sadly now out of stock.

Via HackADay

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
1 Comment
oldest
newest
Orzel
Orzel
9 months ago

From here, buying 4 * (keycap+switch) alone is worth more than 3$, not even including shipping. Wherever I buy those: local store, local internet, aliexpress, ..

Khadas VIM4 SBC