Not perfect but complete. No more time will be wasted perfecting skittle sotation.
Source code for PlatformIO Skittle Sorter 3D printed useless machine - https://makerworld.com/en/models/433867
Arduino Uno
OSEPP Motor Servo Sheild
OSEPP Color Sensor Module (TSC3200)
KP35FM2-035 Stepper Motors
12V 2A AC/DC Power Supply
Photo Interrupter
********** STATUS **********
** Mechanical **
Photo interrupter mount was a little half-hearted.
Skittles are bridging across the bowl hole. Try a increasing the size of the hole or adding a stirring motor.
** Electrical **
Fine.
** Program ** Lots of debug code leftover.
Should make use of the photo interrupter to check position after the cycle has begun to monitor for stepper slip.