Description
What it is
The RGB SMD 5050 Common Anode Kit – 5 Pieces is a set of 5 RGB SMD 5050 LEDs with common anode. Each LED can be individually controlled to produce a wide range of colors.
Features
- 5 RGB SMD 5050 LEDs
- Common Anode
- SKU: ARD0011133
- Price: 1.97 €
What it is for
This kit is ideal for electronic projects requiring dynamic multi-color lighting, such as displays, light signals, and artistic installations. Compatibility with Arduino and ESP32 allows for the creation of interactive and customized projects.
Tutorial: How to use RGB SMD 5050 Common Anode Kit – 5 Pieces
This RGB LED kit is perfect for dynamic lighting and multi-color display projects. Suitable for beginners and intermediates.
What you need
- Arduino or microcontroller
- Current limiting resistor (100Ω-330Ω)
- Multimeter
- Pliers
Steps
- 1. Check the specifications on the datasheet.
- 2. Prepare the microcontroller and pliers.
- 3. Connect the anode (longer pin) of each LED to a pin of the microcontroller.
- 4. Connect the cathode (shorter pin) of each LED to a resistor.
- 5. Connect the other end of the resistors to GND.
- 6. Check the connections with the multimeter.
- 7. Load a simple sketch to control the colors.
- 8. Test the RGB colors.
Example code
```
#include <FastLED.h>
#define LED_PIN 6
#define LED_TYPE WS2812
#define NUM_LEDS 5
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<LED_TYPE, LED_PIN, GRB>(leds, NUM_LEDS);
}
void loop() {
for(int i = 0; i < 256; i++) {
leds[0] = CRGB::Red * i;
FastLED.show();
delay(10);
}
for(int i = 255; i > 0; i--) {
leds[0] = CRGB::Red * i;
FastLED.show();
delay(10);
}
}
```
Mini project
Create a simple color display that gradually changes from red to black.
Common mistakes
- Connect the anode to VCC and the cathode to GND.
- Omit the current-limiting resistor.
- Connect all the anodes to the same pin of the microcontroller.
- Ignore the connection check.
Recommended accessories
- Microcontroller Arduino
- Resistors 100Ω-330Ω
- Power supply cable
- 16×2 LCD display
Frequently asked questions
Can I use a different power supply than 5V?
Check the datasheet for the maximum supply voltage.
How many LEDs can I connect?
Check the datasheet for the maximum capacity of the microcontroller.
How can I change the colors?
Use the FastLED code or another RGB code framework.





Reviews
There are no reviews yet.