Lego (Color) Sorters
Summary Motivation: Everyone would love to clean up their Lego parts automatically. A sorter built with Legos is more satisfying. It was a fun build/ test. Build : Decided on Sorter Car because it doesn't limit the number of colors. Used ( Rebrickable - MOC by Philoo ) build unchanged except delivery shoot. Took off end L beam on delivery shoot, because it was too low and pieces hung when landed in same place. Program: (See photo) Used associated program as guide Two real changes: 1) Fewer bins since mapped colors to bin number. Philoo mapped to Lego Color, so more bins then colors. This mapping makes it easy to sort few colors 2) Added code for minimal error checking for color sensor not knowing color. Only happened when add while running and lands crooked. And code handles if using few colors and unknown color there. 3) Color of power button used as an indicator of the color of piece last seen. Status: Finished School use : Build : easy...