Skip to content

Showcase: reducing ESP32 power usage by 40% without sleeping #8876

Description

@phaseloop

Platform

ESP32

Description

With few bluetooth timing tweaks and migrating to ESP-IDF V5.5 we can cut ESP32 node power usage down to 60 mA and later to 50 mA with some FreeRTOS tweaks.

This requires migrating to pioarduino because PlatformIO refuses to support newer arduino-esp32 3.x versions and we are forced to use ancient and buggy ESP-IDF versions.

This is already done for C6 variants. Nothing crazy with adapting codebase to Arudino 3.x framework - mostly using different ADC mode for battery status.

I did an experiment on my branch with some quick migration hacks and BLE timing changes.

Result below - Heltec V3 before and after, BLE enabled and phone connected.

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions