It's time to get building! Please construct the circuit illustrated in Figure 14.2:
Figure 14.2 – IoTree circuit schematic diagram
This circuit hopefully looks familiar. It's a combination of two circuits that we have seen before:
- The APA102 (with a logic level shifter) circuit from Figure 8.4, in Chapter 8, Lights, Indicators, and Displaying Information
- The servo circuit from Figure 10.2, in Chapter 10, Movement with Servos, Motors, and Steppers
Please consult these respective chapters if you need step-by-step instructions on building this circuit on your breadboard.
Please remember that you will need to use an external power supply to power your APA102 and servo, as they will draw too much current to use the 5-volt pin on your Raspberry Pi.
When you have completed your circuit build, next let's briefly discuss three programs that can be used to control this circuit.