Questions tagged [led-strip]
The led-strip tag has no summary.
87 questions
-1
votes
1
answer
101
views
Looking for a library to operate LEDs using FastLED via serial communication from another device running Python
I have an LED display connected to a Teensy microcontroller using the FastLED library, which is connected to a Raspberry Pi Zero running Python via a USB hub.
I am looking for an existing library that ...
-1
votes
2
answers
137
views
My LED light strip won't turn off
/*
* when it's bright the lights will turn off
* when it's dark the lights will glow blue and green
* when it is in between, the lights will turn red
*/
#include <Adafruit_NeoPixel.h>
#...
0
votes
1
answer
197
views
Controlling UCS2904 LED flood with Neopixel library
I'm attempting to control one of these UCS2904 floodlights using the Neopixel library; according to the chip documentation it uses 800khz and RGBW ordering, both of which are set in my Arduino code ...
0
votes
2
answers
162
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 ...
0
votes
1
answer
131
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
1
answer
150
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
78
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
218
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
487
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
vote
0
answers
255
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
281
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
473
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
2k
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
37
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
188
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 ...