Questions tagged [rgb-led]

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

Filter by
Sorted by
Tagged with
-1 votes
1 answer
147 views

Arduino-project with color sensor and rgb-led

I want to use a color sensor for my Arduino project with Arduino Uno to detect the colors red, green, blue, orange, yellow purple of leaves of paper and then light my RGB led in those colors. I have ...
user90576's user avatar
1 vote
1 answer
149 views

MKR 1010 WIFI Built-in RGB LED not working with BLE

in addition to the standard LED_BUILTIN, MKR 1010 WIFI comes with a built-in RGB LED. This RGB LED fails when used along the on-board BLE, no matter what program sequence I test. To reproduce the ...
Nino's user avatar
  • 411
1 vote
1 answer
65 views

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% ...
Marek's user avatar
  • 13
-1 votes
1 answer
126 views

RGB LED randomized colors and LDR fading at the same time

Im trying too make an RGB LED that keeps changing color's randomly, and makes the brightness fade at the same time with an LDR, yet I keep getting an error that says too many arguments to functions. ...
Sudras Elagor's user avatar
1 vote
0 answers
75 views

FastLED web client, clicked on page to control on and off for ws2812

FastLED web client, when clicked on, all RGB on in red color. Clicked off, all RGB off/black. but not work. Here is the full code, i don't know why it's loop always and web client stuck when i clicked ...
user2470155's user avatar
0 votes
1 answer
117 views

Arduino Uno usb 5v and external power supply 12v overheating

I have a issue with my Arduino Uno r3. I am sorry for my English and explanation of my problem I am not great with explaining. I'm not sure why is that happening but I have 5V 18A power supply to ...
KapitanKrzak's user avatar
1 vote
1 answer
380 views

Requires accurate RGB color values by the tcs3200 RGB color sensore

I used the TCS3200 sensor to read the RGB color values.First, I calibrated the sensor with white and black colors.The sensor detects red, blue, and green correctly, but does not give an accurate value....
ali's user avatar
  • 11
0 votes
1 answer
264 views

Arduino to run and LED strip of up to 100m

I am working on a project to run an RGB strip around a large room and have the colour change driven by an Arduino Uno. I have encountered a number of issues and am looking for clarification. The first ...
Michael Coxon's user avatar
0 votes
1 answer
2k views

FastLED fill_solid array

I'm having trouble in the fill_solid function with arrays. can you help give color to row3. int row3[]={1,2,3}; uint8_t sizerow3 = sizeof(row3)/sizeof(row3[0]); void solid(){ fill_solid(leds[row3[3]...
Ecvary's user avatar
  • 1
1 vote
0 answers
146 views

xQueueGenericReceive error on ESP32 (using FastLED which relies on FreeRTOS) for adapted MeteorRain LED animation

I'm trying to adapt the MeteorRain animation from Tweaking4All to work on segments of my light string (vs using the entire string) and I'm getting an error in FastLED.show() (on a line that is used ...
Johnny Rollerfeet's user avatar
1 vote
0 answers
289 views

increment or decrement the values of an array

I wanted to simulate the Dawn light with my arduino Uno using array implementation. I desired to change the brightness of the LEDs using fade effect( Smoothly and keep it unchanged until the next ...
Hadi Mirdamadi's user avatar
1 vote
2 answers
4k views

How to change brightness of LED light?

I'm trying to change the brightness of an LED light with RGB. I can change the brightness of simple colors like red, green, and blue. But I'm not sure how to change brightness of colors like purple, ...
Sean Balbuena's user avatar
1 vote
2 answers
176 views

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 ...
Ian Rapini's user avatar
2 votes
3 answers
379 views

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's user avatar
  • 39
1 vote
1 answer
451 views

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 ...
alirazi's user avatar
  • 21
0 votes
1 answer
201 views

Code For Lighting RGB Led

I am doing this simple introductory exercise to light an RGB Led, but I am confused about the code in the exercise. The following is the code: /* Adafruit Arduino - Lesson 3. RGB LED */ int redPin = ...
user avatar
1 vote
0 answers
211 views

Connect two 64x32 RGB P4 panels Arduino Mega

I'm using an Arduino Mega and two RGB Led Panels to plot some data. The problem is that the data plotted in the first panel is duplicated in the second as well. What I want is to plot the data on both ...
XDelRey's user avatar
  • 11
1 vote
1 answer
359 views

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 ...
AsiJapan's user avatar
  • 113
0 votes
1 answer
279 views

Controlling LEDs with bit bang method

I'm doing a research for RGB LED chips that MCU can control with one pin. I found this LED chip and it seems controlling LEDs is not as I've tought. I understand hardware part, software side is a ...
Pararera's user avatar
  • 213
4 votes
1 answer
7k views

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 ...
Ivan's user avatar
  • 43
1 vote
0 answers
220 views

How to light up RGB Leds at the exact same time?

I have 2 sets of RGB Leds, each set is driven by 3 OUTPUT analog pins of the arduino, as illustrated below: The code is supposed to put on HIGH the 6 analog pins at the same time so that the Leds ...
S.E.K.'s user avatar
  • 53
1 vote
2 answers
91 views

Connect RGB LED board to Arduino?

I'm trying to repurpose an RGB LED (pictured) and use an Arduino board I've just gotten to reprogram the lights. I'm very new to electronics engineering and I don't really know how to get started. How ...
Tony S's user avatar
  • 21
1 vote
1 answer
77 views

Is this LED Strip Schematic correct?

I am trying to simulate a 12V LED strip as per this tutorial. However the schematic I tried to make on EasyEDA looks quite different from the images on the website. I wanted to know if what I did is ...
idunno's user avatar
  • 67
1 vote
1 answer
1k views

RGB LED using potentiometer and push button

I'm currently working on an assignment which has to turn on an RGB LED using a potentiometer and button. The problem I currently have is that the button is supposed to change the color I want the LED ...
Matt Weber's user avatar
1 vote
1 answer
62 views

Why my code isn't working?

I wrote this code, but it doesn't work (what I want is that the program choose a random color and turn on or off an RGB led) I use transistors to turn the led strip on or off and analogWrite(pin, ...
user avatar
0 votes
0 answers
75 views

Integrating blinking light code and time on/off code

I'm trying to integrate code from one of my projects with another. One is code that blinks some Adafruit Neopixel LED strips at a specific rate and the other is a time on/off circuit here is the code ...
mattheworo's user avatar
1 vote
1 answer
179 views

Connecting a time on/off circuit and my adafruit neopixel light strip

I'm new to programming and hardware so be gentle. I've used this tutorial Arduino Ultra Mega Timers to create a time on/off circuit. I'm attempting to connect some adafruit neopixel led strips to a 5v ...
mattheworo's user avatar
1 vote
1 answer
1k views

WS2812B are only white on custom board

I recently designed a board for an LED project. I am using WS2812B as the LED, and an ATMEGA328P-AU as the microcontroller. I also am using an arduino nano as my ISP and using "flash with ...
Aubrey Champagne's user avatar
0 votes
0 answers
228 views

problem controlling rgb led with one button

I'm trying to make a lamp which quality to change color by pressing a button, pressing once turns on red, pressing again turns on blue and so on, but I also want it to have a light effect in which it ...
jhon flores's user avatar
0 votes
2 answers
2k views

RGB LEd and a push button in TinkerCAD

I'm working on TinkerCAD, I want to design and simulate a circuit in which there are following components. 1. 1 RGB LED 2. 1 Push button 3. 3 Photo-resistors. 4. 1 Arduino board. So the light should ...
Mahima Pareek's user avatar
0 votes
1 answer
372 views

Trying to draw a bitmap to an LED matrix only draws the left half

I'm EXTREMELY new to Arduino and fairly new to programming as a whole, but I thought it would be fun to try and write a program that draws arbitrary 1-bit bitmaps to an LED matrix using the Adafruit ...
NGD's user avatar
  • 3
2 votes
1 answer
135 views

Bicycle Tail Light project [closed]

For my college course we currently have to carry out a project of our own choice. I chose to make a Tail light system, with strobing indicators, fog-light and brake-light. The lighting uses Neopixel ...
Tay Swain's user avatar
1 vote
2 answers
303 views

Why does the LEDs affect Analog Input?

So I'm working for a project to control RGB Led Strip using microphone or sound sensor with Arduino Nano. I'm using 5050 RGB Led Strip around 120 LEDs, and I control them using simple transistor ...
juliussin's user avatar
  • 121
2 votes
1 answer
79 views

Designing RGB leds

I am interested in creating a string of ~80 RGB LEDs run on an Arduino Uno. Each LED is to have its own on/off timing and color and the distance from one LED to the next about 4-5 feet. Since I want ...
China Blue's user avatar
1 vote
2 answers
1k views

7-Segment Display with WS2312B and FastLED

I thought of the idea of using the WS2312B LED strip to drive a custom 7-Segment display. The project will require a large number of these displays, and driving them with a single Arduino (I'm ...
MDChaara's user avatar
  • 185
-1 votes
1 answer
377 views

Addressable LEDs vs Multiplexing for a Matrix

I would like to building a 8x64 RGB Matrix and connect it to my Arduino. As this form factor does not really exist I would need to build one myself but now I am wondering if I should use addressable ...
Septatrix's user avatar
  • 103
0 votes
1 answer
270 views

Arduino Nano Fried on Music Reactive Led Strip

I'm doing a project that involves an Arduino Nano, a sound detection microphone module and a RGB Led strip (individually adressable leds). I also bought an accumulator so I can connect everything ...
imx78's user avatar
  • 1
0 votes
2 answers
132 views

NeoMatrix Button Troubles

I am creating a 20x15 LED Matrix using and Arduino Nano. My goal is to switch between different "scenes," if you will, using 4 buttons (I just need to run different code to make it display something ...
Micah Wagoner's user avatar
1 vote
0 answers
415 views

Arduino-Controlled LED Matrix issues

I am making a 20 x 15 LED matrix, and am having some super annoying problems. I was hoping you all could help me find some answers. It is very important to note that I am following BitLuni's video ...
Micah Wagoner's user avatar
13 votes
6 answers
7k views

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 ...
Bort's user avatar
  • 397
3 votes
1 answer
19k views

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 ...
Bort's user avatar
  • 397
-2 votes
1 answer
86 views

Can an arduino Uno control led, sound and smoke?

I'm pretty new to this and I've not seen anyone answer this question yet - so I figured I would ask. I have a vape mod that is set up to expel smoke with a trigger. I want to merge this trigger to ...
Pip Smith's user avatar
0 votes
0 answers
112 views

Arduino RGB IR Controller -> led always close to white

I use arduino nano. When i use this code the rgb light on the fan is showing the colors right int rossoPin = 11; int verdePin = 12; int bluPin = 10; void setup(){ pinMode(rossoPin, OUTPUT); ...
Ary Carcar's user avatar
0 votes
1 answer
51 views

LED fader function freezes and becomes unresponsive after a few cycles

My LED controller has a color fader mode that I am making. The controller's loop() function grabs incoming serial data to set the amount of colors, fade speed, mode, and other info then runs the ...
BoatHouse's user avatar
0 votes
0 answers
183 views

RGB Matrix flickering every ~5 seconds when paired with SoftwareSerial

I'm running an RGB matrix through an Uno and trying to run it alongside SoftwareSerial so that I can integrate an ESP8266 into things. The trouble is, when I start introducing the SoftwareSerial into ...
garson's user avatar
  • 159
3 votes
3 answers
1k views

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. ...
BoatHouse's user avatar
2 votes
2 answers
940 views

How to connect two LED strips (APA102/SK9822) to Arduino UNO?

So what I am trying to do is to connect two SK9822 LED strips to Arduino UNO. I am a bit confused about how to properly set this up so I can individualy control any led. So obviously 5V should go to ...
atatatatatat's user avatar
1 vote
2 answers
278 views

Arduino is incorrectly reading serial input from C# program

I am trying to create a program to operate my arduino based LED controller. I'm pretty sure that my C# program is outputting to serial port correctly as I double checked the output in Debug.WriteLine()...
BoatHouse's user avatar
1 vote
2 answers
2k views

How to read a text file line by line

I am making an LED controller that reads instructions from a text file on my computer. I need to get the arduino to read this text file line by line and put each line into the appropriate variables. I'...
BoatHouse's user avatar
3 votes
1 answer
1k views

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 ...
Jorge Martín Martí's user avatar