Color Sorter LEGO GBC Module - Instructions and Schematics
To build the color sorter for yourself, you will need 3 things:
- The LEGO bricks.
- The necessary tools and means to make a simple electric circuit.
- An Arduino Uno [3], and a computer to upload the code from.
If you're only interested in the end results, click here for my previous article.
1) LEGO building instructions
For the instructions I use BrickLink's fantastic Studio app [1]. It's easy to use, has an up-to-date library of every LEGO piece ever released, has working hinges, a fully customizable instruction maker and a photorealistic renderer.
2) Schematic diagram
I made this into an Arduino shield [2] for the Arduino Uno [3], but you can make it in any format you like. I'm going to assume you know how to put circuits together, so I'll just go ahead and provide the schematics. The Arduino pins on the diagram correspond to the pins set in the code.
3) Arduino code
This is the easiest part. Download the code from GitHub. Detailed instructions are provided in the repository: