I'm trying to design a sorting bin using the raspberry pi. A part will come from a primary belt and drop into these buckets. Different parts will get different buckets. So I have 8 different parts coming through. So I'll need 8 different buckets. What's they best way to rotate to the correct buckets when needed? I was thinking to put these 8 buckets with different colors on a rotary wheel. Then rotate the wheel until a certain color is detected.
But what sensor can I use with the Rpi to do this? I don't want to attach an arduino to this because it'll make my system too complex. I have IO to rotate the wheel. So when the rpi sees a color, I'd stop the wheel.
I just need the rpi to be able to detect and stop the wheel when the correct bucket is in position. If there's another way to do this and not use a color sensor, I'm all for ideas right now. Thoughts?
But what sensor can I use with the Rpi to do this? I don't want to attach an arduino to this because it'll make my system too complex. I have IO to rotate the wheel. So when the rpi sees a color, I'd stop the wheel.
I just need the rpi to be able to detect and stop the wheel when the correct bucket is in position. If there's another way to do this and not use a color sensor, I'm all for ideas right now. Thoughts?
Statistics: Posted by traderjoe — Sun Feb 01, 2026 6:10 am