IoT on an ESP32: Optimization Methods Regarding Battery Life and Write Speed to an SD-Card
Authors:
- Lukas M. BroellLBLukas M. Broell
- Christian HanshansCHChristian Hanshans
- Dominik KimmerleDKDominik Kimmerle
Open Access
- 2 August 2023
- book chapter
- Published by IntechOpen
Abstract
The ESP32 is a popular microcontroller for IoT use cases. For many IoT applications (e.g., environmental sensors or wearables), a continuous power supply is either not possible or too cumbersome, requiring battery operation. However, the ESP32 has a relatively high power consumption. This chapter focuses on battery life optimization methods for this family of microcontrollers. For scenarios where data logging is relevant, methods for increasing communication speed in relation to power consumption are examined in detail. Measurements of seven different commercially available development boards were evaluated in terms of sleep modes, reduced CPU frequencies, and serial communications with the goal of better power efficiency. Therefore, the common scenario of data logging was compared with the performance and power consumption when communicating with different SD cards and CPU frequencies via the SPI and SD bus. Our test results showed that peripheral components (such as voltage regulators) have a large impact on the power consumption of the ESP32 microcontrollers, especially in sleep mode. For data logging, higher clock rates combined with high-quality SD cards and using the SD bus in 4-bit mode resulted in the lowest battery discharge.Keywords
This publication has 11 references indexed in Scilit:
- Movement filtered heart rate variability (HRV) data from a chest-worn sensorCurrent Directions in Biomedical Engineering, 2021
- Development of Bioimpedance Sensors and Measurement System for Biomedical In-Vitro ApplicationsCurrent Directions in Biomedical Engineering, 2021
- Virtual Therapeutics – Requirements to deliver value with virtual reality and biofeedback applications for alcohol addiction therapyCurrent Directions in Biomedical Engineering, 2021
- Development and Implementation of an OpenSource IoT Platform, Network and Data Warehouse for Privacy-Compliant Applications in Research and IndustryCurrent Directions in Biomedical Engineering, 2021
- A systematic literature review on prototyping with Arduino: Applications, challenges, advantages, and limitationsComputer Science Review, 2021
- Optimising SD Saving Events to Maximise Battery Lifetime for Arduino™/Atmega328P Data LoggersIEEE Access, 2020
- Concept of Energy Efficient ESP32 Chip for Industrial Wireless Sensor Network2020
- Toward energy efficient microcontrollers and Internet-of-Things systemsComputers and Electrical Engineering, 2019
- Wearable Devices in Medical Internet of Things: Scientific Research and Commercially Available DevicesHealthcare Informatics Research, 2017
- Energieeffizienz von Mikroprozessoren2011