How To Build RGB LED using Arduino Uno — Microdaz Blog

Ivan June
2 min readSep 4, 2021

--

An RGB LED is a light emitting diode that can display any color. It consists of 3 LEDs: red, green and blue and once you combine these 3 main colors in varying intensities, it can produce 16 million possible colors.

Typically, RGB LEDs have four pins or legs. In the image below, the pins correspond to specific colors except the long one which is connected to the ground wire.

In this lesson, we will learn how to build a RGB LED using Arduino Uno.

Let’s Start!

STEP 1: Arduino Uno RGB Led Components.

STEP 2: Place the components on the Breadboard.

  • Now, place the wires on the same column of the resistors and the other end of the wires placed on the Arduino R3.
  • The blue wire is on pin 3, the green wire on pin 5, red wire on pin 6 and the ground wire in connected to the ground pin as shown below

STEP 3: Open your Arduino IDE software and copy/paste the Arduino RGB LED code.

CODE:

https://microdaz.com/how-to-build-rgb-led-using-arduino-uno/

Originally published at https://microdaz.com on September 4, 2021.

--

--