⚠ Under heavy construction

As of July 11, 2026, Sorter V2 is not yet in a position to be built.

The documentation that exists is incomplete. Any given page may be accurate, inaccurate, present only as an example, or badly out of date. We do not yet recommend that anyone attempt to build Sorter.

For the most live updates on our progress, join our Discord.

Local Machine Software

SorterOS

SorterOS is the Sorter V2 local software, the Python backend that drives the hardware and the SvelteKit UI that operates it. Install it, operate it, and read how it works under the hood.

Install

  • Installation — the three routes: the SorterOS image for the Orange Pi 5, the one-command installer for generic Linux, or the sequence by hand.

Flash the control board before the wizard

The board needs its firmware before the wizard can see it. Controller Discovery only lists boards that already answer on USB serial, so a board with nothing on it is invisible there and the step reports No MCU buses found.

With SorterOS running, flash it from Settings → Control board: pick a release (or upload a .uf2 directly) and flash it over the Pico's USB serial connection. The asset you want is the distribution one for your board revision, which is the all-in-one build for a machine with a single control board. A v1.3 board takes the v1-2 build. A board that has never been flashed is a special case, because it enumerates as an RPI-RP2 drive rather than a serial port and needs the Recovery flash option instead. SorterOS troubleshooting has those steps.

Set up a new machine, in this order

  1. First setup in the UI. The setup wizard: name the machine, find the boards, check motion and endstops, assign the servos and the cameras, link Hive.
  2. Camera calibration. Focus each camera against a printed Siemens Star.
  3. Chute calibration. Home the chute, capture two bins to set the bin locations, and test every bin it can reach.
  4. Before your first sort run. The last five settings to check in the UI.
  5. Preparing LEGO for a sort run. What to take out of a tub of bulk LEGO before it goes in the bulk bucket, and what each thing does to the machine if it stays in.
  6. Your first sort run. The end-to-end happy path: pick a profile, feed the machine, check a bin, stop cleanly.

Operate

  • Build your first sorting profile — decide your boxes, have Hive's assistant write the rules, and assign the result to the machine.
  • Bins and profiles: what Hive and the machine each call things, how bins get their categories, the 3D page, keeping a profile's bins when you switch profiles, and what happens when a bin is full.
  • Shutting down the machine — the two proper ways to power it down, and why pulling the plug is a last resort.
  • SorterOS troubleshooting — symptom-led entries for install, first-run, and runtime problems.

Using the UI

Reference pages for the parts of the SorterOS interface you use after setup. Some have no entry in the top menu, and each page says how to reach it.

  • The dashboard: camera tiles, hardware state, incidents and recent pieces, plus the Runtime, Set progress and Parts checklist pages.
  • Records: lifetime figures, runs, pieces and incidents. The piece page shows everything recorded about one piece.
  • Logs: read the backend log in the browser, with search and a level filter.
  • Channel settings: each channel's camera, Picture, Detection and LED panels, and its rotor controls.
  • Perception debug: what the detector sees on each channel, which boxes the machine acts on, and where the zones are.
  • Feeder simple pulse and Tuning: every tuning setting, with its default.
  • StallGuard and Diagnostics: the stall check, and the Performance, Cycle time, Jitter test and Power stress test pages.
  • Incident handling: what the machine does when something goes wrong mid-sort.
  • Networking and Training data: Wi-Fi and Tailscale, and the Data, Uploads and Training runs pages.

Under the hood

  • Dev flow — the dev backend and UI services, how to enable them, and the difference between a soft restart and a full restart.
  • Sorting profile reference — the on-disk shape of sorting_profile.json — rules, conditions, part_to_category, set inventories. Accurate for schema_version: 1.
  • machine.toml reference — every field in the machine-specific config file: servo, chute, carousel, stepper bindings and overrides, cameras, and GPIO LEDs. This lives in the docs site, not the SorterOS UI.