Automatic Poker Chip Sorter

Anyone who plays poker knows that sorting the poker chips after a game is tedious work. It is very boring to separate all the chips by their different colors. To try to tackle this time consuming task, I built a basic poker chip sorter. The machine sorts the poker chips into 3 different cups using a webcam. This project is made up of 4 sections; the conveyor belt, turntable, electronics, and computer vision. I chose not to make a full Instructable because this project was pretty simple.  All you need is some sort of conveyor to feed the chips and a turntable which moves to sort the chips.

The hardest part of this project was the vision software.  I used RoboRealm to distinguish between 3 different colors of poker chips, red white, or blue.  The webcam figures out what color the chip is and then tells the turntable to move depending on what chip is being sorted.  

Unfortunately I could not figure out how to program this sorter the way I initially wanted to.  Origninally I wanted the turntable to stay at the cup that was last dumped into.  I had to settle on the turntable returning back to the cup for the white chips after every chip is sorted, you can see this in the video.  This slows down the entire machine and makes it less efficient.  Also I wanted to design some sort of chip feeder for the conveyor belt, so you could dump a whole pile of chips into it and it would put them neatly on the conveyor belt.  I never got to this and just fed the conveyor belt by hand.

 For more information or the code I used to sort the poker chips email me at

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Microcontroller Contest

Participated in the
Microcontroller Contest

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    3 Discussions


    6 years ago on Introduction

    Hi. I just wanna know how you made the conveyor


    6 years ago on Introduction

    I wonder if i can make a resistor sorter. I don't think I'm color blind but some of them are just hard to see me. Yellows, White sometimes.the purple can look black, ugh. Wonder if that software can handle variations and still call a color purple.


    8 years ago on Introduction

    Well its supposed to be an instructable people cant email you for details... its cool project but maybe you can add some stuff