RGB LED Module 5mm 4-Pin (Full Colour)

₵7.00

The RGB LED Module 5mm 4-Pin combines red, green and blue light to produce different colours using Arduino, ESP32 and other microcontrollers. Featuring a common-cathode design and individual RGB control pins, it is ideal for colourful lighting effects, status indicators and STEM electronics projects.

50 in stock

Description

The RGB LED Module 5mm is a compact, full-colour LED module designed for creating colourful lighting effects in Arduino, ESP32, robotics and electronics projects.

It combines three LED colours – Red, Green and Blue – inside a single transparent 5mm LED package. By controlling the brightness of each colour independently, users can create a wide range of colours, including yellow, cyan, magenta and white.

The module features a black PCB, four connection pins and two mounting holes, making it convenient for electronics prototyping, educational demonstrations and custom lighting applications.

Key Features

  • Full-Colour RGB LED: Combines red, green and blue light to produce multiple colours.
  • 5mm Transparent LED: Compact through-hole RGB LED mounted on a small PCB.
  • 4-Pin Interface: Separate Red, Green and Blue connections with a common ground.
  • PWM Brightness Control: Adjust the intensity of individual colour channels using microcontroller PWM signals.
  • Common-Cathode Design: Shared ground connection for the three LED channels.
  • Arduino and ESP32 Compatible: Suitable for microcontroller-controlled lighting projects.
  • Compact PCB: Black circuit board with two mounting holes for convenient installation.

Technical Specifications

Specification Details
Product Type RGB LED Module
LED Type Full-Colour RGB
LED Diameter 5mm
Primary Colours Red, Green, Blue
Number of Pins 4
Pin Functions R, G, B, GND
LED Configuration Common Cathode
Control Method Digital ON/OFF or PWM
Typical Control Voltage 3.3V / 5V, with suitable current limiting
LED Housing Transparent
PCB Colour Black
Mounting Two PCB Mounting Holes
Applications Lighting, Colour Mixing, Status Indicators

Applications

1. Arduino RGB Lighting Projects

Create colour-changing LEDs using an Arduino microcontroller. The red, green and blue channels can be controlled separately to produce different colours.

DIYGH stocks the Arduino Uno R3 Board with USB Cable for learning electronics, programming and circuit development.

2. Colour Mixing Experiments

Demonstrate how red, green and blue light combine to create additional colours.

This is particularly useful for STEM lessons on additive colour mixing, LED operation and Pulse Width Modulation (PWM).

3. Electronic Status Indicators

Use different colours to indicate the operating state of an electronic system.

For example:

  • Green – Normal operation
  • Red – Error or warning
  • Blue – System activity
  • Yellow – Waiting or standby

4. Robotics Projects

Add programmable lighting to robots, model vehicles and automated systems to display operating modes or provide visual feedback.

5. Decorative Lighting

Create simple colour-changing lighting effects for miniature models, display panels, electronics enclosures and other low-power projects.

6. ESP32 and IoT Projects

Integrate colour indicators into smart home prototypes, IoT controllers and connected electronics systems.

How the RGB LED Module 5mm Works

The module contains three individual LEDs in one transparent package.

Each LED produces a different primary colour:

  • R (Red): Controls the red light.
  • G (Green): Controls the green light.
  • B (Blue): Controls the blue light.
  • GND: Common ground connection.

By switching the individual channels ON or OFF, the module can display different colour combinations.

For more precise colour control, a microcontroller uses PWM to vary the brightness of each channel.

For example:

Red Green Blue Result
ON OFF OFF Red
OFF ON OFF Green
OFF OFF ON Blue
ON ON OFF Yellow
OFF ON ON Cyan
ON OFF ON Magenta
ON ON ON White or near-white

The appearance of mixed colours depends on the relative brightness of each LED channel.

RGB LED Module Pin Connections

Pin Function
R Red LED Control
G Green LED Control
B Blue LED Control
GND Common Ground

Follow the labels printed on the module when making connections.

Connecting the RGB LED Module to Arduino Uno

A simple PWM-controlled lighting project can use the following connections:

RGB Module Arduino Uno
R D9 through a suitable resistor
G D10 through a suitable resistor
B D11 through a suitable resistor
GND GND

Use suitable current-limiting resistance for each LED channel. For initial 5V experiments, 220Ω to 330Ω external resistors per channel provide a conservative starting point.

DIYGH stocks 1/4W Carbon Film Resistors in selectable resistance values.

For easy prototyping, connect the module using Male-to-Female Jumper Wires and a Solderless Breadboard MB-102 830-Hole.

Important Usage Information

  • Connect the common GND pin to the controller’s ground.
  • Use suitable current-limiting resistance to protect the LED channels.
  • Do not connect the module directly across a high-voltage power supply.
  • Observe the output-current limits of the controlling microcontroller.
  • Use PWM-capable pins when adjustable brightness and smooth colour transitions are required.
  • The module is intended for visual indication and decorative effects, not high-power lighting.
  • Check the RGB pin markings before wiring.

Package Includes

  • 1 x RGB LED Module 5mm 4-Pin (Full Colour)

Arduino board, jumper wires and additional resistors are not included.

Available from DIYGH Tech Hub, Apatrapa Junction, Kumasi, Ghana, for Arduino projects, robotics, electronic indicators, lighting experiments and STEM education.

Reviews (0)

Reviews

There are no reviews yet.

Be the first to review “RGB LED Module 5mm 4-Pin (Full Colour)”

Your email address will not be published. Required fields are marked *