Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [led-strip]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
32 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 ...
user avatar
-2 votes
1 answer
26 views

Powering LEDs with Arduino uno 5v

I'm working on the sound reactive led lamp as my first project and have slightly different materials to start with. First I'd like to simply learn to power the LED strip. from https://www.youtube.com/...
user avatar
0 votes
1 answer
41 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 ...
user avatar
0 votes
1 answer
61 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]...
user avatar
  • 1
2 votes
0 answers
30 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 ...
user avatar
  • 21
1 vote
0 answers
38 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 ...
user avatar
0 votes
1 answer
207 views

Safe to power LED strip via ESP32 GPIO

I want to rewire a battery powered LED strip (as shown in the picture below) to power via an ESP32's GPIO pin. I have a ESP32 NodeMCU Development Board, powered via USB. The LED strip has specified 3,...
user avatar
2 votes
3 answers
71 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 ...
user avatar
2 votes
0 answers
38 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 ...
user avatar
  • 21
1 vote
0 answers
50 views

Create a 7 segment display out of controllable LED strips to display digits

Highschool newbie here I'm trying to create a 7 segment two-digit display (88 shaped) to display the number of times a distance sensor detects something passing in front of it Here's what I've done so ...
user avatar
0 votes
1 answer
710 views

Troubleshooting WS2812b LED strip with toggle on/off button

I have a very rudimentary setup with an arduino nano, an LED strip, a pushbutton and a resistor. I was trying to use the pushbutton as a toggle, using this code #include <stdio.h> #include <...
user avatar
0 votes
1 answer
335 views

ESP32 light strips showing incorrect colours

I bought some individually addressable LED strips (a large reel). To keep the cost down they are WS2811 and it's one chip per 6 leds. I don't know the cheapness or LED styl makes any difference to the ...
user avatar
1 vote
1 answer
114 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/...
user avatar
  • 11
1 vote
1 answer
121 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 ...
user avatar
  • 11
2 votes
0 answers
90 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 ...
user avatar
3 votes
1 answer
151 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(...
user avatar
1 vote
1 answer
146 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(...
user avatar
0 votes
1 answer
351 views

Animation of led strip with ESP32 does not work when WiFi is in use

I am using the ESP32 for a simple project. I know how to animate an led strip using atmega328p with arduino but when I animate it on the ESP32 it does not work that great. It will be nice if I can use ...
user avatar
  • 878
0 votes
0 answers
137 views

WS2812B LEDs start flickering after some time

I've built a WordClock with a NodeMcu and some ws2812b LEDs some time ago and it worked really well for like half a year but now the LEDs are starting to flicker when the WordClock runs longer than ...
user avatar
  • 41
-1 votes
1 answer
102 views

Why does my Arduino/Ledstrip combi not work?

simulate this circuit – Schematic created using CircuitLab I am using an Arduino Uno, and WS2813 led strip (60 leds). It seems like a default schematics (except I did use a 470 uF (...
user avatar
2 votes
1 answer
96 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 ...
user avatar
1 vote
1 answer
54 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 ...
user avatar
2 votes
2 answers
83 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 ...
user avatar
  • 21
0 votes
1 answer
784 views

Which libraries for DS1302 real time clock and WS2811 LED strip do not conflict?

I am making a custom wall-clock, and need the Arduino (Uno or Nano) to connect to a DS1302 real time clock module and a WS2811 LED chain. So I’m using DS1302 for the clock, and FastLED for the lights....
user avatar
  • 11
1 vote
2 answers
595 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 ...
user avatar
1 vote
0 answers
280 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 ...
user avatar
0 votes
1 answer
637 views

Control LED strip via serial monitor

I've been struggling with writing a code for Arduino UNO so that I could use my phone and change the colour of the LED strip via terminal. #include <FastLED.h> #include <SoftwareSerial.h> ...
user avatar
  • 23
2 votes
1 answer
1k 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,...
user avatar
  • 121
1 vote
0 answers
245 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 ...
user avatar
  • 111
0 votes
1 answer
104 views

Powering LED Strip at both ends shorts my psu?

I've got a 200 LEDs strip of sk9822's hooked up to a 5V 8A power supply. As expected, at full white, there's considerable voltage drop and the far end of the strip turns from white to amber. I wanted ...
user avatar
  • 109
-1 votes
1 answer
109 views

Dotstar strip goes nuts when connected to MIDI piano

I've got a Dotstar strip, a piano, and an UNO(w a usb host shield). I can get and properly translate data from the piano to the UNO, so I'm definitely getting the right information to the board. When ...
user avatar
0 votes
1 answer
2k views

ESP32 + Fastled + WS2801

I'm using the ESP32 DevkitC board with Fastlib and a WS2801 LED strip. The LED strips works fine, i connected it properly (sometimes all LEDs are on, no flickering). I Connected the light strip's ...
user avatar
  • 111
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 ...
user avatar
  • 397
3 votes
1 answer
13k 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 ...
user avatar
  • 397
1 vote
0 answers
742 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 ...
user avatar
  • 11
2 votes
2 answers
702 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(...
user avatar
1 vote
2 answers
530 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 ...
user avatar
1 vote
0 answers
577 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. ...
user avatar
0 votes
1 answer
166 views

LED strip brightness decreases when using multiple strips

Newbie question here. I have bought a 5V, 40A power supply to externally power up some LED strips (WS2812B). The Arduino Nano is powered by a standard USB wall charger (5V). So far I have tested with ...
user avatar
  • 129
0 votes
2 answers
74 views

Cycling through switch states

I'm making a desk lamp out of 2x WS2811 strips (attached to the triple ports at top right of board below). The brightness of the strips is controlled by a potentiometer, and the colour by a switch. ...
user avatar
  • 188
0 votes
1 answer
49 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 ...
user avatar
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. ...
user avatar
1 vote
2 answers
657 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 ...
user avatar
1 vote
2 answers
178 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()...
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'...
user avatar
0 votes
0 answers
315 views

Connecting multiple led strips in parallel with arduino

I am making a led panel using led strips. Each of the two led strips are 5M long containing 300 LED SMD Striplights. I have cut each of the 2 strips into many small strips of lengths of about 38 cm ...
user avatar
0 votes
1 answer
75 views

Nth-Light LED Strip power connections

Based on this question on the Adafruit forum for Nth-Light Narrow LED Flexible Strip Light (https://www.adafruit.com/product/3683) and the image below is it safe to connect from the 12v source + a ...
user avatar
  • 103
2 votes
0 answers
68 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 ...
user avatar
0 votes
1 answer
279 views

Controlling a 5m LED strip with a Nano or Uno

I'm wanting to control a 12V LED strip (5m, 60 LEDs per meter) with a Nano or Uno. I know from Adafruit that I'll need some power transistors but I'm not sure that I have the right type. I have 6 ...
user avatar
  • 188
0 votes
1 answer
60 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 ...
user avatar
  • 143