Color sorter

There is an idea for a Mindstorms color sorter on the web, but it is rather inefficient. For example it goes back to the calibration position after every drop-of. I altered the hardware and the software¬†to calculate direction and distance to the next point, based on the color to be dropped. This is pretty neat huh? Let me know what you think in the comments…

 

 

Faster version

In the second version, I removed some unnecessary pauses to speed up the process: