Questions tagged [rgb-led]

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

Filter by
Sorted by
Tagged with
-1
votes
1answer
29 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
1answer
45 views

How to control 220V RGB Led Strip with Arduino/ESP32

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 ...
0
votes
0answers
24 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 ...
0
votes
0answers
73 views

LED brightness control problem

My first question here. As an example, I'm using https://howtomechatronics.com/tutorials/arduino/how-to-control-ws2812b-individually-addressable-leds-using-arduino/ code to control my lighting, which ...
2
votes
2answers
55 views

RGB LED Mode toggle - Trying to avoid using main loop()

I'd like to start by saying that I have only been dabbling in electronics (not just Arduino) for about 3 days now. I am trying to write a sketch which changes an RGB LED when a push switch is pressed....
-1
votes
2answers
44 views

What type of Arduino to buy

I am doing a project for school to run 462 LEDs in 6 series (77 each) and a stepper motor altogether, I wanna know what model of Arduino I should buy (not so expensive)? I am using individually ...
0
votes
1answer
35 views

RGB LED circuit problem

I have written the following code for RGB LED:- const int RED =11; const int GREEN = 10; const int BLUE= 9; void setup() { pinMode(RED,OUTPUT); pinMode(GREEN,OUTPUT); pinMode(BLUE,OUTPUT); } ...
0
votes
1answer
48 views

Looking for some help with an RGB LED animation

I'm working on a project that is running off of a Sparkfun Pro Micro 5V. I'm trying to accomplish a color rainbow cycle animation which will have a function when triggered to fade the rainbow to black ...
1
vote
1answer
74 views

Unexplainable int behavior in encoder/LED project

I am trying to use a rotary encoder to cycle through the brightest versions of R, G & B. And it works! Red goes to blue just fine. Then G happens. For some reason, the int for green goes ...
0
votes
1answer
50 views

Strange artifact in writing to serial while executing loop

Hope you can see this. https://gist.github.com/DevilWAH/60ad144d2858f53845ac2e80f84bb070 The main file in this is "morse-led-rfid" which is taking reading data of an RFID tag and then displaying ...
0
votes
1answer
41 views

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

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 ...
0
votes
2answers
135 views

Strange behaviour with WS2812B RGB LED Strip

I tried to use a RGB LED strip, following a guide. I connected the voltage pin to the Arduino UNO 5v pin, the ground pin to the GRN pin and I used the pin 5 for DIN. I used this image as reference: ...
0
votes
1answer
62 views

Trying to measure change in light levels over time [closed]

I have two LDR's attached to my Arduino Uno and an RGB LED as an output component. The two LDR's are at different offboard heights in order to see the change in light between them. I want to code on ...
0
votes
1answer
54 views

WS2812B only works while I measure the voltage

I'm going crazy, there is clearly something I'm missing here. I have a NodeMCU V3.0 and a 5V LED strip WS2812B with 10 diodes. I tested this first with a 5V 0.3A power supply, only powering 3 diodes, ...
0
votes
0answers
110 views

FastLED Rainbow Wheel Fade on an 8 Pin RGB Matrix

So, I have an RGB matrix (using PL9823 LEDs) that's 32 x 8 that I'm trying to run a circular spinning rainbow pattern across in a continuous loop. Now, there's lots of code online for different ways ...
-1
votes
1answer
50 views

RGB LED lights and Arduino [closed]

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 ...
0
votes
1answer
84 views

Arduino RGB LED not working all the time?

I was creating an RGB LED System with one 1 RGB LED controlled by an IR Remote. I wanted to assign a button to trigger a mood-light which cycles through the rainbow, and that works fine. But when I ...
0
votes
1answer
106 views

Addressable RGB LED Strip

I am looking to create an addressable RGB LED strip circuit with my NodeMCU v3 Wi-Fi. I am looking at a strip of 150 RGB LEDs, 5 meters long, so 30 LED/m. But I am only going to use about 50 LEDs for ...
0
votes
1answer
65 views

How would I go about powering addressable RGB LED light strip? [Arduino Nano] [closed]

The addressable RGB LED I have is WS2812B. I plan on controlling the LEDs via an Arduino nano. I have a total of 188 LEDs to supply power to. Would I require anything between the addressable RGB LED ...
0
votes
1answer
271 views

FastLED: Can't address led individually

I'm unable to access the first led in my strip with this code: void loop() { leds[0] = CRGB::White; FastLED.show(); delay(100); leds[0] = CRGB::Black; FastLED.show(); delay(100); } Instead, it ...
0
votes
1answer
101 views

Arduino with using Adafruit NeoPixel library set one color, fade random pixels in strip on and off [closed]

So I am trying to get random pixels to fade on and off at one color. I want to create a power moving inside an item effect. I have several examples of the whole strip fading in and out, but cant seem ...
0
votes
1answer
219 views

RGB LED strip 100m [closed]

Hello all, I'm working on RGB LED strip SMD 5050 5m This all setup is working on 12v 2A with about diagram. I want to use same connection with 100m of LED strip using Arduino. Please support ...
1
vote
1answer
620 views

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 ...
0
votes
1answer
436 views

ATTINY85 with RGB LED

I'm trying to DIY about a dozen BlinkSticks (discontinued, Adafruit) pictured here I'm thinking to use a Digispark ATTINY85 to control a single RGB LED to show the status of some program running ...
0
votes
2answers
395 views

NodeMcu pins and an RGB LED

I'm using a NodeMcu for my project and am running out of pins to use. I have a MFRC522 Module, IR Receiver, Buzzer and RGB LED connected. I am facing the problem that whenever I start scanning for ...
1
vote
4answers
680 views

Multiple RGB led strips with Uno - options? [duplicate]

I know there's quite a few threads with similar answers already, but I hope you won't mind me asking anyways. One thread has what looks like a good solution but it's old and thought it may be better ...
1
vote
4answers
116 views

for() loop doesn't seem to break?

So I'm quite new to the whole Arduino coding but constructed a sketch that does work, but I think it doesn't work properly. So I'd love to get some advice on how to improve it. This script is ...
-1
votes
1answer
733 views

Looking to blink entire led strip

I am fairly new to FASTLED programming and am looking to make my entire LED strip blink at the same time. Similar to the Example Sketch "Blink" however all 30 of my LEDS. I might just be having a ...
0
votes
1answer
188 views

RGB LED strip controlled through PySerial only somewhat functional

I am trying to set up an LED-strip of 30 RGB LEDs (model WS2801). The strip is connected to an Arduino Uno and an external power supply and the goal is to send colors to the arduino using PySerial ...
0
votes
0answers
105 views

How to connect an addressable (ws2811) led-strip with long cable to an adruino?

I set up a light show on my Arduino and it worked perfect when I tested it. I connected the the data line of my 1 meters (3.2ft) of addressable ws2811 ledstrip direct on the breadboard next to the ...
0
votes
1answer
109 views

Fade effect analog RGB strip and NodeMCU

I have an analog or dumb RGB strip that I control with HTTP commands. I want to be able to make the strip fade between different colours when I call http://XX.X.X.XXX/fade. I want it to do this ...
1
vote
0answers
43 views

Problem with incrementing values of an RGB LED

I'm trying to use a remote control to control the red/green/blue values of an RGB LED using an Arduino Uno. Here's what I've got so far: #include <IRremote.h> #define IRPin 7 #define bluePin 9 #...
5
votes
2answers
927 views

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

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 ...
0
votes
1answer
1k views

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....
0
votes
1answer
82 views

TLC5917 Electrical Characteristics

I am using an Arduino Uno to communicate over SPI to 3 cascaded TLC5917 chips corresponding to the Red, Green and Blue rows of an RGB LED Matrix. I am using direct output IO from the Arduino to power ...
1
vote
1answer
283 views

RGB LED strip inverted PWM

This bug/stupidity-of-myself/problem is killing me: I'm have created an RGB strip controller that cycles through the additive-rgb-color spectrum while turning a potentiometer. I have a pot hooked up ...
3
votes
2answers
1k views

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. ...
0
votes
0answers
207 views

Using TxD pin and NeoPixel library for RGB LEDs

I have no free pin on my ESP-12 but GPIO16 and TxD (GPIO1). I use Neo Pixel Library and this design: GPIO16 powers it on/off TxD uses to handle single-wire-based for LEDs (GPIO1) It works but it has ...
0
votes
1answer
319 views

How to fade out RGB strip?

I have a NodeMCU controlling an RGB strip. I have followed a guide and used this code: #include <ESP8266WiFi.h> #define redPin 13 //D7 - Red channel #define grnPin 12 //D6 - Green channel #...
-1
votes
2answers
301 views

How can I power an 8x8 led matrix? [closed]

I’m relatively new to Arduino. I got this 8x8 rgb led matrix: I’ve got no idea how to power it. Help please!!!
1
vote
0answers
146 views

Run 5V LED Matrix and LED Strip on one Arduino [closed]

I am fairly new to the Arduino community but have electronics and programming experience. I was able to connect and run a 5V RGB 8x32 LED matrix on my Arduino displaying some running text. Now I would ...
-1
votes
3answers
87 views

Wearable GPS LED help

I'm very new to Arduino and C++ and have been playing with the Flora Wearable GPS. However, nowhere I've looked has given me any help in setting and changing the color of the LEDs. The tutorial on ...
1
vote
1answer
42 views

RGB Not displaying Red when using LCD

I was testing my RGB (common anode) on its own playing with colours and got the red, green to work as desired. However, when I connected my LCD board to my Arduino Uno as well as the RGB (using the ...
0
votes
1answer
298 views

AnalogWrite only working for one pin of RGB LED

I'm working on some code for a Nerf blaster with an LED indicator light. When attempting to use analogWrite to PWM my LED pins, only one pin (blue) behaves as expected and dims down. The other two (...
-1
votes
3answers
87 views

Is there a way to put multiple integers in a method? [closed]

I'm working on a project that has 3 RGB LEDs. I want to make a simple method that I can call to control the LEDs for example: showColor(left, 255, 0, 50); Which would light up the left LED at 100% ...
0
votes
1answer
767 views

WS2811 LEDs have the wrong color unless I touch the data wire

This is an electrical/hardware issue, but for background, here's my setup: I'm using a Wemos D1 mini in conjunction with Home Assistant running on a RPi3. The MQTT setup works fine and the commands ...
1
vote
1answer
443 views

Problem with PWM function on RGB LED and IR

I'm having an issue in controlling a RGB LED with Arduino and a remote control. When including the library IRRemote.h (version 2.2.3), the blue channel only works in on/off logic instead of PWM. If I ...
2
votes
1answer
949 views

Control LED strip IR controller using Arduino

Is it possible to connect to one of these, which run at 12v, to turn on the LED strip using an ESP8266? It doesn't matter if it's an Arduino or the ESP8266, both should be able to do this. The board ...
0
votes
1answer
782 views

FastLED: “Invalid pin specified”

I have an Adafruit Trinket (5v, 16mhz, based off of the AtTiny85 chip), and am wishing to use it with a strip with 24 3 pin, individually addressable LEDs (WS2812B). When I try to compile my code, I ...
-1
votes
2answers
205 views

Whats wrong with my code?

Basically what i am trying to do is use an ir remote to turn an rgb on/off and have a few preset colors as well as being able to increase/decrease red/green/blue independently. I don't know much about ...