Questions tagged [neopixel]

The WS2812 Integrated Light Source from Adafruit.

NeoPixels are the common name for Adafruit's implementation of WS2812 Integrated Light Source. They refer to simple, scalable and affordable full-color Light Emitting Diodes (LEDs).

Red, green and blue LEDs are integrated alongside a driver chip into a tiny surface-mount package controlled through a single wire.

They can be used individually, chained into longer strings or assembled into still more interesting form-factors.

102 questions
5
votes
3 answers

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 to iterate over.
producerism
  • 153
  • 4
4
votes
2 answers

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 their Adafruit_NeoPixel library, so I wanted to…
Bogdan Stăncescu
  • 145
  • 1
  • 1
  • 5
4
votes
5 answers

Is it possible to infer the length of a neopixel string using 1-wire protocol?

I'have been looking at the AdaFruit NeoPixels recently and am trying to understand how the addressing scheme works. All of the examples I've seen explicitly identify the length of the string (number of neopixel units) and are typically set using an…
Dave G
  • 155
  • 6
3
votes
1 answer

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-then-else statements. Here is some sample code. //…
Bkukuk62
  • 57
  • 5
3
votes
2 answers

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 upgrading this to a NeoPixel Ring (16 LED) the code…
4dogsofwar
  • 31
  • 2
1
vote
1 answer

Having trouble assigning colour to my neopixels

Hi I was wondering if someone is able to help me! I am currently trying to get a strip of 10 neopixels to change colour. I want to be able to code a random neopixel in the strip to change to either red, blue, green and yellow consecutively after 2…
1
vote
1 answer

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 #define PIN 6 Adafruit_NeoPixel strip = Adafruit_NeoPixel(30, PIN, NEO_GRB + NEO_KHZ800); void setup() { …
Brian
  • 11
  • 1
1
vote
1 answer

Loop though array values at end of each for loop cycle

I'm using the NeoPixel Ring from Adafruit and trying to pulse though and array of colors. However, I'm having trouble with having the loop go to the next color at the end of each pulse (end of loop). Here is what I currently have: uint32_t color[] =…
Brooke.
  • 115
  • 1
  • 6
0
votes
1 answer

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 #define LED_PIN 25 #define LED_COUNT 60 #define BRIGHTNESS…
DrakeJest
  • 229
  • 2
  • 10
0
votes
1 answer

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 would like to look like strip number 2 is a…
DrakeJest
  • 229
  • 2
  • 10