Questions tagged [rgb-led]
RGB (Red, Blue and Green) LED (Light Emitting Diode).
189
questions
-1
votes
1
answer
65
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.
...
1
vote
0
answers
33
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 ...
0
votes
1
answer
67
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 ...
1
vote
1
answer
77
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....
0
votes
1
answer
90
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 ...
0
votes
1
answer
736
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]...
1
vote
0
answers
85
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 ...
1
vote
0
answers
153
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 ...
1
vote
2
answers
1k
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, ...
1
vote
2
answers
127
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 ...
1
vote
3
answers
222
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?
1
vote
1
answer
220
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 ...
0
votes
1
answer
108
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 = ...
1
vote
0
answers
164
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 ...
1
vote
1
answer
166
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 ...
0
votes
1
answer
176
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 ...
3
votes
1
answer
4k
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 ...
1
vote
0
answers
145
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 ...
1
vote
2
answers
82
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 ...
1
vote
1
answer
58
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 ...
0
votes
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 ...
1
vote
1
answer
61
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, ...
0
votes
0
answers
65
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 ...
0
votes
1
answer
138
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 https://www.instructables.com/id/Arduino-Ultra-Mega-Timers/ to create a time on/off circuit.
I'm attempting to connect some ...
1
vote
1
answer
836
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 ...
0
votes
0
answers
137
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 ...
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 ...
0
votes
1
answer
270
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 ...
2
votes
1
answer
106
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 ...
1
vote
2
answers
231
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 ...
2
votes
1
answer
74
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 ...
1
vote
2
answers
777
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 ...
-1
votes
1
answer
255
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 ...
0
votes
1
answer
255
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 ...
0
votes
2
answers
105
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 ...
1
vote
0
answers
342
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 ...
13
votes
6
answers
6k
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 ...
3
votes
1
answer
16k
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 ...
-2
votes
1
answer
63
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 ...
0
votes
0
answers
107
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);
...
0
votes
1
answer
50
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 ...
0
votes
0
answers
157
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 ...
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. ...
1
vote
2
answers
796
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 ...
1
vote
2
answers
217
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()...
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'...
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 ...
-1
votes
1
answer
396
views
APA106 random color when power applied
The APA106 RGB LED is usually blue when 5VDC is applied. Sometimes it is a random color when turning the power supply on and off. How to keep it a consistent color when power is applied?
Normal:
...
-1
votes
1
answer
774
views
How to control 220V RGB Led Strip with Arduino/ESP32 [closed]
I need to control 220V RGB Led strip with Arduino/ESP32-wroom over internet.
Single color led is easy (just with a relay), 12V RGB can be done with PWM and maybe external power source. But how can I ...
1
vote
0
answers
53
views
MKR1000 disconnecting when hooked up to RGB 16x32 LED Matrix
This tutorial is from 2012, before the MKR1000 existed. The tutorial says the 16x32 LED Matrix panel is compatible with the Arduino Zero, which the MKR1000 is supposedly related to, so I'm thinking I ...