This is a color-sorting robot that uses a PIC16F690 microcontroller, a color sensor, and several servo motors. It can detect red, green, blue, and yellow chocolates, and after identifying the color, the servo motors sort the chocolates into their respective color cups.
Video Link: https://www.youtube.com/watch?v=KwB_ghJNt0g