
$2.49
See if it's really the one
Search with this product to compare it, find similar styles, or turn up something better before deciding.
analogWrite(redPin, 0); analogWrite(greenPin, 255); analogWrite(bluePin, 255); // Red delay(1000); analogWrite(redPin, 255); analogWrite(greenPin, 0); analogWrite(bluePin, 255); // Green delay(1000); analogWrite(redPin, 255); analogWrite(greenPin, 255); analogWrite(bluePin, 0); // Blue delay(1000); analogWrite(redPin, 0); analogWrite(greenPin, 0); analogWrite(bluePin, 0); // White delay(1000); } ๐ Compatible With Arduino (Uno, Mega, Nano, etc.) ESP32 / ESP8266 Raspberry Pi Pico STM32 and other microcontrollers with PWM output Any 3.3Vโ5V digital logic system (5V recommended for full brightness) ๐ฏ Typical Applications Status indicators with color-coded feedback Mood and ambient lighting projects LED art installations and displays Robotics visual feedback Wearable electronics Educational projects for learning PWM and color theory Prototyping color feedback systems ๐ฆ What's in the Box 5/10/25x 5mm Common Anode Clear RGB LED Diodes - quantity selected above Current-limiting resistors are not included. See the Wiring section above and the User Guide linked below for recommended values. ๐ก Tips The green channel is significantly brighter than red โ reduce green/blue PWM values when mixing to achieve balanced white or pastel colors. Clear-lens LEDs produce a focused beam โ ideal for indicator lights but can be intense to look at directly. Consider diffused LEDs for softer, more evenly distributed light. On 3.3V systems, the green and blue channels (Vf = 3.5V) may not light reliably. Use a 5V supply for full-color operation. Use a helper function to invert PWM values so you can write standard 0โ255 logic: analogWrite(pin, 255 - value); โ ๏ธ Important Notes Always use current-limiting resistors โ driving an LED without one will destroy it. Do not exceed 20mA forward current per color channel. Observe correct polarity โ the common anode pin connects to positive voltage, not ground. These LEDs are not waterproof. ๐ Documentation & Resources For detailed wiring diagrams, resistor calculations, Arduino code examples, and color mixing tutorials, see our full User Guide: 5mm Common Anode RGB LED User Guide All LED, Laser & Light Source User Guides Sold and supported byย Envistia Mall. Ships from the USA. For wiring diagrams and troubleshooting, see the User Guide.ย The manufacturer and Envistia LLC (dba Envistia Mall) are not responsible for any damages or losses resulting from the use of this product. Always follow proper electrical safety practices when working with electronic components. Specifications are based on manufacturer data and are subject to change without notice.
Have a question about this?
We currently ship within the US, with more countries coming soon.
Final cost and dates are confirmed at checkout.
๐บ๐ธ Ship from USA ยท On Agora since 2026
$2.49