Questions tagged [rgb-led]

RGB (Red, Blue and Green) LED (Light Emitting Diode).

RGB LEDs generally have four pins - one for each colour (Red, Green, and Blue) and a common cathode.

They are often used to provide three status indicators from a single LED, but the three colour pins can also be pulse-width-modulated to get mixed colours

192 questions
13
votes
6 answers

Addressable RGB strip works fine individually but cannot set all LEDs to full white

I have a 5 meter strip of 12V digital RGB LEDs. The chip is WS2811 (see photo of IC). There are 50 addresses on the strip. Using the FastLED library, I am able to run the "FirstLight" example that chases full white with a single address at a time,…
Bort
  • 397
  • 2
  • 6
  • 18
8
votes
2 answers

How to use a common anode 7-segment, 4-digit display?

Please take this question as an example to (my own) answer below. I've got an 7 segment, 4 digit LED display, but I don't have any idea on how to wire it. I don't understand the difference between common anode/cathode, and I don't have 2 pins per…
aaa
  • 2,715
  • 2
  • 25
  • 40
5
votes
2 answers

How does an LED in an LED-strip like WS2811 know when it should be on or off

I was experimenting with an Arduino board and an LEDstrip WS2811 it works all perfect, but I do not understand how a particular led knows when it is called or adressed. Does every led have a unique address?
Anne Mabellon
  • 83
  • 1
  • 7
4
votes
1 answer

How do I control the onboard LEDs of my Arduino Nano 33 BLE Sense?

I picked up my Arduino Nano 33 BLE Sense for the first time in a while and ran the classic "Blink" sketch to make sure it was alright. After slight usage, I wanted to play with the onboard LEDs. When I run the following code, the onboard LED does…
Ivan
  • 43
  • 1
  • 1
  • 3
4
votes
2 answers

RGBW LED strip: which components are required?

I'm brand new to this community, and in electronics as well. I'm a software developer and I want to start a new journey with a project in mind: I want to control a 5 meters addressable LED strip for my living-room. I need all the components for this…
Darkendorf
  • 141
  • 5
4
votes
1 answer

Unable to use RGB matrix and the serial monitor at once

Recently I bought the following matrix: https://learn.adafruit.com/32x16-32x32-rgb-led-matrix/overview I own an Arduino Uno for those who are interested. I got the 32x32 variant and I am very happy with it. I managed to connect all the wires…
3
votes
1 answer

FastLED library: How can I adjust the brightness of a single pixel on an absolute scale?

I'm using the FastLED library to control a digital RGB LED strip. While this library seems very comprehensive in capability and ease of use, I do not yet see a way to simply set the brightness value of a individual pixel on an absolute scale. In…
Bort
  • 397
  • 2
  • 6
  • 18
3
votes
3 answers

What can I do to increase the amount of LEDs I can power with a pro micro?

I am new to arduino and have a sparkfun pro micro that I'm using to power a one meter (60 pixels) APA 102 strip. I currently power it via USB and have a program that sends lighting instructions to it. I can only seem to power ~15 pixels with full…
BoatHouse
  • 57
  • 5
3
votes
1 answer

How do I join two RGB ledPanel 32x64 in order to get one 64x64?

I'm making a project to make a pixelArt of 64x64 using two 64x32 RGB ledMatrix and Arduino MEGA. This is the RGB Panel I am using. I use ADAFruit and RGBMatrixPanel libraries in my Arduino Code and if I connect the Arduino pins to the RGB panel it…
3
votes
2 answers

FastLED fill_rainbow - Unexpected red pixel

I'm using FastLEDs builtin fill_rainbow function for generating a rainbow spectrum on an LED strip. The issue is, I get a random red pixel midway through the yellow region. I've tried it on 3 different Arduino nano's, and two different LED-strips.…
Tehanu
  • 31
  • 1
  • 3
3
votes
2 answers

Setting 10 RGB Strips Independently from Single Arduino

I want to control 10 different 12V RGB LED strips independently from a single Arduino. As a clarification - I've setup a bunch of NeoPixels and understand how to wire and control them independently. So now I'm looking to do something similar but…
Dan B
  • 33
  • 1
  • 5
3
votes
1 answer

Controlling a digital 12V addressable RGB led strip with Arduino?

I have a 12V addressable RGB strip that I want to control with an Arduino, the chips are ws2811s, is there a way to do this as the Arduino is 5V and 3.3V?
Massa
  • 33
  • 1
  • 1
  • 4
3
votes
2 answers

How to control cold to hot (blue to red gradient) RBG LED strip/bulb with a rotary encoder?

I'm doing a project for university and I am struggling to code and set up a rotary encoder that can control hot-cold variations. Much like the idea of communicating temperature selected by turning a dial. I would either like to control a single…
Kate
  • 31
  • 2
3
votes
2 answers

Problem sending colors from an audio visualizer to Arduino

Sorry in advance for the length of my question; I want to provide proper context. I wrote an audio visualization program in Java that (in addition to making "pretty pictures" based off of the amplitudes of different frequencies being sent from the…
2
votes
3 answers

Why are transistors necessary before LEDs?

Below is the small RGB LED circuit I'm trying to build. My question is why are the 3 transistors necessary, and can I not link the LEDs directly?
Paco
  • 39
  • 3
1
2 3
12 13