76 mm38 mm1234
One lane in section, as designed. Near the floor, touching 76 mm cans still show a 38 mm gap, so a beam there sees each can.

What happens to a can?

  1. Say what you are loading

    Scan the barcode and set the best-by date, once.

  2. Drop the cans in

    The entry beam counts each can into one load.

  3. Take a can

    The exit beam clears; the queue loses its front can.

Where does it go wrong?

Cans loaded without the app open
Counted as an unknown load. The app asks what they are.
A missed count
The queue drifts. A full or empty lane corrects it; so can you.
Cans put in out of date order
The front can is no longer the soonest. The app says so.

What is on the rack?

Parts you can buy, and a board many makers own.

PartWhat it is
BoardAn ESP32-WROOM-32 dev board with USB-C.
SensorsTwo infrared break-beams per lane.
PowerAny 5 V USB-C phone charger, always plugged in.
LightsOne per lane: green, amber or red.
ButtonShort press checks in. Long press redoes WiFi setup.

How does it reach my phone?

  • Setup

    The rack opens its own WiFi network; the app hands over yours.

  • Check-ins

    Every can is sent at once; an idle rack calls every six hours.

  • Updates

    Over the air, rolling back if a build fails to check in.

  • Home Assistant

    Lane counts can also go to your own MQTT broker.

Does it work?

Unproven until the bench test passes.

We found no published project that counts rolling cans with break-beams. The first lane goes on the bench before anything else is built.

See what you will build