Questions tagged [led-strip]
The led-strip tag has no usage guidance.
84
questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
-1
votes
1
answer
1k
views
MIDI keyboard controlled LED strip
My objective is to light a led on a strip corresponding to a keyboard note.
I have Arduino Uno with MIDI in module hooked up to a serial port. Piano is hooked with a standart midi cable, Led Strip is ...
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 ...
-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/...
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 ...
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]...
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 ...
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 ...
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 ...
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 ...
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,...
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 ...
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 ...
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 ...
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 ...
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 <...
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 ...
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/...
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 ...
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 ...
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 ...
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(...
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(...
1
vote
1
answer
313
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 ...
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 ...
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 ...
-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 (...
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 ...
0
votes
1
answer
90
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 ...
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 ...
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....
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 ...
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,...
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>
...
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 ...
-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 ...
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 ...
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:
...
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 ...
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 ...
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(...
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 ...
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 ...