fix(led): Explicitly disable onboard WS2812 LED during CSI collection#273
Open
Mathew005 wants to merge 1 commit intoruvnet:mainfrom
Open
fix(led): Explicitly disable onboard WS2812 LED during CSI collection#273Mathew005 wants to merge 1 commit intoruvnet:mainfrom
Mathew005 wants to merge 1 commit intoruvnet:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR explicitly disables the onboard WS2812 RGB LED (NeoPixel) during CSI collection on ESP32-S3 boards.
The Problem
When compiling the esp32-csi-node firmware using ESP-IDF v5.2, the core Wi-Fi library automatically assumes control of any detected onboard NeoPixel to use as a Wi-Fi status indicator. Because CSI collection generates immense Wi-Fi traffic, this triggers the LED to shine at blinding brightness constantly, drawing unnecessary power and causing a distraction.
The Solution
Added the espressif/led_strip driver (v3.0.0+) to the project components.
Hooked into
app_main
to initialize the RMT peripheral on GPIO 38.
Explicitly command the strip to clear (0,0,0) its latched state right before the Wi-Fi station connects.
Testing
Flashed to an ESP32-S3-WROOM-1 N8R8 board.
Successfully verified the RGB LED clears to black during boot and remains off while throwing UDP CSI frames.
Verified LVGL UI elements continue compounding without interruption.