Click here to Skip to main content
15,887,401 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: QA OP comment of the year Pin
honey the codewitch16-Nov-20 3:54
mvahoney the codewitch16-Nov-20 3:54 
GeneralRe: QA OP comment of the year Pin
Sander Rossel16-Nov-20 4:00
professionalSander Rossel16-Nov-20 4:00 
GeneralRe: QA OP comment of the year Pin
honey the codewitch16-Nov-20 4:04
mvahoney the codewitch16-Nov-20 4:04 
GeneralRe: QA OP comment of the year Pin
Sander Rossel16-Nov-20 4:29
professionalSander Rossel16-Nov-20 4:29 
Generalnearly six years later life throws me a bone Pin
BillWoodruff15-Nov-20 16:16
professionalBillWoodruff15-Nov-20 16:16 
GeneralRe: nearly six years later life throws me a bone Pin
Super Lloyd15-Nov-20 18:13
Super Lloyd15-Nov-20 18:13 
GeneralRe: nearly six years later life throws me a bone Pin
OriginalGriff15-Nov-20 22:57
mveOriginalGriff15-Nov-20 22:57 
RantWhat in the heck? When power saving goes wrong. Pin
honey the codewitch15-Nov-20 13:24
mvahoney the codewitch15-Nov-20 13:24 
The ESP32 IoT SoC has great CPU power saving capabilities including a deep sleep mode which can take as few as 20uA according to the documentation. It's on a development board with LEDs, voltage regulators and whatever else so it draws quite a bit more than that in practice, but still it sips power in sleep mode.

Furthermore even while awoken the chip can run at different frequencies which you can set in software. As low as 2Mhz although in practice 80MhZ is the happiest "slow" speed and 240mhz is the max.

However, when I try to set the CPU frequency to a low setting the power use increases dramatically. I think by default it's 160mhz. Anyway:

without setting the CPU Freq:
goes from 2.5mA sleeping to 6.8mA when the CPU wakes to 9.3mA when the radio engages

with setting the CPU Freq to 80Mhz
goes from 2.5mA sleeping to 39mA when the CPU wakes to 42mA when the radio engages!

This is unacceptable and completely surprising. Looking at the espressif forums suggests their CPU change code is experimental but why even put it in if this is the result?
Real programmers use butterflies

GeneralRe: What in the heck? When power saving goes wrong. Pin
Rick York15-Nov-20 15:15
mveRick York15-Nov-20 15:15 
GeneralRe: What in the heck? When power saving goes wrong. Pin
honey the codewitch15-Nov-20 16:52
mvahoney the codewitch15-Nov-20 16:52 
GeneralRe: What in the heck? When power saving goes wrong. Pin
BillWoodruff15-Nov-20 16:33
professionalBillWoodruff15-Nov-20 16:33 
GeneralRe: What in the heck? When power saving goes wrong. Pin
honey the codewitch15-Nov-20 16:47
mvahoney the codewitch15-Nov-20 16:47 
GeneralRe: What in the heck? When power saving goes wrong. Pin
BillWoodruff15-Nov-20 17:43
professionalBillWoodruff15-Nov-20 17:43 
GeneralRe: What in the heck? When power saving goes wrong. Pin
Peter_in_278015-Nov-20 17:27
professionalPeter_in_278015-Nov-20 17:27 
GeneralRe: What in the heck? When power saving goes wrong. Pin
honey the codewitch15-Nov-20 17:48
mvahoney the codewitch15-Nov-20 17:48 
GeneralRe: What in the heck? When power saving goes wrong. Pin
CPallini15-Nov-20 20:20
mveCPallini15-Nov-20 20:20 
GeneralFun with Outlook Pin
Richard Andrew x6415-Nov-20 13:06
professionalRichard Andrew x6415-Nov-20 13:06 
GeneralRe: Fun with Outlook Pin
Kent Sharkey15-Nov-20 13:26
staffKent Sharkey15-Nov-20 13:26 
GeneralRe: Fun with Outlook Pin
David O'Neil15-Nov-20 13:48
professionalDavid O'Neil15-Nov-20 13:48 
QuestionFun with DNS Pin
kmoorevs15-Nov-20 10:35
kmoorevs15-Nov-20 10:35 
AnswerRe: Fun with DNS Pin
DRHuff15-Nov-20 17:25
DRHuff15-Nov-20 17:25 
GeneralEveryone, thanks again for your replies in my post Pin
User 1493685315-Nov-20 8:18
User 1493685315-Nov-20 8:18 
GeneralRe: Everyone, thanks again for your replies in my post Pin
User 1106097915-Nov-20 8:32
User 1106097915-Nov-20 8:32 
GeneralRe: Everyone, thanks again for your replies in my post Pin
User 1493685315-Nov-20 10:57
User 1493685315-Nov-20 10:57 
GeneralLost in the woods Pin
RickZeeland15-Nov-20 1:30
mveRickZeeland15-Nov-20 1:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.