ESP8266-I2C-Driver
NeoPixelBus
Our great sponsors
ESP8266-I2C-Driver | NeoPixelBus | |
---|---|---|
2 | 12 | |
75 | 1,151 | |
- | - | |
1.8 | 7.9 | |
almost 3 years ago | 4 days ago | |
C++ | C++ | |
- | GNU Lesser General Public License v3.0 only |
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.
ESP8266-I2C-Driver
-
question: How can i use two MAX30102 i2c sensors with an esp8266 that have the same address?
I haven't seen anyone use that particular library with the ESP8266 yet. I've personally tried the core Wire library, the Enjoyneering library, and the brzo_i2c library. The only issue I see offhand with that Multi_Bitbang library is at line 185 in the source: it's only waiting a half bit-time for the ACK, which will fail (NACK) with any part that does clock stretching; it won't see the ACK. The I2C spec allows for slave clock stretching on any of the bits, although I've only seen stretches on the ACK bit myself with the parts I've used.
NeoPixelBus
-
Does anyone use RGBW addressable leds?
This library (and some others) supports them: https://github.com/Makuna/NeoPixelBus
-
Example: FastLED for RGBW strips (via NeoPixelBus and NPBColorLib)
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
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?
-
RGB/RGBW mix and match help!
Do you mean https://github.com/Makuna/NeoPixelBus ?
- ceiling light potential project advice
-
Help finding a Non 12E version of the 8266
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
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?
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
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?
NintendoExtensionCtrl - Arduino library for communicating with Nintendo extension controllers
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).
brzo_i2c - Brzo I2C is a fast I2C Implementation written in Assembly for the esp8266
ESPixelStick - Firmware for the ESPixelStick
Arduino - ESP8266 core for Arduino
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.
PCF8575_library - i2c 16bits digital expander with i2c digital expander for Arduino, Raspberry Pi Pico and rp2040 boards, esp32, SMT32 and ESP8266. Can read write digital values with only 2 wire. Very simple and encoder support. Uncommet NOT_SEQUENTIAL_PINOUT define to have pins like datasheet and not sequential one.
WLED-wemos-shield - Wemos D1 Mini (ESP8266) or Wemos ESP32 D1 Mini (ESP32) based universal shield for WLED firmware
ESP32_I2C_Slave - I2C slave library for ESP32
NeoPixel-Stair - Stair LedLights, using NeoPixel Ledstrips and an Arduino
Multi_BitBang - A software I2C implementation to create multiple I2C buses using GPIO lines
esp32WS2811 - Arduino library for ESP32 to drive WS2811 LEDs using the RMT peripheral