All packs

Controls

Macro pad with a knob

Twelve keys that fire shortcuts on your computer such as copy, paste and undo, and a knob for the volume.

  • Hard
  • about 75 min
  • ESP32-S3
  • 8 parts
  • 16 wires
  • 108 lines of code

ESP32 packs are built on real parts: the simulator runs Arduino Uno circuits only.

Idea

The computer sees it as an ordinary USB keyboard, so there is nothing to install. Twelve keys need only seven wires because they are wired as a grid of rows and columns.

What you learn

Acting as a USB keyboard, scanning a key matrix, and sending media keys.

How it works

  1. input

    Keypad

    Rotary knob

  2. decides

    ESP32-S3

  3. output

    OLED 0.91 in

    Computer (USB keyboard)

Powered with 5 V through the board's USB-C port.

A reference design. The sketch is compiled with the real ESP32 toolchain, and its pins are checked against the wiring table automatically. It has not yet been built and tested on real parts by us, so wire it on the bench and run the checks before you build it into a case. Real modules vary: follow the labels printed on yours, not their position in the picture.