We will now connect all of the components to match what is shown below.

This design uses a Common Anode LRD. You can use a Common Cathode LED, but you will need to change the Arduino code accordingly.
  1. Connect the 3V pin to the + side of the breadboard.
  2. The longest pin of the LED needs to connect with the 3V pin.
  3. Pin #2 will connect to the Red pin on the LED.
  4. The Blue pin sould connect with pin #4.
  5. Connect pin #5 to the Green pin.

This can be powered through the FTDI cable, but you may want to add a battery or other power supply by connecting it to the GND and VBat pins.

Now it's time to code.

This guide was first published on Oct 11, 2015. It was last updated on Mar 08, 2024.

This page (LED Wiring) was last updated on Sep 30, 2015.

Text editor powered by tinymce.