Python Wiring

We're going to use a combination of the Adafruit IO Client Library and Adafruit's CircuitPython to control a Raspberry Pi over Adafruit IO. 

Parts

1 x Raspberry Pi 3 - Model B+
The Raspberry Pi is a small linux board compatible with Adafruit IO projects.

If you're following along with a Raspberry Pi, we use the T-Cobbler Plus for the IO Basics Projects. This add-on prototyping board lets you easily connect a Raspberry Pi (Raspberry Pi Model Zero, A+, B+, Pi 2,Pi 3) to a solderless breadboard:

1 x Assembled Pi T-Cobbler Plus
GPIO Breakout - Pi A+, B+, Pi 2, Pi 3, Zero
1 x Green LED
Diffused Green 5mm LED
1 x Jumper Wires
Breadboarding wire bundle.

Wiring

You'll need to make the following connections:

  • Pi GND to LED Cathode (short LED leg).
  • Pi Pin 5 to one leg of the 560 ohm resistor.
  • LED Anode (long LED legto the other leg of the 560 ohm resistor.
    • note: resistors are not polarized, so the 560 ohm resistor can be connected to the circuit in either direction.
This guide was first published on Apr 30, 2015. It was last updated on Apr 30, 2015. This page (Python Wiring) was last updated on Dec 11, 2019.