Design, Research & Contributor References
Design and research
This section holds how the machine is designed and why, the durable findings from hands-on research, and the contributor references the rest of the project builds on.
This section is optional background. These pages give more detail about how the sorter works and why it is designed the way it is, and keep the research behind it. The build instructions in Hardware do not depend on them. Read them if you are curious, want to repair or change something, or want to know what was tried before.
How the machine is designed
The design pages give the overall picture in a few lines, then link to the files that hold the detail. Links to the relevant parts are provided on every page, for people who want to dig deeper: the source code, the parts catalog, and the matching build pages and the other pages in this section. You can ignore them if you only want the overview. Where a page says that we are still finding out why something was decided, the reason was not written down and we are asking around. We will add it when we have it. Some of the pages use electronics and software words that you may not know. Where a word first appears, it is explained in the same sentence.
The feeder and the distribution system, what each part does, and the alternatives that were tried before the current design.
What the printed parts are designed to do, the thinking behind how they fit together and are printed, and which screws and other hardware they use.
The LED strip, the white reflector and the cover of the camera lamp, and why the light is arranged to be soft and even.
How the Orange Pi and the Pico on the control board communicate: the cable, the messages, and where each part lives in the firmware.
Everything the Orange Pi talks to, and what the software does with each.
Everything the Pico on the control board is connected to, with a pin diagram and a table of what each pin does.
The USB hub, what hangs on it, and how the software finds each device.
The five stepper motors, what each one turns, how their drivers are set up, and how the machine notices a blocked motor.
How the chute doors are moved: the servo chip, the ribbon cable down the stack, and what each layer's adapter board does.
How power gets from the supply to every board and motor, with the ratings of the cables, connectors and devices.
Alternatives to the standard design that people have built or are trying, such as a belt feeder, printed C1 legs and an Orange Pi base without heat-set inserts.
A proposal, not built yet, to take every electrical part off the rotating chute stack and build each bin layer as its own module.
A proposal, not built yet, to start the machine with one button and shut it down cleanly through a remote-control power supply.
Designs that were built, tried or proposed and then dropped, such as the carousel and the vibrating feeder, and why each one went.
Research areas
Which detector runtimes we validated, where the canonical artifacts live, the cross-device benchmark workflow, and the Raspberry Pi 5 Hailo HEF compile path.
How the sorter separates tangled LEGO into single pieces using rotating C-shaped channels — a novel approach with no known published precedent.
Embeddings vs classifiers, the Brickognize API, training data strategy, and why color detection avoids ML entirely.
Turntable, vibration, and chute experiments that preceded the C-channel design — what was tested, what failed, and what the data showed.
Why the project uses a dumb-firmware / smart-host split, what alternatives were evaluated, and the design principles behind the stack.
How the SorterOS UI, Hive, and this documentation site look and are built: the rules, and the components to copy. A contributor reference, run from the repository.
What belongs in this section
This section sits one level below the end-user-facing sections. Content lands here when:
- it's a contributor reference the rest of the project builds on but that an operator would never need to read (the software architecture decisions);
- it explains how the machine is designed, as an overview, for someone who is curious about it and not building from it (the design pages above);
- it records a variant that somebody has built or is trying, and that is not part of the standard build (the tested variants page), or an idea that was dropped and the reason why (the abandoned ideas page);
- it's an active research thread where we're still validating conclusions, and the findings aren't ready to be promoted into a stable hardware or SorterOS docs page (the object detection work).
Once a finding stabilizes enough to be promoted — for example, when we settle on a single accelerated deployment path and it belongs in the SorterOS setup docs — it graduates out of this section into the appropriate top-level section.
Artifact policy
The durable rule across all the research here:
- Keep decisions and workflows in checked-in Markdown on these pages.
- Keep only the latest canonical benchmark and compile artifacts under
software/sorter/backend/blob/. - Regenerate reports from benchmark JSONs instead of treating every HTML file as permanent.
- Promote a finding out of this section only after it has both a quality comparison against a reference and a sustained-throughput measurement.