Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [neopixel]

The WS2812 Integrated Light Source from Adafruit.

0
votes
1answer
18 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 ...
0
votes
1answer
26 views

20 m LED WS2811 Pixel Stripe 12 V

i need some help for my masterthesis. I plan an Light and Sound installation and for this I decided to use the shape of an Dodecahedron and I want to put LED RGB Pixel Stripes on the surfaces to light ...
0
votes
3answers
59 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 ...
1
vote
1answer
60 views

Powering Arduino Uno, CAN Crocodile and NeoPixels from Car

I have purchased a cigarette adapter that gives me 2 USB ports, however this gives me 5v and up to 2.4A. Thats ok for powering the Arduino Uno, I need 12/24v to power the CAN crocodile. I also want ...
3
votes
1answer
57 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-...
1
vote
0answers
35 views

How can I power MKR1000 and 25 NeoPixels 24hrs or longer?

I have an arduino MKR1000 which I would like to run off battery power for a few days with 1-3 dimly lit NeoPixels active. Every day for an hour there will be 10 NeoPixels active. Brightness for both ...
0
votes
0answers
40 views

Nextion controlling Neopixel

I am looking to control an addressable LED Strip (WS2812B) mode via a Nextion display. Below is a short version of my code. CODE ////////////////////////////// // LED LIGHT SHOW PRESETS // ////////...
0
votes
2answers
120 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 ...
1
vote
2answers
370 views

How to control Neopixel LEDs in parallel?

Imagine a collection of LEDs (Neopixel or otherwise) labeled 2 through 12. There may be more than 11 LEDs, so repeat numberings are allowed. I want a simple way to control them from a single Arduino ...
0
votes
1answer
161 views

Breaking out of a while loop using IR remote for neopixel

I've been piecing together various lighting effects. I am wanting to have each lighting effect loop until another button is pressed to trigger another lighting effect. I've come to a bit of ...
0
votes
0answers
124 views

Using TxD pin and NeoPixel library for RGB LEDs

I have no free pin on my ESP-12 but GPIO16 and TxD (GPIO1). I use Neo Pixel Library and this design: GPIO16 powers it on/off TxD uses to handle single-wire-based for LEDs (GPIO1) It works but it has ...
0
votes
0answers
143 views

RGB LED strip (WS2812B) won't respond to setPixelColor (Neo Pixel)

im working on a project with an 144 LED/m strip driven by an Adafruit ItsyBitsy M0 Express. To test the LED strip I connected it directly to the ItsyBitsy driving only 5 LED's. Now I'm trying to run a ...
4
votes
2answers
349 views

How to deal with unusual neopixel grid

I have built a custom installation in my home with 896 WS2812 LED driven by an ArduinoMega 2560 and powered by several rails just fine. However, the installation is arranged in a checkerboard-like ...
1
vote
3answers
1k views

Control multiple WS2812B strips with different leds count

First of all, my English is not that good so sorry if I made any mistake. I'm using the WS2812FX, an awesome WS2812 effect library base on Adafruit NeoPixel library to make a small controller for the ...
1
vote
1answer
535 views

LED strip problem… getting red when expecting white with lots of pixels. Fine with 1 pixel

I have an Arduino Uno. I bought this LED strip: https://www.amazon.com/gp/product/B019DYZNO6/ref=oh_aui_detailpage_o08_s02?ie=UTF8&psc=1 Starting initially using FastLED library. When I tried ...
0
votes
0answers
120 views

Need Help on Code involving IR Obstacle Sensor and Multiple Neopixels

Can someone please check my code for me since I am a coding no0b :( I'm working on a project involving 2 neopixels strips and an IR obstacle sensor. The first strip changes effects when the IR sensor ...
0
votes
3answers
545 views

What's a good alternative to an Arduino Nano that can be used with Neopixels?

I'm doing an arduino project in school which requires neopixels, but the Arduino's too big. Is there an arduino I can use that's compatible with neopixels? Thanks!
1
vote
1answer
529 views

(Neopixels) How to keep the pixels of the same colour despite increasing brightness?

I've been doing a fade function for the NeoPixels. However, the moment I have maximum brightness for the pixels, I noticed there 2 colours even though in my function I have only specified one colour. ...
0
votes
1answer
122 views

FastLED + structs + PROGMEM strange behavior

I'm afraid I have to post a lengthy bit of code, because I can't pinpoint what's causing my issues – in short, it appears repeatedly adding float position + float speed in a struct ends up borking the ...
2
votes
2answers
2k views

NeoPixel library performance: Adafruit vs. FastLED

I'm new to these addressable LED things – I just received a 149-LED WS2812B strip today, and I'm experimenting with various approaches. Adafruit's own tutorial says the FastLED library is faster than ...
0
votes
0answers
36 views

My arrays are possibly causing the program to not enter loop?

I'm working on a project to make a digital clock with an 8x32 ws2812 LED grid, arduino uno, and a RTC module. Everything works great separately, but when I integrate it all together the code never ...
1
vote
2answers
186 views

How can I make a rotary encoder change between neopixel programs?

I am making a program to use a rotary encoder instead of a button in the buttoncycler example in the Adafruit NeoPixel library. I am using the US Digital S1-256-250-IE-B-D. Datasheet can be found ...
4
votes
3answers
235 views

Is it possible to query (or otherwise detect) if Arduino is connected to 60 NeoPixel strip vs 144 strip?

Is there any way to have an arduino detect how many LEDs are on a connected strip? I have a 60 strip and 144 strip. The code is identical for both, aside from setting the number of LEDs in a variable ...
1
vote
3answers
72 views

How much power can a proto board handle?

I have been working on a project where I will be powering an Arduino and some LED light strips (2 x 3 Meter strips w/ 30 LEDs per meter). I am powering all of it from a 5v 10amp power supply. ...
1
vote
3answers
1k views

Function for converting milliseconds to minutes?

I'm playing around with a Neopixel strip and want to be able to enter the amount of minutes I want an LED to do something rather than in milli seconds. So for example, void loop() { colorWipe(strip....
3
votes
2answers
177 views

Neopixels with I/O expander

Because I have no pins available on my Wemos D1 mini, I want to drive my Neopixel ring from a MCP23008 I/O expander. I'm trying to run the 'simple' example from the Adafruit_neopixel library. How do ...
0
votes
1answer
289 views

ESP8266 + NeoPixel - Cannot set pixel color, I got “Exception 29: StoreProhibited”

I'm trying to use NeoPixel on the ESP8266. I made simple test put all required code into setup() and loop() methods. Then, to keep everything in order I create a class LedModule which handle the led ...
0
votes
2answers
564 views

Loop code without manually pressing the button

In a piece off code I am modifying I have a button connected to start the code and then it resets its self afterwards. Is they a way to make the arduino loop that code without manually pressing the ...
2
votes
1answer
470 views

LED strip and SD card

My problem is simple yet extremely problematic. For some reason, I cannot interact with an SD card and a LED strip at the same time with my arduino. After hours of testing multiple scripts, I am 99.99%...
1
vote
1answer
686 views

Using a potentiometer to control number of lit pixels on an NeoPixel strip

I'm working on controlling an Adafruit NeoPixel strip with an Arduino and a potentiometer. Specifically, I'm trying to use the potentiometer to control how many pixels are lit up on the strip. As I ...
0
votes
0answers
64 views

Using an Arduino Uno to program a PIC12F1571

I wanted to build my own version of the Pixie, an individually addressable LED. How do I upload code to the PIC12(L)F157X microcontroller? I think the code I want to program is this.
3
votes
1answer
52 views

What is the correct way to create large project files?

I am currently working on a 10x10 RGB LED screen (using Neopixels from Adafruit) and my project files are starting to get rather large. I have several different devices used in this project: The LED ...
1
vote
0answers
2k views

Turn on one by one the LEDs of a Neopixel rgb LEDs strip for each detection at the same distance from an Ultrasonic Distance Sensor (HC-SR04)

For this project I seek to create a counter of water glasses we drank throughout the day. I use for this an Arduino UNO card, a Piezo buzzer and a Neopixel rgb LEDs strip (5 LEDs for this test). ...
0
votes
3answers
177 views

Generating random pattern on startup

I'm trying to get an arduino to generate a random pattern in a neopixel grid every time you restart it. But I only get the same number sequence generated each time. What I'm doing wrong? Here's the ...
0
votes
1answer
1k views

5pt font for Neopixel shield

I have a 5x8 Neopixel shield for my Arduino. I want to display text on it, while it is in "landscape mode", i.e. a only 5pt high text. The default font that is used by the printcommand is 8pt high. ...
0
votes
0answers
450 views

NeoPixelClock pulsating effect

I want to make an anduino based neopixelclock pulsate while displaying time. Code: https://codeshare.io/5M8rJ2 Inspiration: http://www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/
0
votes
1answer
117 views

Why does this code not respond promptly to changes in the LDR reading?

So, I wrote some simple code like this : void setup() { strip.begin(); strip.show(); // Initialize all pixels to 'off' Serial.begin (9600); } void loop() { LDRValue = analogRead(LDRSensor); ...
1
vote
2answers
101 views

Same code in setup() and loop() give different results

As the answers to this question and this one state, setup() and loop() are identical in the way they execute code (apart from the obvious looping function of loop()). However. I get different ...
1
vote
0answers
223 views

Can I get my RGBW Neopixel strip to loop perfectly by adjusting rainbowFade2White function in strandtest? [closed]

I have been working on adjusting the code for the strandtest RGB and strandtest RGBW to get exactly what I want, which in this case is for the LED strip to transition from one color to another nicely (...
0
votes
2answers
180 views

Common/standard library and/or protocol for Arduino to be I2C slave for driving NeoPixel

I would like to control a string of WS2812/NeoPixels from a SBC like a BeagleBone or C.H.I.P. I realize someone has gone through the trouble to come up with a way to drive the WS2812 string from a ...
0
votes
1answer
285 views

NeoPixel setPixelColor works only in for loop

I am working with a NeoPixel RGB led and have gone through various tutorials but I have a question regarding the setPixelColor(). If I do not have my setPixelColor() and show() inside of a for loop ...
0
votes
2answers
163 views

neopixel not blinking

I have some neopixels, and I have one hooked up to my teensy. I want to have the color change, when the push button is pressed vs not pressed. The LED will change colour when I upload the code, if I ...
3
votes
2answers
343 views

FastLED and Neopixel Help

I'm in the process of trying to create a "Aurora Glow" effect using a Particle Photon and a Neopixel ring. I have the code fully working using a single Breadboard-friendly NeoPixel however when ...
0
votes
1answer
148 views

Applause reactivity

I'm making a pretty basic light circuit and I'd like to have it react to applause or laughter, but NOT during regular speech, amplified over speakers. I'm wondering if anyone has already made a ...
1
vote
1answer
392 views

Arduino only addresses 3 LED at a time

I am running the following sketch on an Arduino Uno using Arduino 1.6.8. Strip is a WS2811 12V. #include <Adafruit_NeoPixel.h> #define PIN 6 Adafruit_NeoPixel strip = Adafruit_NeoPixel(30, PIN, ...
0
votes
0answers
373 views

NodeMCU (LoLin) ArduinoIDE running AdaFruit_NeoPixel 30 Led Strip

I have a 30 led 2811 LED Strip. I can run the AdaFruit_NeoPixel strip test just fine using the 3.3v Ground and pin 7 on my Freetronics Arduino "Eleven" I want a smaller form factor and wifi control ...
2
votes
1answer
83 views

Neopixel Painter - Need to change few lines. Not sure where to start

My name is Maria and I'm learning programing in high school. I'm working on a birthday present for my mom, want to make a mood light. Using light painter, a neopixel strip, and an arduino. https://...
0
votes
1answer
766 views

Help me restructure code for multitasking Neopixel + IR remote + arduino

First of all, I'm completely new to both arduino, and programing. Second, as for a good newbie, i'm trying to build a fairly complicated project. So, any help and suggestion is welcome. The goal is: ...
1
vote
1answer
388 views

NeoPixel Blink/Glitch

I'm having this weird effect where my NeoPixel will blink/glitch after every cycle of a fading sketch. I'm not certain whether the issue is hardware or in my code. The blinking only occurs during the ...
0
votes
1answer
264 views

Audio Input into A0?

I saw a YouTube Video of someone who used an aux cord input into pin A0 on their Arduino to control a strip of LEDs. I have a strip of Adafruit's RGB NeoPixel LEDs, but I'm not sure how to input my ...