Adafruit_NeoPixel VS NeoPixelBus

Compare Adafruit_NeoPixel vs NeoPixelBus and see what are their differences.

Adafruit_NeoPixel

Arduino library for controlling single-wire LED pixels (NeoPixel, WS2812, etc.) (by adafruit)

NeoPixelBus

An Arduino NeoPixel support library supporting a large variety of individually addressable LEDs. Please refer to the Wiki for more details. Please use the GitHub Discussions to ask questions as the GitHub Issues feature is used for bug tracking. (by Makuna)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Adafruit_NeoPixel NeoPixelBus
16 12
2,990 1,151
0.7% -
4.1 7.9
7 days ago 11 days ago
C++ C++
GNU Lesser General Public License v3.0 only GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Adafruit_NeoPixel

Posts with mentions or reviews of Adafruit_NeoPixel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-03.
  • BIQU B1 Marlin 2.1.2 NEOPIXEL not working properly
    1 project | /r/BIGTREETECH | 14 May 2023
    // Support for Adafruit NeoPixel LED driver #define NEOPIXEL_LED #if ENABLED(NEOPIXEL_LED) #define NEOPIXEL_TYPE NEO_GRB // NEO_GRBW, NEO_RGBW, NEO_GRB, NEO_RBG, etc. // See https://github.com/adafruit/Adafruit_NeoPixel/blob/master/Adafruit_NeoPixel.h //#define NEOPIXEL_PIN 4 // LED driving pin //#define NEOPIXEL2_TYPE NEOPIXEL_TYPE //#define NEOPIXEL2_PIN 5 #define NEOPIXEL_PIXELS 2 // Number of LEDs in the strip. (Longest strip when NEOPIXEL2_SEPARATE is disabled.) //#define NEOPIXEL_IS_SEQUENTIAL // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once. #define NEOPIXEL_BRIGHTNESS 255 // Initial brightness (0-255) #define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup // Support for second Adafruit NeoPixel LED driver controlled with M150 S1 ... //#define NEOPIXEL2_SEPARATE #if ENABLED(NEOPIXEL2_SEPARATE) #define NEOPIXEL2_PIXELS 15 // Number of LEDs in the second strip #define NEOPIXEL2_BRIGHTNESS 127 // Initial brightness (0-255) #define NEOPIXEL2_STARTUP_TEST // Cycle through colors at startup #define NEOPIXEL_M150_DEFAULT -1 // Default strip for M150 without 'S'. Use -1 to set all by default. #else //#define NEOPIXEL2_INSERIES // Default behavior is NeoPixel 2 in parallel #endif // Use some of the NeoPixel LEDs for static (background) lighting //#define NEOPIXEL_BKGD_INDEX_FIRST 0 // Index of the first background LED //#define NEOPIXEL_BKGD_INDEX_LAST 5 // Index of the last background LED //#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W //#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off #endif
  • RGB calibrate gives me magenta, cyan, yellow
    2 projects | /r/FastLED | 3 May 2023
    neopixel code is the strandtest: https://github.com/adafruit/Adafruit_NeoPixel/blob/master/examples/strandtest/strandtest.ino
  • Can someone tell me how i can turn on the LED
    1 project | /r/arduino | 23 Feb 2023
    Lookup NeoPixel library
  • FYSETC Mini 12864 v2.1 (RGB) + Octopus v1.1 + Marlin 2.1.x
    1 project | /r/3Dprinting | 21 Jan 2023
  • Building an Array of "nop" write commands
    2 projects | /r/arduino | 12 Jan 2023
    adafruit/Adafruit_NeoPixel has assembly code for AVR. Plus ESP and Rpi which are a lot easier to read. And the protocol does look like inverted WS2812; it should be possible, although tedious, to modify the library to invert the pin.
  • What is causing a delay in my loop?
    1 project | /r/arduino | 5 Jan 2023
    I looked at the neopixel github and I couldn't find any functions that took floats as arguments, so I think you can get away without using floats because they're reinterpreted as ints and truncated anyway, but if what you have works then don't bother.
  • RGB/RGBW mix and match help!
    2 projects | /r/FastLED | 7 Jul 2022
    I'm not sure if that is the same thing. Back when I used it I got it from Adafruit which links to this Github.
  • NeoPixels on the Arduino Nano RP2040
    1 project | dev.to | 18 Apr 2022
    The most important question first, the Adafruit NeoPixel Library does support the RP2040 since version 1.10.2. So make sure you are using the right version. To install the library please follow the steps explained here: Adafruit NeoPixel Installation.
  • Neopixels: ultra-low RAM
    1 project | /r/arduino | 8 Feb 2022
    The Adafruit Neopixel library is great, but uses 3 bytes of RAM per pixel....in my application that's nearly 3kB (for the pixels alone!), which rules out the M328/Uno, and basically all of the 8-bit chips. I have a prototype running well using Adafruit's Neopixel library on a Mega 2560, but those are hard to source in the current market. And it's overkill for my use case.
  • Is it possible to program a 5mm neopixel LED in a way where one switch turns it on, and then the activation of another switch changes the color?
    1 project | /r/adafruit | 29 Oct 2021
    Using something like the Adafruit NeoPixel library there are commands to set intensity and to set color: setBrightness() setPixelColor()

NeoPixelBus

Posts with mentions or reviews of NeoPixelBus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-21.
  • Does anyone use RGBW addressable leds?
    1 project | /r/arduino | 10 Dec 2023
    This library (and some others) supports them: https://github.com/Makuna/NeoPixelBus
  • Example: FastLED for RGBW strips (via NeoPixelBus and NPBColorLib)
    3 projects | /r/FastLED | 21 Oct 2022
    FastLED doesn't natively support RGBW addressable strips as of version 3.5.0 (October 2022). The alternate library NeoPixelBus does support RGBW strips, but handles animation in a completely different way than FastLED does.This snippet is an example of a way to shuttle data from FastLED RGB to NeoPixelBus RGBW, for folks (like me!) who prefer creating animations with FastLED.The additional library NPBColorLib is needed because NeoPixelBus doesn't (currently) use the white channel when converting RGB to RGBW -- see https://github.com/Makuna/NeoPixelBus/issues/323Tested with:FastLED, version 3.5.0 from https://github.com/FastLED/FastLEDNeoPixelBus, version 2.7.0 from https://github.com/Makuna/NeoPixelBusNPBColorLib, updated 2020-05-29 from https://github.com/jackjansen/NPBColorLib
  • Lots of issues with NodeMCU and led libraries
    2 projects | /r/esp8266 | 17 Aug 2022
    I know it sounds insane, but it was an example script and I had issues with other example scripts too. Here's the example: https://github.com/Makuna/NeoPixelBus/blob/master/examples/NeoPixelBrightness/NeoPixelBrightness.ino
  • How do you measure the task switching rate inside the kernel?
    1 project | /r/esp32 | 27 Jul 2022
  • RGB/RGBW mix and match help!
    2 projects | /r/FastLED | 7 Jul 2022
    Do you mean https://github.com/Makuna/NeoPixelBus ?
  • ceiling light potential project advice
    1 project | /r/arduino | 13 May 2022
  • Help finding a Non 12E version of the 8266
    4 projects | /r/esp8266 | 4 Mar 2022
    One of the issues I ran into with LED chains (not the same kind of setup as this) was that some of the data pins on ESP8266 support hardware PWM and some don't. The LED library I used automatically did software PWM / bit-banging on the later pins. This bogged down the processor enough to make the wifi & IR-reception flakey when the number of LEDs was too high. https://github.com/Makuna/NeoPixelBus/wiki/ESP8266-NeoMethods has a bit on that - essentially only GPIO 1,2,3 support non-bit-banging. Depending on the board, you'll have different GPIO pins in different places, and some perhaps not available at all. I don't know how this LED panel is controlled, my guess is that some of the control pins need to be at high resolution, and that using hardware for that as much as possible will reduce the overhead needed, making it all run smoother.
  • Fastled Alternative for RGBW led strips
    2 projects | /r/led | 13 Feb 2022
    That said, if you need RGBW support right now you could look at NeoPixelBus. It has very few of the capabilities of FastLED though...
  • Best RGBW conversion method?
    1 project | /r/FastLED | 9 Feb 2022
    Have you also tried Makuna's Neopixelbus for pushing out the RGBW pixels? Same thing with slower framerate?
  • PCB/Schematic Review - ESP-12E LED Controller
    1 project | /r/PrintedCircuitBoard | 8 Jan 2022
    Double-check that the outputs you chose will work for WLED (all of them will need "bit-banging" to generate the signal, which takes a bit of processing power - GPIO1,2,3 would be able to generate the signal directly). If you have a dev-board, this should be easy to check.

What are some alternatives?

When comparing Adafruit_NeoPixel and NeoPixelBus you can also consider the following projects:

kmk_firmware - Clackety Keyboards Powered by Python

HyperHDR - Highly optimized open source ambient lighting implementation based on modern digital video and audio stream analysis for Windows, macOS and Linux (x86 and Raspberry Pi / ARM).

qmk_firmware - See the "forkreadme" branch or the following link for a description of branches maintained in this fork.

ESPixelStick - Firmware for the ESPixelStick

Adafruit_SH110x - Arduino library for SH110x based monochrome OLEDs

FastLED - The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github "issues" just for tracking library bugs / enhancements.

TelnetStream - Arduino Stream implementation over Telnet for OTA logging and debugging

WLED-wemos-shield - Wemos D1 Mini (ESP8266) or Wemos ESP32 D1 Mini (ESP32) based universal shield for WLED firmware

NeoPixel-Stair - Stair LedLights, using NeoPixel Ledstrips and an Arduino

ArcticKiwii-Pegboard-Lights - A multi-pattern led strip w/ potentiometers for hue/brightness and a button.

esp32WS2811 - Arduino library for ESP32 to drive WS2811 LEDs using the RMT peripheral