ecospool / sort-scanner

SORT Scanner.

Status: In development — V2 hardware testing Started: 1/28/2026 Product Lead: Lucas
README

Main Info.

What this is.

This page is an engineering record for SORT — part product history, part lab notebook, and part controlled public record. It documents the development path, design decisions, test milestones, and current state without publishing every detail required to reproduce the design.

SORT — Spectral Optical Recycling Type Scanner — is a handheld tool that reads the near-infrared fingerprint of a plastic part and identifies what it is in a few seconds. Built to take the guesswork out of sorting scrap before it enters the recycling stream, SORT targets the plastics that matter most to EcoSpool: PLA, PETG, ABS, and ASA.

Why I'm building it.

EcoSpool runs on trust — people drop off scrap, and it gets ground down and turned back into filament. That only works if what goes into a batch is actually what it's labeled as. Mixed or mislabeled scrap can ruin an entire batch, but visual inspection and the honor system aren't enough.

I wanted a fast, non-destructive way to verify each piece before it reaches the grinder — something closer to a lab-grade check, but cheap and fast enough to use on every piece. Cost-plus pricing, not profit-maximizing: the point of SORT is to make that level of verification accessible, not expensive.

How it works.

Rather than scanning a continuous spectrum like a lab spectrometer, the scanner fires four SWIR LEDs — 1200, 1450, 1550, and 1650 nm — one at a time, and reads how much of each bounces back off the sample with an InGaAs photodiode.

Each reading is normalized against a white reference, so the result is a reflectance ratio rather than a raw ADC value. The current firmware captures dark, reference, and sample measurements and calculates reflectance from those readings. The classifier interface is in place, but the trained classifier itself has not been deployed yet.

What's next?

  • Short term: start testing on V2.
  • Medium term: train and deploy the classifier on the dialed-in V2 hardware.
  • Longer term: order the V3 boards, verify them, and move toward retail.
Build Log

Every step, logged.

A running history of meaningful development steps. Dates are approximate where exact timestamps were not preserved. Board photos appear inline at the entries where each version was built.

Aug 2026 firmware
Firmware UI finalized — v1.2.1
Portrait display, EcoSpool color palette, reflectance-normalized capture, on-device pass/fail flow with calibration lock, and scan-progress meter. Classifier remains stubbed pending a trained model.
Rebuilt the measurement pipeline around dark/reference/sample capture so classification runs on reflectance ratios instead of raw ADC counts.
Jul 2026 design
Wavelength selection redesigned, and fixed OPA wiring error
An earlier 850 nm channel sat below the InGaAs detector's useful response range. It was replaced with the current 1200 / 1450 / 1550 / 1650 nm set. The OPA392 pin mapping in the schematic didn't match the real SOT-23-5 pinout. Found and corrected during schematic review, before fabrication.
1/28/2026 start
Project kickoff
Decided a targeted-wavelength NIR reflectance approach was the right balance of accuracy and cost for a deposit-intake tool — cheap enough to use on every piece, not just a spot-check sample.
Firmware

Latest build.

v1.2.1 Aug 2026 Latest
Reflectance-normalized capture, white-reference calibration, portrait UI, EcoSpool palette, scan-progress meter, on-device pass/fail tally, and serial output for measurement data. Classifier inference remains stubbed pending a trained model.
View / download ↓
Bill of Materials

What's inside it.

Major components used in the current architecture.

Part
Description
Role
Spec
Hamamatsu G12180-003A InGaAs PIN photodiode
Low noise, low dark current, low terminal capacitance. φ0.3 mm photosensitive area.
Detector
0.9–1.7 µm
Marktech MTE0012-526-IR LED IR 5MM 1200NM
Domed-lens near-infrared emitter.
Light source
1200 nm
Marktech MTE6014-526-IR LED IR 5MM 1450NM
Domed-lens near-infrared emitter.
Light source
1450 nm
Marktech MTE5015-526-IR LED IR 5MM 1550NM
Domed-lens near-infrared emitter.
Light source
1550 nm
Marktech MTE5016-526-IR LED IR 5MM 1650NM
Domed-lens near-infrared emitter.
Light source
1650 nm
Texas Instruments OPA392 SOT-23-5 precision op-amp
Low-noise transimpedance stage converting photodiode current into voltage.
Signal amp
SOT-23-5
Texas Instruments ADS1115IDGST 16-bit analog-to-digital converter
Digitizes the amplified reflectance signal over I²C.
ADC
16-bit / I²C
LilyGO T-Display S3 ESP32-S3R8 module
Drives the LED channels, reads the ADC, runs the UI, and will eventually run the classifier.
MCU + display
16 MB / 8 MB PSRAM
IP & Use

A record, not a license.

This page establishes development history and communicates the project without functioning as a complete disclosure of the design.

SORT Scanner and its underlying designs are proprietary EcoSpool development. This page documents the project's history, major engineering decisions, and demonstrated results. Publication of this record does not grant permission to manufacture, reproduce, sell, distribute, or create derivative products from the design.

Technical details may be intentionally incomplete, summarized, or withheld. Public documentation should be understood as evidence of development and project history rather than a complete disclosure of the design.

Unless explicitly stated otherwise, names, branding, designs, documentation, firmware, hardware architecture, and related intellectual property remain under EcoSpool's control.