This project integrates a Raspberry Pi (Logic & UI) and an Arduino (Sensor Control) to build a fully automated sorting machine. It uses a custom GPIO Pulse Protocol to synchronize hardware events with a multi-threaded Python interface, allowing for real-time tracking, sorting, and manual overrides.
To run the system, run color_sorter_python.py on your rpi and color_identify.ino on your Arduino.
Video demonstrations and a circuit schematic can be found below. You may refer to the second video below to see the actual circuitry but for an actual readable schematic, please refer to the image at the bottom of the page

