⚠ 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.

SorterOS — Operate

Channel settings

Reference

What is on the Settings page of each C-channel, and the Picture, Detection and LED panels above its camera view. Use it to change a channel's camera, picture, detection model or lamp, or to turn its rotor by hand.

Author JensR80

AI-generated first draft. Written from SorterOS's own source, not from a running machine. It has no screenshots yet.

Each channel has its own page under Settings, in the Hardware group of the side menu: C-channel 1, C-channel 2, C-channel 3 and Classification channel. They are where you set up a channel's camera and lamp and where you turn its rotor by hand.

  • C-channel 1 has no camera. Its page is the rotor controls only.
  • C-channel 2, C-channel 3 and Classification channel have a camera view with the channel's zones on it, the Picture, Detection and LED panels, and the rotor controls under the view. The Classification channel page adds a C4 sectors panel at the bottom and a StallGuard entry under it in the side menu.
Screenshot of the C-channel 2 settings page: the camera view with the Change camera, Picture, Detection and LED buttons above it, the Zones panel beside it, and the rotor controls underneath.

The camera view

The line above the view shows which camera the channel uses (Camera 0, for example) and the buttons for it.

  • Change camera opens Choose the camera for that channel, with a live preview of every USB camera the machine finds. Press a camera to use it. The camera in use is marked Active. A camera another channel already uses is marked with that channel's name, and pressing it asks Move the camera?, because moving it takes it off the other channel. Remove the camera clears the channel's camera, and Refresh looks for cameras again. The change is saved as soon as you pick.
  • Choose a camera appears in place of the camera name when the channel has none yet.
  • The two buttons at the top right of the view hide or show the annotations and the zones drawn on it.

Picture, Detection and LED each open a panel beside the view, in place of the Zones panel. Press the same button again, or the close button on the panel, to go back to Zones. All three buttons, and Change camera, are unavailable while you are editing zones.

Zones

The Zones panel beside the view has Find and Edit buttons. Find fits the zones to the picture and Edit changes them. Zones has what each zone is for and how to set it. Edit needs a camera on the channel and says Choose a camera before setting the zones otherwise. A saved zone is used from the machine's next picture on.

While the machine is running and has handed pieces on from the channel, the panel also says how long half of the last pieces took to land on the next channel.

Picture

Picture opens a panel with three parts: the capture mode, the camera's own controls, and the orientation. The view updates while you change the camera's controls and the orientation, so you can judge the result before saving.

Capture mode

  • Mode lists the resolutions and frame rates the camera offers, such as one size at a given number of fps. Live at the top right shows what the camera is delivering now.
  • Pixel format is MJPG unless the camera needs another. MJPG is compressed and uses about a tenth of the USB bandwidth of the uncompressed format, and a camera that offers MJPG is only shown MJPG modes.

Both are saved the moment you pick them, with no Save button, and the camera reopens at the new mode. The panel says the camera does not offer a choice when it cannot, and a camera that is a network stream has no choice of resolution. Which mode to use per channel is in Picture tuning, and a camera only offers small modes covers a camera stuck on small ones.

Manual settings

Open Manual settings to adjust the camera's own controls. Only the controls the camera exposes are shown, from this list:

  • Auto Exposure, Exposure and Gain
  • Brightness, Contrast, Saturation and Sharpness
  • Auto White Balance and White Balance Temperature (in kelvin)
  • Autofocus and Focus

Each number has a slider with minus and plus buttons. Changes reach the camera as you move them but are kept only when you press Save. If the camera has no adjustable controls, the panel says so instead. A network-stream camera never has any.

Reset the camera to auto puts the camera back on automatic exposure, white balance and focus and clears the manual settings. It takes effect at once, without Save.

Orientation

  • Rotate turns the picture to 0°, 90°, 180° or 270°.
  • Flip horizontally and Flip vertically mirror it.

The camera view shows the turn or flip before it is saved.

Saving

At the foot of the panel:

  • Save keeps the orientation and the manual settings. It is unavailable until something has changed. The panel closes and the line above the view says Picture settings saved.
  • Undo the changes returns to what was last saved.
  • Back to the defaults sets the orientation to 0° with no flips and the manual settings to their defaults. Press Save to keep it.

Closing the panel without saving drops the unsaved changes and puts the camera back as it was.

When the camera's settings drift

While the panel is open, SorterOS compares the camera's actual values with the saved ones every ten seconds. If they differ, a window titled The camera's settings drifted lists each setting with its Saved and Live value and asks which the camera should use.

  • Keep the live values saves what the camera reports now.
  • Restore the saved values sends the saved values back to the camera.
  • Ignore closes the window and leaves both as they are. It stays closed until the difference changes.

Detection

Detection opens a panel titled for the channel, with one field.

  • Detection model picks the model that finds pieces on this channel. The list holds the models installed on the machine. Each of C-channel 2, C-channel 3 and the Classification channel has its own. The choice is saved as soon as you pick it, and the panel says Detection model saved. The field is empty and unavailable until a model is installed; the panel then says to install one from Settings → Hive. Before your first sort run covers the model a new machine installs for itself.
  • See the live detection results opens the Perception debug page, which draws what the detector sees on each channel.

LED

LED opens a panel for the lamp in the channel's hood. A change applies as you make it, with no Save button.

  • Output is the board output that drives this channel's lamp, listed as the board and its GPIO number. Not assigned leaves the lamp off. Channels can share an output: they are one physical pin, so they share one brightness, and the panel says which channels share it.
  • Brightness is the output's duty from 0% to 100%. 0% is off; there is no separate switch. The slider is unavailable until an output is picked. Picking an output that is already in use keeps the brightness it is running at; a free one starts at 100%.

The panel says No LED outputs are free to assign right now when the machine's hardware is not up. Lamps: a camera lamp stays dark covers that and which port is which GPIO.

The rotor controls

Under the camera view (and on its own on C-channel 1) is the panel for the channel's rotor, titled C-channel 1, C-channel 2, C-channel 3 or Classification C-channel (C4).

These controls turn the motor. A press moves the rotor at once, whether or not a sort is running, and the arrow keys do the same (below). Keep hands and tools out of the channel, and press Stop to halt it.

Status

Next to the name there is a badge (Stopped, Moving or Unknown) and a position line. On the channel pages the badge reads Unknown and the position shows --, because these pages have no endstop to read a live position from.

Moving it by hand

  • CCW and CW turn the rotor counterclockwise or clockwise. Stop, between them, halts this motor. The line below them says what the last press did, such as Pulsing clockwise.
  • Each press moves chooses how far a press goes: Time runs the motor for a number of seconds, and Degrees turns the rotor by an angle. The time can be 0.05 to 120 s and the angle 1° to 3600°. It starts at 0.25 s in Time mode and 90° in Degrees mode.
  • Speed is in steps per second. It starts at 800.
  • In Degrees mode the angle is at the rotor. A line under the controls shows the gear ratio (about 10.83:1 for the C-channels) and the matching angle at the motor.
  • The left and right arrow keys press CCW and CW while you are on the page, unless the cursor is in a field or a button has focus.

The mode, time, angle and speed are remembered for each motor in your browser.

A press is refused while the machine is homing or starting up, or while a power stress test is running. If it says Hardware not started. Press Start in the dashboard first., the motors are not up yet.

Stalled motors

If the motor's stall detection halts it, a red notice titled for the channel, such as C-channel 2 stalled, appears with a Clear the stall button. Clear the jam first, then press it. The motor's home position was dropped, so home it again before precise moves.

Driver settings

Driver settings (shown as "Currents, microsteps, stall detection") opens the motor driver's settings. The driver is read when you open it.

  • Run current and Hold current are each 0 to 31, set with a slider or a number.
  • Microstepping is 1/1 up to 1/256.
  • StealthChop and CoolStep are tick boxes.
  • Invert the direction reverses which way CW turns the rotor.
  • StallGuard stall detection halts the machine if this motor stalls, on every move while it is on. Ticked, it shows a Threshold (SGTHRS) from 0 to 255 and a Speed floor (TCOOLTHRS), and states the reading at which it trips. If automatic tuning is on, those two are set by it and only shown. On the Classification channel the StallGuard tab in the side menu is where the threshold is tuned.

Nothing changes until you press Apply the driver settings. Under it, Driver status (DRV_STATUS) shows what the driver reports: overheating, short and open coil flags, standing still, current, the stall reading and the temperature band. Defaults for the currents are in the machine.toml reference. The direction can also be checked in Motion direction check during setup.

C4 sectors

The Classification channel page ends with a C4 sectors panel. It reads the classification camera's latest detection and shows which of the channel's five sectors, S1 to S5, hold a piece. It does not move anything.

  • Scan reads a fresh result. The panel scans once when the page opens and does not update on its own, so press Scan to refresh it.
  • Each sector shows Occupied, Handoff, Exit or Free, with its Detections count and best Confidence.
  • The line above the sectors shows the Phase (the offset in degrees of the five walls, or n/a when they could not be found), the frame size, N of 5 occupied and the time of the scan.
  • The figures below give the number of Candidates and Detections and which sectors are Handoff and Exit.

A warning above the sectors says why a scan failed, for instance when the classification channel has not completed a detection yet.