Build a Basic Circuit

To warm up, we’ll build one of the most basic circuits possible. We’ll connect an LED to the Pi and make it shine as long as the Pi is running. For this we’ll need an LED, a resistor, a breadboard, and two female/male jumper wires. Using these parts, we’ll build the circuit shown in the following figure.

images/src/basic_circuit.png
Figure 47. A basic circuit

Before we actually build the circuit, you should know what all the parts are for and how they work. Breadboards are useful tools for prototyping circuits. You can simply plug in parts such as LEDs and resistors, and you don’t have to solder them. Breadboards come in various sizes, but they all ...

Get Raspberry Pi, 2nd Edition 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.