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

191 questions
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
2
votes
1 answer

On extending scrolling 8x8 bitmap to 32x32 or 32x64 (see clip)

I am using an Adafruit 64x32 RGB LED panel with my Arduino Mega 2560. I tried to find/construct working examples of a 32x32 or wider scrolling text/bitmap but have failed. The smaller version is working and is calling two functions for it to…
2
votes
1 answer

How to make RGB LED blink rapidly one color using FOR or WHILE loop

I found a code that turns on different RGB colors but I would like it to blink rapidly one color once called. I dont want to use void loop function to make this possible. My RGB is a cathode. Any help? int redPin = 8; int greenPin = 9; int bluePin =…
flyer3110
  • 107
  • 1
  • 2
  • 7
1
vote
1 answer

How much time does it take to propagate the control signal through all LEDs in the ws2812b strip?

In my next small Arduino project, I wanted to use some addressable rgb led strips. I made some small research and choose to use a strip with ws2812b. Generally, I know how this works but I am not 100% sure if what I think is correct. So please…
Marek
  • 13
  • 4
1
vote
2 answers

I want to turn on RGB led gradually

Why I can't use "timeA = delay" to make the lights turn on gradually. The problem is that the delay don´t work, and the led light goes directly to the last color. What I need to do in my code to fix this? Here is my code ↓ // C++ code // void…
Ian Rapini
  • 11
  • 2
1
vote
1 answer

Control 4 Grove - RGB LED (WS2813 Mini) color and brightness

I have connected 4 Grove - RGB LED (WS2813 Mini) to D2,D3,D4,D5 on Grove Base Shield V2.0 for Arduino. How can I control the brightness and color of each LED? At the moment I only know to activated one. Code: #include "Adafruit_NeoPixel.h" #define…
alirazi
  • 21
  • 3
1
vote
1 answer

Blink only one led in a led strip

I wish to blink only one led (number two in the strip) bit it does not do so, any idea why and how can I do it? Code: #include "FastLED.h" //Number of LEDs #define NUM_LEDS 9 //Define our clock and data lines #define DATA_PIN 11 #define CLOCK_PIN…
AsiJapan
  • 113
  • 4
1
vote
1 answer

Using LDR and RGB Led to get R,G,B values

Has anyone tried using a setup of RGB LED directed to cuvette and the LDR on the opposite side? using arduino to and get the RGB values.. Currently having problems with calibration... I was able to get R,G,B values of colored papers... however with…
SoraCode
  • 11
  • 3
1
vote
5 answers

Connect an Arduino directly to RGB LED strip

I am totally new in this area. I have an Arduino mega 2560 and I have this LED RGB Strips. I would like to know if there is any way of connecting the Strips directly to the arduino. The strip has already solded 4 cables: one cable on 12V one cable…
Ana Grou
1
vote
1 answer

Using an Arduino to drive a digital RGB LED strip

I recently purchased a 5M strip of digital RGB LEDs, that is compatible with the "Adafruit_NeoPixel.h" library. Is maintaining the original order of the LEDs important? Could I cut the strip in say four sections, and then reconnect those sections…
ZacWolf
  • 212
  • 4
  • 11
0
votes
1 answer

RGB LED lights and Arduino

I am doing my thesis project which is a kinetic light/sound sculpture. My first step is to learn how to work with RGB LED lights and how to choose them and what other kinds of equipment I need. I started to learn Arduino uno and learned how to…
0
votes
2 answers

Multiple random Fire2012 sequence in same strip

I am trying to simulate 4 flickering flames on a single LED strip. The ws2812b strip has 60 LEDs. I cut and chained it into 4 chunks of 15 LEDs. Each chunk has a random Fire2012 sequence, however the entire sequence seems to start and stop at the…
steve
  • 103
  • 4
0
votes
1 answer

Fading red to white to blue continuous loop on ws2812 LED strip

I'm a big noob when it comes to writing a sketch and have set myself a task for an upcoming 4th July project, which has come to a halt. I'm trying to set a strip of 30 LEDs to fade from red to white to blue through FastLED on a Wemos D1 mini. I also…
Benjini
  • 11
  • 2
0
votes
1 answer

RGB LED blinks when analogWrite is low

I have set up an LED who's brightness is controlled by a sonar sensor. The sonar works well and I can see the values coming from it through the serial monitor. The LED fades until about 700 using analogWrite #include #define…
ntgCleaner
  • 125
  • 6
-1
votes
1 answer

Need help in connecting 64x32 LED Matrix

I recently got a 64x32 LED Matrix. However, I'm not sure how to connect it to an arduino uno. I tried following the docs here: https://cdn-learn.adafruit.com/downloads/pdf/32x16-32x32-rgb-led-matrix.pdf, but I can't get my OLED matrix to display the…
Dominic
  • 1
  • 1
  • 3