Wire up the breadboard using the header leads as shown below.
Push the LED leads into the breadboard, with the longest (common negative) lead on the second row of the breadboard. It does not matter which way around the resistors go.

The top two connections on the BBB expansion header we are using (P8) are both GND. The three outputs to control the brightness of the red, green and blue channels are connected to sockets P8_13, P8_19 and P9_14 of the BBB.

The pins are numbered left to right, 1, 2 then on the next row down 3,4 etc. You can also use the pin P9_16 for PWM output.

You can find out about all the pins available on the P8 and P9 connecters down each side of the BBB here: http://stuffwemade.net/hwio/beaglebone-pin-reference/

This guide was first published on Jul 09, 2013. It was last updated on Jul 09, 2013.

This page (Wiring (Common Cathode LED)) was last updated on Jul 09, 2013.

Text editor powered by tinymce.