Questions tagged [led-strip]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
4 votes
2 answers
215 views

FastLed LED Strip Output Checksum

I am wondering if anyone has ever connected the output of their LED strip back to the Arduino to read and make sure the strip is functioning correctly, kinda like checksum functionality. I am using ...
Jorb's user avatar
  • 41
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
3 votes
2 answers
5k 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. ...
Dan B's user avatar
  • 33
3 votes
1 answer
18k 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
3 votes
1 answer
259 views

Pass Color to a function without using a specific Adafruit_NeoPixel

I'm initializing my strips as an array: // Declare NeoPixel strip array: Adafruit_NeoPixel strip[] = { Adafruit_NeoPixel(LED_COUNT[0], LED_PIN[0], NEO_RGBW + NEO_KHZ800), Adafruit_NeoPixel(...
Johnny Rollerfeet's user avatar
3 votes
1 answer
3k views

Using 18650 batteries with a 3.7v to 5v boost converter [closed]

I'm looking to set up a 1-meter strip of WS2812B LEDs (60 LEDs) with an off-the-shelf RF LED controller with a remote. The LEDs want a 5V supply - I've tried running them off 3.7v but the colour ...
poolski's user avatar
  • 33
3 votes
2 answers
3k 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 ...
Tehanu's user avatar
  • 31
2 votes
2 answers
803 views

ignoring potentiometer value variations

I've got a 50k potentiometer connected to an Arduino Uno. The user should adjust the hue of an Adafruit NeoPixelStrip. I've got the following code inside the loop function: int hue = analogRead(...
WalterBeiter's user avatar
2 votes
3 answers
3k views

WS2812B LED strip + Arduino First Pixel keeps dying/breaking

I am trying too hook up a WS2812B LED strip to an arduino nano. The current strip consists of 6 pixels, and the whole thing is powered via a 5.26V Pc power supply. The problem is that the first pixel ...
Bart B's user avatar
  • 41
2 votes
2 answers
87 views

First time arduino attempt. 4 switch inputs controlling 8 LED outputs

This is my first venture into Arduino. I am unsure which one to use even for this. As this will be a dedicated unit, and size is a small priority, the smaller the better. Here is more info on the ...
Michael's user avatar
  • 21
2 votes
2 answers
900 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
2 votes
3 answers
9k views

Control multiple WS2812B strips with different leds count

First of all, my English is not that good so sorry if I made any mistake. I'm using the WS2812FX, an awesome WS2812 effect library base on Adafruit NeoPixel library to make a small controller for the ...
PhuocBull's user avatar
2 votes
1 answer
125 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
2 votes
1 answer
84 views

Pca9685 & WS2818B, 1 Nano

Arduino n00b here. I currently have an Arduino Nano set up to run 6 servos from a PCA9685 board. I'm looking to add 6 switches and 6 LED indicators to switch servo positions. What I'm curious about is ...
brbecker87's user avatar
2 votes
1 answer
2k views

Continous running light with fading trail

In examples of FastLED library, there's the animation of a dot sweeping back and forth, with fading trails (file "DemoReel100", animation "sinelon"). How can I alter the code so instead of moving back,...
Madamadam's user avatar
  • 121
2 votes
2 answers
83 views

How to measure room light without LEDs interfering?

I'm trying to measure the light in a room with a simple circuit: a phototransistor connected in series with a resistor. An LED strip changes brightness according to the brightness level in the room. ...
David's user avatar
  • 121
2 votes
1 answer
2k 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 ...
MortenMoulder's user avatar
2 votes
1 answer
104 views

Motion-activated lights

I am attempting to follow this tutorial to light up a dark staircase with motion-activated LED strips. If my understanding of the tutorial is correct, essentially the Arduino's job is to power or ...
Eidan Jacob's user avatar
2 votes
0 answers
36 views

Can the Blink class be used on a 5v to 240v relay?

I have found the following code and it works fine on a breadboard controlling small LEDs but I want it to work with LED strip lighting with external 240v transformers. We have built the circuit using ...
Zed's user avatar
  • 21
2 votes
3 answers
101 views

Issue with bluetooth and a large number LED strip

I want to be able to control multiple LED strip via bluetooth with one arduino. I coded my own android app and everything work fine with one or two led strip with few pixel. But as soon as I had to ...
Antoine Bacquet's user avatar
2 votes
0 answers
66 views

My LED display fails with MSGEQ7 output stuck

I have an Arduino setup with a pro-mini, a MSGEQ7, and a auto-gain mic. Even if I remove the audio input to the MSGEQ7 remains the same in the 890s (out of 1024). It's the same on each of two new ...
mystack's user avatar
  • 21
2 votes
0 answers
194 views

How to test continuity on signal wire?

I’m reassembling an LED strip, SK6812, that I had cut into smaller lengths. I don’t have a lot of faith in the connectors I’m using or my ability to solder, so I’d like to test it before I put power ...
Johnny Rollerfeet's user avatar
2 votes
0 answers
75 views

Can't get fastled.h and remoteme.h to work together

I'm trying to make a Google Assistant controlled LED strip, but I'm stuck. I can control the on board LED of the nodemcu with Google Assistant, and I can control a LED strip too, but I can't combine ...
CodeHard's user avatar
1 vote
4 answers
483 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 ...
nixx's user avatar
  • 11
1 vote
1 answer
1k views

RGB led strip is too dim

I'm following this tutorial to build an Arduino powered RGB led strip controller but I'm facing two problems: When I use digitalOutput the lights are too dim. When I use PWM the leds change so ...
Nicos Karalis's user avatar
1 vote
3 answers
115 views

Do I need the Ground and 5 V pin connect to Led?

I am building an ambilight. So I bought a 3 pin LED Strip which I power with the USB hub from my TV. Next step is to connect it to the Arduino Nano. Is it OK when I only use the dataport from the ...
kerim p.'s user avatar
1 vote
1 answer
1k 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 ...
Dr geek's user avatar
  • 25
1 vote
1 answer
2k views

Do I have to wire up my WS2812 LED strip in "series", if I want to address each LED individually?

Let's assume I want to make an asterisk (*) out of LED strips. I want to control each leg individually, while still being connected to only one GPIO pin. The layout I had in mind, looks like this: ...
MortenMoulder's user avatar
1 vote
2 answers
256 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
1 answer
299 views

Adafruit Neopixel Individual Addressable LEDs issue - Any and every code make LEDs go "crazy"

Hi everyone I have an issue with getting these LEDs to cooperate. I'm using a 470ohm resistor on the data port and a capacitor for the power. I complied and uploaded the "strandtest"(I ...
Alex 's user avatar
  • 11
1 vote
2 answers
1k views

How fast is flash reading compared to SRAM?

I'm working on a project that will eventually scale to 864 LEDs on WS2815 LED strips (three rows of 288 LEDs). I'm currently running it on an Arduino Uno with a single test strip of 144 LEDs. FastLED ...
jonspaceharper's user avatar
1 vote
1 answer
626 views

Is there any problem in running Arduino logic to 12V LEDs?

I want to run a strip of 300 12V LEDs (Adafruit Neopixels with WS2811), with my Arduino. Is it safe to connect a follows, or is there some "separation" between voltage levels needed? 5V voltage/out ...
Anna's user avatar
  • 163
1 vote
1 answer
592 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 ...
Max's user avatar
  • 13
1 vote
1 answer
114 views

FastLED EVERY_N_SECONDS - does it generate static code?

I realize my question is not precise, so I have a simple contrived example to illustrate better what I am asking. I am trying to use EVERY_N_SECONDS inside a member function of a class that is invoked ...
PaulM's user avatar
  • 111
1 vote
1 answer
147 views

I want to create 10 levels with one button but this code shows only level 1?

#include <Adafruit_NeoPixel.h> const int PIN = 4; const int NUMPIXELS = 10; const int BUTTONPIN = 6; int buttonState = 0; int PINState = 0; int level = 1; int dt = 100; Adafruit_NeoPixel pixels(...
louise moons's user avatar
1 vote
2 answers
953 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 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
1 vote
0 answers
51 views

How to change between loops? IR Remote + led strip

#include <IRremote.h> #include <Adafruit_NeoPixel.h> #define LED_PIN 7 // define the LED strip data pin #define LED_COUNT 150 // define the number of LEDs in the strip Adafruit_NeoPixel ...
Martin's user avatar
  • 11
1 vote
0 answers
184 views

FastLED changing colour at holding state

Basically make a code to guide users through a box breathing exercise (breath in for 4 seconds, hold for 4, release for 4, hold again for 4, repeat) to help relax them. Right now my code is running ...
entirelyreverse's user avatar
1 vote
0 answers
134 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
375 views

WS2811 strip not working on NodeMCU, works fine on Nano

Sorry if this is something simple, but im scratching my head over this for a while and there are a few things that have me super confused. I have two WS2811 strips lighting up my outdoor stairs Both ...
Thomas PomTom Steel's user avatar
1 vote
0 answers
339 views

ESP-01S + Fastled

I am trying to control a WS2812B Led Strip with my ESP-01S board. It works fine with my ESP32 DevKit board, but the ESP-01S won't do anything :/ I couldn't figure out which 2 GPIO the ESP-01S is using ...
Fuxi's user avatar
  • 111
1 vote
0 answers
1k views

WS2812B not fully working with NodeMCUv2 [ESP8266]

I have a problem with my NodeMCU v2 board and my WS2812B led matrix with 256 (32x8) LEDs. The Board cannot be able to turn on the 191th led and stops working after the 190th without changing the ...
Gianlo's user avatar
  • 11
1 vote
0 answers
954 views

Using MOSI and MISO pins for multiple devices

For the device I am creating, I am hooking up an apa102 led strip to pins 11 and 13 to control each LED. But I would also like to hookup my NRF receiver to the arduino, but I also use pins 11 and 13. ...
Reese Houseknecht's user avatar
1 vote
0 answers
536 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 ...
Niek's user avatar
  • 11
1 vote
0 answers
266 views

Audio Signal to LED Lights Code Speed Improvement

I wrote this code that inputs audio from a jack (DC offset at 2.5V), performs the fft on a portion of the data, and then outputs a signal to an LED light strip dependent upon which frequency has the ...
Wes Summers's user avatar
1 vote
0 answers
161 views

Lighting up long led strip no longer works when my code grows

I have a 144 LED strip - Adafruit NeoPixel Digital RGB LED Strip 144 LED, link here: https://www.adafruit.com/product/1507 If I create a simple project, eg turning pixels on off from the serial ...
Angus Comber's user avatar
1 vote
1 answer
120 views

Is this a feasible circuit?

The last couple months I’ve been working on this project, I’m nearing its end and I’m getting really excited! However, this is still pretty new to me and so I was hoping my electrical diagram/...
dhw123's user avatar
  • 11
1 vote
1 answer
312 views

Arduino Uno and FastLED WS2812B Glitching

I’m using an Arduino Uno and a fastLed WS2812B. I have the leds set up correctly. Every 2 seconds, the lights pause of about a second and display seemingly random colors. Does anyone know what's ...
Wes Summers's user avatar