What You Built
This chapter is among the shortest in the book, but the execution may take the longest. We built a circuit based on a Pi with a TLC5947 to light LEDs through a Serial Peripheral Interface (SPI). We soldered on headers and used jumper wires to make connections that were reasonably stable but easy enough to change in case of trouble.
The LEDs were all wired tiny circuits of their own, and each one went to numbered pins on the constant current driver. The connections between the Pi and the TLC5947 used standard pins built for the purpose.
Why It Matters
Hardware engineers use layers the same way software developers do. SPI interfaces isolate hardware components that serve one purpose. Our constant current driver turns LEDs on and off. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access