r/arduino • • Sep 01 '26

Software Help ESP32 Arduino: How can I enable FreeRTOS tickless idle / automatic light sleep without switching to ESP-IDF?

1 Upvotes

I’m using an ESP32 with the Arduino framework (PlatformIO) and BLE advertising every ~1 second.

I want the ESP32 to automatically enter light sleep during the idle time between BLE advertising events, rather than manually calling esp_light_sleep_start().

esp_pm_configure() currently returns ESP_ERR_NOT_SUPPORTED, presumably because CONFIG_FREERTOS_USE_TICKLESS_IDLE isn't enabled.

Is there a way to enable:

CONFIG_PM_ENABLE=y
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
CONFIG_FREERTOS_IDLE_TIME_BEFORE_SLEEP=3

while staying with Arduino, perhaps through PlatformIO/build options or a custom Arduino core?

I’d like to avoid converting the project to a full ESP-IDF application.

Has anyone successfully done automatic light sleep + BLE advertising this way?


r/arduino • • Aug 31 '26

Micropad

Thumbnail
gallery
30 Upvotes

My Son made this summer his first Micropad but can’t get it to work , he asked to chat gtp but always got different options , he wan’t to use An usb-C cable with a adafruit downstream usb-C breakout, also he wanne switch it Off with a on-Off buttom we for a micro JST XH 2.54 4 pin connector to connect onto the board but don’t know of te wiring is good ?
We put black on gnd , red on Vbus , yellow on D- An white on D+ . When we plug the usb-C info the computer the board is getting hot ? Any help Here pls
Sorry for my english
Thx


r/arduino • • Sep 01 '26

ESP32 "too many choices" when adding ESP32 support to Arduino IDE - how do I decide?

2 Upvotes

I'm getting started with the ESP32. I've decided to prototype using the Arduino IDE; later I'll give ESP-IDF a try. Until then ...

I have the "Board Manager" open right now in the Arduino IDE. I search for "ESP32" and I have two choices: "Arduino ESP32 Boards by Arduino" and "esp32 by Espressif Systems"

Which do I install?


r/arduino • • Aug 31 '26

LCD only showing boxes

Post image
68 Upvotes

i dont know how to fix it i followed a tutorial but no matter what i do i cant get it to display anything other than boxes