4 ms·
The ESP chips are barely power efficient enough to run on battery with C. Like, honestly, I'd not put anything but compiled languages without some sort of runt
by asyx 3y ago
The ESP chips are barely power efficient enough to run on battery with C.
Like, honestly, I'd not put anything but compiled languages without some sort of runtime on those chips except if I have something like "update an eink display twice a day" use cases.
- Kuinox 3y agoI'm trying to make a natural gas usage live monitoring, I reused a single use e-cig battery (that is rechargeable). From calculation it should last at least a year in deep sleep.
- jLaForest 3y ago>The ESP chips are barely power efficient enough to run on battery with C. Incorrect, Esp32-s3 uses 8 micro amps in deep sleep.
- doug_life 3y ago8uA is still large compared to some other options. I work on medical implants that average 15uA while actively sensing biological signals 24hr/day. This includes the analog front end hardware to condition the signals as well. 8uA of deep sleep current would be a non starter.
- markhahn 3y agoand your devices probably don't cost $3 on aliexpress, right?
- antoniuschan99 3y agoWow that’s amazing what components are some of those?
- fulafel 3y agoHow much does power usage of computation tend to matter in microcontroller applications? Vs "sleep" state power usage and being smart about waking up.
- brianhorakh 3y agoYou do realise that there are two architecture xtensa & RISC v. RISC v isn't as power efficient. The xtensa super low power mode can deep sleep, wake on timer or external interrupt, and (based on duty cycle) probably run for year or more on a 9v battery. Micropython is similar in performance to Arduino on esp32. Poor Async, around 10x slower than rust and much harder to do Async, etc. Possibly better for beginners, but even that won't be true in another year thanks to projects like embassy-rs Rust and C have similar compiled performance. The difference is rust Dev on esp32 is easier to target with other architectures, also rust will probably be a bit easier to detect & debug any crashes during design making it a lower cost to develop than C equivalent (because C is more permissive, it's easier to make accident mistakes)