Questions tagged [neopixel]
The WS2812 Integrated Light Source from Adafruit.
103 questions
0
votes
1
answer
191
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 ...
-1
votes
2
answers
228
views
Adafruit_NeoMatrix / Adafruit_GFX / Print class - how does printing text work here
I am entirely new to Arduino and have not coded in C/C++ for quite a few years. I'm looking through a NeoMatrix library which extends upon NeoPixel class. That class extends Adafruit_GFX class which ...
1
vote
1
answer
702
views
strip.clear() is not clearing/turning off the NeoPixel strip after resetting the ESP8266
In the code below which is running on a WEMOS D1 (ESP8266), a NeoPixel strip turns on 1 LED in red which moves left to right and then right to left whilst the board attempts to connect to Wi-Fi in the ...
1
vote
1
answer
188
views
WS2812b - Interpolate pixels on neopixel matrix with mask
simplified my goal is to display a transitional Background and some shapes. This shapes are not moving hard rasterized by 1 pixel, more like .1 each cycle. So I need a way to interpolate the movement ...
-1
votes
1
answer
248
views
Multiple if else statements for distance-triggered LEDs
I have a sketch that calculates simple distance from the device to the nearest preset GPS coordinate (there are 3 in total) and I would like to have LEDs in the neopixel strip light up according to ...
2
votes
0
answers
501
views
Using both FastLED and Webserver without glitches possible?
I'm using an ESP8266 to control a short strip of WS2812 LEDs. I also want some way of remote Control so I'm looking into using a Web UI with the ESPAsyncWebServer library.
However using that Webserver ...
0
votes
1
answer
3k
views
How to smooth transition to another color NEOPIXELS
I am working on a led strip project and was looking for ways to smooth transition from color to another. Problem is my current method is not so good.
#include <Adafruit_NeoPixel.h>
#define ...
0
votes
1
answer
227
views
Modifying the neopixel rainbow function to work with 4pins
So my setup is i have strips that is separated into 4 pins and would like to modify this rainbow function from the neopixel so that it will work on 4 separate strip that are on 4 separate pins. I ...
0
votes
1
answer
346
views
How can I make my code Thread-Safe?
So I made a post yesterday running into an issue on my ESP32 using both cores on the microcontroller (with wifi enabled, incase that is important).
I'm using both cores to control two Neopixel strips ...
1
vote
0
answers
160
views
How to use 5v and 12v addressable led strip together
Hi guys I’m new to this forum and also not much experience about led lights question already asked but didn’t get any detailed answer I want to know can I provide working data signal to 2 different 5v ...
1
vote
0
answers
352
views
two adafruit neopixel loops
i'm making a device that's kind of based on Russian roulette.
I have 5 LED's that are normally white, and when you press the button one of the LED's is marked red.
After some tinkering I figured out ...
1
vote
0
answers
967
views
Unexpected and incorrect HEX codes coming from IR remote, but only in second function..?
Hello:) I'm working on a lil project with some NeoPixels being controlled by an IR remote, and with there being multiple strips, I felt it would be best to first select the desired strip, and then the ...
0
votes
5
answers
628
views
Reading from EEPROM and writing to addressable LED with limited connections
UPDATE
Clock speed code has been tweaked as per the suggestion from @timemage due to inability for Wire library to reduce to below 30304Hz. Unfortunately problems still persist:
Nothing printed out to ...
1
vote
1
answer
132
views
How can I operate the leds and neopixel strips together (at the same time)?
Here's the code I wrote:
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h> // Required for 16 MHz Adafruit Trinket
#endif
int latchPin = 8;
int clockPin = 12;
int ...
0
votes
1
answer
1k
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 ...