From the course: Raspberry Pi Essential Training
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Blink an LED
From the course: Raspberry Pi Essential Training
Blink an LED
- So now that you've got an LED inserted into the breadboard here, let's get it hooked up to your Raspberry Pi. Get some male-to-female jumper wires, you can see the connectors here, and some male-to-male jumper wires. These are available from any electronic supplier and all of the places you buy stuff, like Amazon. They're sometimes called DuPont cables or hookup wires. And you'll also need some resistors. You can usually find a assortment of resistors from the same place that you got your jumper wire from. Make sure your Raspberry Pi is powered down. You shouldn't connect anything to the GPIO header while it's turned on. So, by convention, we use a black wire for connecting directly to ground and red for connecting to power. So connect the female end of a black wire to pin six, that's ground on the GPIO header. And the male end to a negative rail pin, doesn't matter which one, on the right-hand side of the breadboard. And next, you're going to take a short, black male-to-male wire…