Questions tagged [led-strip]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
46 views

Why is my LED strip value always equal to 255 on my potentiometer?

I'm pretty new to Arduino and this is my first project I'm working on and I'm really struggling with why my code isn't working properly. The LED strip should be able to adjust the colour with one ...
user92341's user avatar
0 votes
1 answer
57 views

Addressable LEDs using SM16704

I've been asked to interface with some LED strips that use SM16704 pixel chips. A site search here doesn't show any mentions of this chip, so I wonder if anyone knows if they're compatible with the ...
Jim Mack's user avatar
  • 237
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
1 vote
0 answers
52 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
1 answer
120 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
0 votes
1 answer
226 views

Simple FastLED sketch that crashes when led strip is long but not when its shorter

I have a pretty simple sketch that crashes, and crashes hard (Platform.io console says "Disconnected (read failed: [Errno 6] Device not configured)" and I need to power off/on the Arduino to ...
PaulM's user avatar
  • 111
1 vote
0 answers
186 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
-2 votes
1 answer
62 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/...
Ellie S's user avatar
0 votes
1 answer
177 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
1k 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
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
1 vote
0 answers
135 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
0 votes
1 answer
707 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,...
emma.makes's user avatar
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
67 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
0 votes
1 answer
1k 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 <...
Matias Andina's user avatar
0 votes
1 answer
724 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 ...
DreamingInsanity'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
301 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
2 votes
0 answers
198 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
3 votes
1 answer
260 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
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
0 votes
1 answer
604 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 ...
Tono Nam's user avatar
  • 938
0 votes
0 answers
255 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 ...
Janik's user avatar
  • 41
-1 votes
1 answer
150 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 (...
Michel Keijzers'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
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
0 votes
1 answer
2k 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....
Lee's user avatar
  • 11
1 vote
2 answers
956 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
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
0 votes
1 answer
1k 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> ...
Janar's user avatar
  • 23
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
1 vote
0 answers
340 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
0 votes
1 answer
117 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 ...
House3272's user avatar
  • 109
-1 votes
1 answer
122 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 ...
skapunk1806's user avatar
0 votes
1 answer
3k 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 ...
Fuxi's user avatar
  • 111
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
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
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
2 votes
2 answers
806 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
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
0 answers
959 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
0 votes
1 answer
196 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 ...
Araw's user avatar
  • 139
0 votes
2 answers
100 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. ...
Jim421616's user avatar
  • 188
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
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
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
1 vote
2 answers
258 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