Questions in my project involving WS2812 LED strip, ESP32-S3, and ESP-IDF
Posted: Wed Aug 16, 2023 7:33 am
Hi there,
It might be best to explain to you what the project consists of in case you have any suggestions.
I'm a drummer in two music bands and I play with a metronome in both. My idea is to create a device that I can take to concerts, where I can select the song we're going to play, have a headphone jack to connect headphones and listen to the metronome, and at the same time, program a sequence of lights that accompany the song. These lights will be WS2812 LED strips that will go inside the bass drum and on the stage.
The idea I have for developing the project in question is that this screen ("https://www.aliexpress.com/item/1005004 ... 1802Wyh4tr"), with the integrated ESP32-S3, will be responsible for showing the specific interface or menu. Once the corresponding option is chosen, it will send the command to another ESP32-S3 which will take care of executing the sequence of lights.
Therefore, I'm currently trying to establish the connection between two ESP32s while waiting for the screen to arrive (which is supposed to be next week) and attempting to improve the code for the light sequence. Up until now, I've been using the FastLED library (although it doesn't work as well as I'd like, as trying to make a blink with an interval less than 350ms fails), but I recently started working with ESP-IDF and I can't get this library to work in this environment.
Can you recommend any library for handling the LED strip in ESP-IDF or provide an example of its use?
Thank you very much.
It might be best to explain to you what the project consists of in case you have any suggestions.
I'm a drummer in two music bands and I play with a metronome in both. My idea is to create a device that I can take to concerts, where I can select the song we're going to play, have a headphone jack to connect headphones and listen to the metronome, and at the same time, program a sequence of lights that accompany the song. These lights will be WS2812 LED strips that will go inside the bass drum and on the stage.
The idea I have for developing the project in question is that this screen ("https://www.aliexpress.com/item/1005004 ... 1802Wyh4tr"), with the integrated ESP32-S3, will be responsible for showing the specific interface or menu. Once the corresponding option is chosen, it will send the command to another ESP32-S3 which will take care of executing the sequence of lights.
Therefore, I'm currently trying to establish the connection between two ESP32s while waiting for the screen to arrive (which is supposed to be next week) and attempting to improve the code for the light sequence. Up until now, I've been using the FastLED library (although it doesn't work as well as I'd like, as trying to make a blink with an interval less than 350ms fails), but I recently started working with ESP-IDF and I can't get this library to work in this environment.
Can you recommend any library for handling the LED strip in ESP-IDF or provide an example of its use?
Thank you very much.