Become a leader in the IoT community!

New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!

Step 1 of 5

CREATE YOUR PROFILE *Required

Change Email
OR
Step 2 of 5

WHAT BRINGS YOU TO DEVHEADS? *Choose 1 or more

Collaboration & Work 🤝
Learn & Grow 📚
Contribute Experience & Expertise 🔧
Step 3 of 5

WHAT'S YOUR INTEREST OR EXPERTISE? *Choose 1 or more

Hardware & Design 💡
Embedded Software 💻
Edge Networking
Step 4 of 5

Personalize your profile

Step 5 of 5

Read & agree to our COMMUNITY RULES

  1. We want this server to be a welcoming space! Treat everyone with respect. Absolutely no harassment, witch hunting, sexism, racism, or hate speech will be tolerated.
  2. If you see something against the rules or something that makes you feel unsafe, let staff know by messaging @admin in the "support-tickets" tab in the Live DevChat menu.
  3. No age-restricted, obscene or NSFW content. This includes text, images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.
  4. No spam. This includes DMing fellow members.
  5. You must be over the age of 18 years old to participate in our community.
  6. Our community uses Answer Overflow to index content on the web. By posting in this channel your messages will be indexed on the worldwide web to help others find answers.
  7. You agree to our Terms of Service (https://www.devheads.io/terms-of-service/) and Privacy Policy (https://www.devheads.io/privacy-policy)
By clicking "Finish", you have read and agreed to the our Terms of Service and Privacy Policy.

High Current Draw in Deep Sleep Mode on ESP32 (12mA)

Hello @here, @umeshlokhande @superbike_z , I am using esp32 for a project. So the challenge i am having is that the system is consuming a lot of current in deep sleep mode. I used my bench power supply to power the project, I set it at 4.2v. Currently, what’s on the board is just a 3.3v regulator to power the esp32, and an LED having 5k1 resistor in series. The LED is connected to the output of the 3.3v regulator. After performing my operations, I put the ESp32 to deep sleep, but my system draws 12mA from my bench power supply. It’s way to high at deep sleep mode, have you experienced such before, what may be the challenge, is it that a peripheral does not go off?

  1. ZacckOsiemo#0000

    I think @umeshlokhande mentioned that ESP32 is bad at low power

  2. ZacckOsiemo#0000

    is it RISC-V or ARM?

  3. superbike_z#0000

    and youy have optimized freertos for power?

  4. superbike_z#0000

    are you yielding to sleep

  5. afuevu_#0000

    its RISC-V

  6. superbike_z#0000

    I don’t know much about that arch

  7. afuevu_#0000

    Hey @superbike_z , i have been able to achieve deep sleep as I want with the current consumption currently at 283uA or approximately 0.3mA. The culprit was the cp2104 USB to UART bridge, I decided to desolder the chip. I observed that while the esp32 goes to sleep, the cp2104 was active and draining that power, when desoldered the system consumes less.
    cp2104.mp4

  8. superbike_z#0000

    Ah it’s probably on to enable logging, You see in Zephyr you would have used an overlay and disabled that device in the kernel, lets talk about this at the meetup on a few cc @techielew

  9. superbike_z#0000

    @afuevu_ were you using esp idf

  10. superbike_z#0000

    I’d expect a configuration value to disabple that peripheral

  11. superbike_z#0000

    maybe even just disable the clock going to it

  12. afuevu_#0000

    Yes I am using esp idf

  13. superbike_z#0000

    but it might be very hidden

CONTRIBUTE TO THIS THREAD

Browse other questions tagged