Start Here

Getting started

Tutorial

Everything a new contributor needs to orient themselves — what the project is, what you need, and where to jump in.

What Sorter V2 is

Sorter V2 is an open-source LEGO sorting machine. Feed bulk LEGO into a hopper, and the machine singulates each piece, classifies it by part number (and optionally color), and drops it into the correct bin. The entire project — CAD, PCB schematics, firmware, host software — is MIT-licensed. V1 exists as a reference but is no longer maintained; V2 is the active development target.

Current status

Subsystem Status Notes
C-channel singulation Working 3-stage design, ~330 pieces/hour, targeting 1,000
Classification (Brickognize API) Working 98.5% accuracy on supported parts, 0.56s avg response
Object detection (chamber zone) Working NanoDet + YOLO11s trained, benchmarked on Pi 5 + Orange Pi 5
Host software (Python backend) WIP Coordinator, state machines, vision manager functional
SvelteKit UI WIP Setup wizard, camera calibration, runtime dashboard in progress
Hive community platform WIP Upload pipeline, shared profiles, crowd verification
Electronics / PCB WIP Feeder + distribution board schematics in review (Rev 0.3)
Hardware CAD WIP V2 CAD mostly complete in Onshape, validation in progress
Build guide / assembly docs Stub No step-by-step guide yet

What you need

Hardware

Item Details Approx. cost
Raspberry Pi 5 Main host computer (vision, logic, coordination) $80
AI accelerator Hailo-8 AI HAT (Pi 5) or RKNN (Orange Pi 5) $25-70
Cameras 3× OV9732 100° wide-angle USB cameras $30 (3-pack)
Stepper motors + drivers 3× steppers, TMC2209 drivers on shared UART bus $40
Servos ST3215 serial bus servos for distribution $30
3D-printed parts Structural and mechanical — PLA/PETG Filament cost
Extrusion + fasteners 2020 aluminum extrusion, M3 heat-set inserts, M8 bolts $50
Vibration motor RS-385 DC 12V for feeder $5
Springs ISO 10243 die springs (8×4×20mm yellow, from 3D printer suppliers) $5

Total materials target: ~$500. Everything is off-the-shelf, 3D-printable, or laser-cuttable.

Tools

Soldering iron (PINECIL V2 recommended), pliers, wire strippers, screwdrivers, hacksaw.

Software

Python 3.12+, Node.js 20+, pnpm. The install script handles dependencies on Debian 12 / Ubuntu 24.04 / Pi OS Bookworm.

Pick a contribution track

Key resources

Resource Link
GitHub organization github.com/basicallysource
V2 CAD (active) Onshape document
V1 CAD (reference only) Onshape document
Brickognize API docs api.brickognize.com/docs
Shared Google Drive Design docs and presentations
Documentation site docs.basically.website

How the project works