Technical requirements

You'll need the Raspberry Pi that you set up in Chapter 1, Setting Up Your Development Environmenta breadboard, and a Pi Cobbler for easier pin access. You can get a Pi Cobbler (also sometimes called a Pi Wedge) from Adafruit, SparkFun, or Amazon. A Pi Cobbler also comes in the kits recommended in Chapter 1Setting Up Your Development Environment.

The following diagram shows two different Raspberry Pi Cobblers, both from Adafruit. The one on the right has the ribbon cable attached:

We'll talk about how to set up the cobbler later in this chapter. You'll also need an LED, some jumper or breadboard wires, and a 330-ohm resistor.

In case you're asking yourself what's a resistor, and what does it do?, the short explanation is that a resistor will prevent the 5V electricity from the pin from burning out your LED, which needs closer to 3.3V of electricity. For a better primer on electricity, voltage, and resistors, there is some great, free material on SparkFun's website. You can access this material via the following links:

Electricityhttps://learn.sparkfun.com/tutorials/what-is-electricity

Resistorshttps://learn.sparkfun.com/tutorials/resistors
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.66.206