Questions tagged [neopixel]
The WS2812 Integrated Light Source from Adafruit.
103 questions
0
votes
1
answer
194
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
vote
1
answer
716
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
votes
1
answer
249
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 ...
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
349
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
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 ...
0
votes
5
answers
633
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 ...
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 ...
1
vote
1
answer
615
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 ...
0
votes
0
answers
331
views
WS2812B NeoPixels no longer working after cutting the strip and adding an extension
I am trying to use WS2812B LEDs with an Arduino.
I have 24 LEDs connected to pin 6.
When I first received the strip I connected it to 12V and data.
Using the cyclone example in the FastLED library ...
1
vote
0
answers
286
views
Atmega 2560 IR receiver returning random values with using NeoPixels
I am using atmega 2560 to control 590 LED lights with NeoPixels library.
I also got an IR receiver connected so I could control the LED properties and it does work but only when the LEDs are not ...
0
votes
1
answer
1k
views
NeoPixel Gradient sweep function
I'm trying to create a function that takes two colours and creates a smooth gradient between them one colour at the beginning and one at the end
I just can't figure the math of mixing them evenly
I'...
0
votes
1
answer
715
views
Error compiling for board Arduino Uno
I am relatively new to Arduino and I am trying to code some neo pixels and every time I try to verify my code this error comes up:
Arduino: 1.8.12 (Mac OS X), Board: "Arduino Uno"
loading ...
1
vote
0
answers
440
views
Freezing ESP8266 after 4-8h
Build my own 'Artnet to WS2812b Neopixel' boxes for lighting in a club. Working fine. I have 20 stripes with 50 pxls each. One ESP8266(NodeMCU) is feeding 6 stripes, so it gets 2 DMX universes via ...
-1
votes
1
answer
430
views
Neopixel code not working on Adafruit Feather board
I have connected a single neopixel to my Adafruit Feather board, running Arduino software.
The power pin is connected to 3V on the Feather. The data-in pin is connected to pin 15 on the Feather.
As ...
0
votes
2
answers
180
views
NeoMatrix Button Troubles
I am creating a 20x15 LED Matrix using and Arduino Nano. My goal is to switch between different "scenes," if you will, using 4 buttons (I just need to run different code to make it display something ...
2
votes
2
answers
915
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(...
0
votes
1
answer
855
views
Blink Adafruit_NeoPixel
I wish to blink all the strip. In the code below it just blink the first LED, how can I fix it?
Code:
#include <Adafruit_NeoPixel.h>
#define PIN 6
#define NUM_LEDS 24
Adafruit_NeoPixel strip = ...
2
votes
1
answer
562
views
Run light sequence function continuously in if statement
My goal - run light sequence function on momentary button press (button 2) continuously until another of the 3 momentary buttons are pressed.
/* switch
*
* Each time the input pin goes ...
0
votes
1
answer
162
views
Looking for some help with an RGB LED animation
I'm working on a project that is running off of a Sparkfun Pro Micro 5V. I'm trying to accomplish a color rainbow cycle animation which will have a function when triggered to fade the rainbow to black ...
1
vote
0
answers
172
views
How can if resolve this conflict between matrix keypad library and neopixel library?
I'm trying to use a 4x3 matrix keypad as a user interface to control parameters of a Neopixel strip control program.
I'm using Adafruit's Neopixel library and This Keypad library.
Both work fine on ...
0
votes
1
answer
108
views
How do you remove dependencies from a library?
I'm writing a library for a project i created, but it depends on the Neopixel library from adafruit. I want to remove this dependency and have my library be a stand-alone library.
Is there a way to ...
2
votes
4
answers
4k
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 by a 5.26 V PC power supply.
The problem is that the first pixel ...
3
votes
1
answer
549
views
Simplify if then else statements for Neopixel/compass project
I am working on a project where a rotary encoder is generating 0 - 359° output and I am feeding that to a 60 Neopixel ring but I need a way to simplify or come up with a better way of a bunch of if-...
0
votes
2
answers
821
views
Arduino Switching Between Loops IR Remote
I've been working on an LED strip project. However, I've come to a stand still at the moment. Within the program I am wanting to assign different lighting effects to each button on my IR remote. I am ...