A few classmates and I made a nut sorting machine as a class project. The machine was designed to accept multiple types of hardware nuts and send each to a designated cup. Further, it was able to reject any coins introduced to the machine. This repository holds the code used to program the machine's microcontroller, It is based on the Arduino core libraries but uses Arduino-Makefile in place of the Arduino IDE.
The repository also holds the code that ran a GUI to display the results of the sorting. The demo page may still be up at http://nutsorter.robfors.com.