Physical computing – sensor servo tutorial
Colour finder and sorter with ams TCS34725 and HD-1900A
You’ll learn how to automatically identify and sort colours reliably via their Euclidean distance. How to read a colour sensor and drive a servo with Arduino using millis() and an ISR. Say goodbye to blocking delay().
While the electronic circuit is usually very straightforward, the “magic” in physical computing projects happens always in the code. So, please see the GitHub link to the BOM, the schematic, and extensively commented code that you can easily adapt and recycle in your own projects. Often, there’s a useful code concept or code snippet that you can use for an entirely different design, because it’s a fundamental principle.
If you want to learn about good soldering, this seven minute vintage video is still the best of them all.