group-4-s1

Card Sorter

Card Sorter

A robot that sorts cards based on their colors.

Jason

This robot sorts cards into two stacks based on their colors. The color sensor detects whether the card is black or red. When the sensor detects red, the servo rotates to the left and drops the card on the left side. When the sensor detects black, the servo rotates to the right and drops the card on the right side of the servo. After each rotation, the servo comes back to its original angle.

3 thoughts on “Card Sorter

Leave a Reply