Build an LED Circuit

Our next project will take one step beyond firmware. One of the best things about Nerves is making computers to control real devices in your world. We’re going to start by blinking an LED. Since you already know how to shell out to your Raspberry Pi, you’ll control an LED from IEx.

To do so, you’ll build a circuit and connect it to your Raspberry Pi. Eventually, we’ll make a project by soldering components together. For now, since you’re just building a temporary project, you’ll use a tried-and-true prototyping canvas for circuit building called breadboard.

Let’s get started with a second shopping list.

The Shopping List

The previous list had only the Raspberry Pi Zero and a few extra goodies to help you load firmware and ...

Get Build a Binary Clock with Elixir and Nerves now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.