I’m interested in building a pick-to-light / put-to-light system where scanning a barcode will automatically illuminate the correct tub so an item can be placed into the right location.
My planned setup will have approximately 50 tubs, each with its own indicator light.
The basic workflow would be:
Scan a product barcode.
The system identifies the assigned tub.
The LED on the correct tub lights up.
The operator places the product into that tub.
The light turns off once confirmed (or when the next item is scanned).
From my initial research, I believe I may need components such as:
Barcode scanner
Raspberry Pi 5
Wi-Fi router/network
ESP32 development modules
MCP23017 I/O expanders
LEDs or LED indicators
Sensor wiring
Power supply
DC distribution block
Network and power cables
I would appreciate advice from anyone who has built a similar system, particularly on:
Whether this architecture is suitable for around 50 tubs
The exact models/part numbers you would recommend for each component
How many ESP32s and MCP23017s would be required
Wiring diagrams or examples
Power supply sizing
Whether there is a simpler or more reliable approach
Any open-source software or existing projects that I could use as a starting point
My goal is to build a reliable and scalable system that can expand beyond 50 tubs in the future.
Any recommendations, sample designs, schematics, or lessons learned would be greatly appreciated. Thank you!
Just brain storming here…
My initial thoughts will be more distance between “tubs” v cable lengths/other comms methods.
e.g. If you have a single controller with “50” lines to provide power to light up an LED (or array of) then the cable length will need to be considered and how to drive the need current over that distance without too much voltage drop.
Not saying this is the best, but it is what sits in the back of my mind.
Have a controller that could control a “small” number of tubs (e.g. 4). This would keep the cable lengths down and easier to keep tidy.
Then have that controller, use wifi to connect to a wifi AP back to the master.
then you could have 4 outputs per “end controller” and 4 inputs “done button” if needed at the tub; which any controller could manage.
Then you could have X controllers for scale. If in an open room, a single AP should be easy to keep in range of a lot of tubs. if not, add a 2nd AP.
I would tend to not look at the power needs until you have a firm design for how you want to setup and build the modules, as that should then just dictate the power needs and cable sizes.
Hey there, @KokWah333315, and welcome to the forum. Glad to have you here.
I agree with @Michael99645’s approach: use several local controllers, each handling a small group of tubs, rather than bringing every light’s wiring back to one central controller. With Wi-Fi linking those groups, you could potentially cover 50 tubs with a relatively small number of controllers.
I’d give each controller a unique ID, then label its lights as sub-addresses. For example, 14A could mean controller 14, light A, and 15C controller 15, light C. Your barcode lookup then maps each product to a tub address, and the central software sends the instruction to the appropriate controller. I’d also have that controller acknowledge the command so a lost connection doesn’t silently leave the operator waiting for a light.
Before settling down on parts and quantities, we really would need more information about the approximate tub spacing and overall shelving layout? Those details should help determine a sensible number of tubs per controller.