Skip to content

Quadra 2.0.0 + Quadra Companion v0.1.0 (macOS) + Mac Service

Pre-release
Pre-release

Choose a tag to compare

@katbinaris katbinaris released this 03 Oct 12:19
· 51 commits to main since this release

Quadra 2.0.0

Firmware 2.0.0 · Companion 0.1.0 (macOS) · Mac service

The first release since 1.0.0, and a new start. The firmware is rewritten from scratch on
ESP-IDF, with a pixel interface on the round screen, app profiles for Figma, Plasticity and
Onshape, and MUSIC, AGENTS and CLOCK. The desktop companion app is new too. It shows the knob
live and edits its settings, haptics and profiles, over USB or WiFi.

Install the firmware and the companion from the same release; they are built to work
together.


Contents


Highlights

  • Haptics you can tune. Five haptic profiles (WIDE, COARSE, MEDIUM, FINE, SMOOTH), each
    with its own stiffness, damping, shape, and click pitch and volume. Lists end in a wall the
    knob pushes back from.
  • APP mode. The knob drives Figma, Plasticity and Onshape directly: zoom, orbit, walk the
    layer tree, and dial modelling values to exact numbers.
  • Command wheel. Hold a key, turn to a command, release to run it. Each command has a
    small animated card.
  • MUSIC, AGENTS, CLOCK. A volume dial with the album cover on screen. Approve or deny
    Claude Code, Codex and Cursor requests from the knob. A desk clock with up to five time
    zones.
  • WiFi. The companion app reaches the knob without a cable, over an encrypted link you
    pair once over USB.
  • Companion app. The knob live on your Mac: its own screen, its LED colours, and the
    keys as you press them. Click and drag it to use it as a remote.

Firmware 2.0.0

The knob

  • Haptics. The motor runs a 10 kHz control loop with three feels:

    • SAW: crisp detents with a click.
    • SINE: a smooth bump.
    • VISCOSE: smooth drag, no detents.

    Five haptic profiles package them, from 8 to 36 detents a turn. Each keeps its own
    settings, and the companion can tune them live.

  • Clicks you can hear. Each detent plays a click through the built-in speaker, at the
    pitch and volume of the profile in use, so a fine step sounds different from a coarse one.

  • Works without any software. The computer sees a keyboard, a mouse, a gamepad and media
    keys. The companion app is optional.

Apps

  • Figma: zoom, walk the layer tree, and a command wheel of auto-layout and component
    commands.
  • Plasticity and Onshape: orbit, pan and zoom the viewport. After a modelling command,
    parameter mode dials the value: fine clicks or exact 0.05 / 0.10 / 1.00 steps, X / Y / Z
    constraints in Plasticity, and the number field in Onshape.
  • MUSIC: the knob is the system volume and the keys play, pause and skip. With the
    Mac service running, the screen shows the album cover, title and artist,
    and a volume ring that follows the knob. The LED ring takes the cover's colours.
  • AGENTS: Claude Code, Codex and Cursor show their permission requests on the knob. Hold
    F1 to allow, F3 to deny. A dashboard shows which sessions are working or waiting. Needs the
    Mac service.
  • CLOCK: the time in up to five zones, with daylight saving, set from the Mac or over
    WiFi. LED SECONDS turns the ring into a seconds hand.
  • Blender and AutoCAD are listed as empty profiles: the knob scrolls until they are
    designed.
  • Your own profiles. Any profile can be edited, or a new one made, in the companion app.
    They are stored on the knob, together with their macros.

Screen and lights

  • Pixel interface. A console-style interface on the round screen, with animated
    transitions. Turn the screen to any of four orientations in DISPLAY.
  • Idle screen. After 5 seconds untouched, the active app's icon (or QUADRA, or a word of
    your own) jumps around or bursts onto the screen, in that app's colours.
  • LEDs. A 60-LED ring and two LEDs under each key, in the active app's colours: a spot
    that follows the knob, a pulse on each detent, a flash at an end stop. LIGHTS sets the
    colour, effect (gradient, solid, breathe, spin, rainbow, off), speed and brightness. Brightness stays
    within what your USB port can supply.

WiFi

  • Off until you set it up over USB, in the companion (DEVICE → WIFI) or with
    quadra.py wifi. Open, WPA2 and WPA3 networks work.
  • Once connected, the knob is quadra-xxxx.local on your network and sets its clock from
    pool.ntp.org. That is the only connection it makes outside your network.
  • The companion link is encrypted. Pair the app once over USB and it gets a random
    256-bit key; every message is authenticated and encrypted. The network settings, the key
    and firmware flashing only change over USB. NEW KEY cuts off every paired app.

Settings menu

F4 opens the menu (in APP mode, hold it). PROFILES picks the mode (APP, KEYBOARD, MOUSE,
MIDI) and the app; HAPTICS tunes the haptic profiles; then DISPLAY, LIGHTS, BOOT MODE, and
DEVICE (BINDINGS for Mac or PC, RECALIBRATE, and SYS INFO with power, heat and timing). F2
saves.

Fixes for anyone who built from main

  • Animations run at full speed in normal (HID) mode again. After WiFi was added, the
    screen's frame could end up in slower memory, so transitions, the idle screen and list
    scrolling ran slowly unless the knob was started in SERIAL mode.
  • Only the knob's own F1 approves an agent request; a click on the companion's picture of
    the knob can't.
  • SINE end stops no longer click.

Companion 0.1.0

A macOS app (about 5 MB) in the knob's own pixel style. Changes are live on the knob;
SAVE stores them, just as F2 does.

  • The device: the knob drawn live, with its own screen, the LED ring in its real colours,
    and the keys as you press them. It works as a remote: click a key, or drag or scroll over
    the knob to turn it.
  • HAPTICS: the haptic profiles and their sliders, with a reset to factory values.
  • PROFILES: choose the mode and app profile. Edit any profile: key labels, icon, what the
    knob and keys send, the command wheel and macros. Make new ones from scratch or by
    duplicating one, and turn any image into the profile's icon.
  • Macros: build them step by step or RECORD them, then give one to a key or a wheel
    entry. They run on the knob, with no software needed once saved.
  • LOOK: the idle word, LIGHTS, and the CLOCK app's zones and format.
  • DEVICE: BINDINGS, rotation, boot mode, WiFi and pairing, and the firmware version.
  • SYS INFO: power, heat, CPU and system, with a minute of history.

The same interface also runs in Chrome or Edge as a web page, over WebHID. The full guide is
in companion/docs/COMPANION.md.


Mac service

An optional background service for macOS (NanoDepsidf/tools/mac/). It powers MUSIC's now
playing, the AGENTS requests and dashboard, and CLOCK's local time. It talks to the knob over
USB.

python3 -m pip install --user hidapi Pillow
python3 NanoDepsidf/tools/mac/install.py             # install or update
python3 NanoDepsidf/tools/mac/install.py --dry-run   # show what would change
python3 NanoDepsidf/tools/mac/install.py --uninstall # take it all out again
  • It runs at login (log in ~/Library/Logs/quadrad.log).
  • It adds hooks to Claude Code, Codex and Cursor's settings, next to the ones you have. Each
    file is backed up first, and --uninstall removes exactly those hooks. Codex asks you to
    approve them once: run /hooks in Codex.
  • Its only internet traffic is for album covers: the artwork link the player gives, or the
    iTunes Store's search when a track has none.

Installing and updating

Firmware

You need PlatformIO.

cd NanoDepsidf
pio run -t upload --upload-port <port>

If the upload can't find the knob, hold F3 + F4 while plugging it in. It starts in
SERIAL mode for that one boot, which the uploader can always reach. Or use
quadra.py flash, which needs no keys.

⚠️ Updating from 1.0.0 or an earlier preview.

  • Flash the partition table too. The layout changed: the app slots grew and the
    profile store moved. pio run -t upload writes it, or use
    quadra.py flash --partitions .pio/build/esp32-s3-devkitm-1/partitions.bin.
  • App profiles you made or edited in the companion are erased by the new layout, and
    there is no way to back them up to a file yet. Note down anything you want to make again.
    The built-in profiles, settings, calibration and haptic profiles are kept.
  • Calibrate before first use. A new or erased board learns its motor on first boot,
    in about two seconds. Leave the knob free to turn while it does; see
    First calibration.

Companion

Download Quadra.app, move it to Applications, and open it. The app is not notarized, so
the first time macOS says it is from an unidentified developer: right-click the app, choose
Open, then Open again. Connect the knob over USB; for WiFi, pair it in
DEVICE → WIFI → PAIR THIS APP.

To build it yourself, see companion/README.md.


Known limitations

  • Contributed features not yet confirmed on our own hardware: MUSIC's now playing,
    AGENTS, CLOCK, WiFi and the companion over WiFi, LIGHTS and the idle word, the Mac service,
    and quadra.py flash. They were tested on the contributor's knob.
  • macOS first. Shortcuts are written for macOS; on Windows set DEVICE → BINDINGS to PC.
    They assume a US keyboard layout. The companion app and the Mac service are macOS only; on
    Windows, use the companion in Chrome or Edge.
  • Icons uploaded with send_icon.py are cleared on restart. Icons imported into a
    profile in the companion are kept.
  • MIDI stores a channel only; there is no MIDI output yet.

Credits

Quadra's firmware and companion are by Kafi Devices.

@Dviros contributed MUSIC, AGENTS, CLOCK, WiFi, LIGHTS and the
idle word, the Mac service, the companion's LOOK tab and remote, and quadra.py, in
pull request #17. Thank you.