If there’s one thing that we geeks love, it’s coffee.
We always buy a lot of different capsules for our workshop, put them in a jar, and then we have no idea which color to pick. So we came up with the Nespresso capsule detector.
The idea is pretty simple: Drop a capsule into the tube, and once it’s completely dark, a single LED lights up. The RGB light sensor reads the brightness level of each color channel - Red, Green and Blue. It then sends the values to the Arduino, which recognizes the capsule based on the pre-defined values in the code. Click on this link to see the full step by step wiring guide and get a test code for the project.
You'll find the .STL print files and the project code in the attachments below.