Anyone have any experience using FastLED with the ESP32?

Anyone have any experience using FastLED with the ESP32? The just released the full IDF SDK a few weeks ago but I have no luck.

Fastled doesn’t support the esp32 yet.

Is it possible to port FastLED somehow since it works with the ESP8266? What is a powerful or equivalent substitute to use in the mean time?

I will eventually port fastled to the esp32 - but all development is on hold at the moment.

How long do you think it will take? I’ve been developing a portable battery-powered, BLE-enabled LED controller to work with a smartphone. So far we have found the ESP32 to be our best case for an applicable microcontroller, unless you have any better suggestions?

Please see https://plus.google.com/112916219338292742137/posts/5h1K2DSGd9w?iem=4&gpawv=1&hl=en - there is no schedule/timeline right now (there’s a reason we pinned that post to the top or the community). For ble embedded stuff right now the nrf24 is the only platform supported by fastled. There’s also a board that’s basically an atmel 32u4 with Bluetooth as well, but I forget what it is called offhand.

You have 2 options for ESP32.

  1. I added not great but working enough support to the adafruit neopixel lib
  2. https://github.com/MartyMacGyver/ESP32-Digital-RGB-LED-Drivers
    Sadly all 3 have different APIs. For simple stuff, you could look at https://github.com/marcmerlin/Neopixel-IR which supports 4 LED libraries all with different APIs.

I saw a YouTube video demonstrating half a dozen different libraries for smart LEDs on the ESP32, I think the link was on http://ESP32.net. I’ve just got a load of these and am slowly working out how to use them :slight_smile:

@Daniel_Garcia I read the link and my sympathies, I’m sorry to hear that bud!

Now if I’m correct I believe I have looked into both the nrf24 and 32u4 platforms you mentioned. The nrf i believe requires an expensive toolchain to do anything to the circuit or program it; and the 32u4 doesn’t include a BLE unit built-in, I would have to include an extra chipset to run Bluetooth LE. Hence why I’m at the ESP32; it can do it all in one package.

Since FastLED works for the ESP8266, is it that far off to be compatible with the ESP32?

Please correct me if I’m wrong…

Sorry - meant the nrf51822 – the rfduino and red bear lab’s BLE nano both use that chipset - and they both provide ways of using the arduino ide to program the nrf51822’s - and on the contract job that I did the nrf51822 port for we just used arm-gcc, I believe nordic made the libraries available for free with registering on their site.

At the very least there’s differences in the GPIO layout which would need to be accounted for. I honestly haven’t had the time to look into it - there’s someone attempting a port, but I don’t know how far they’ve gotten with it. Then there’s also the fact that the ESP32 is dual-core, and in theory runs a small RTOS - neither of which are things that i’ve tweaked FastLED for yet.

What about the Adafruit Feather M0 Bluefruit LE? It has lots of flash/ram on the Cortex M0, and bluetooth onboard.