{"id":1491,"date":"2020-04-21T09:35:54","date_gmt":"2020-04-21T09:35:54","guid":{"rendered":"http:\/\/stage.wizzdev.pl\/?p=1491"},"modified":"2022-03-10T14:58:40","modified_gmt":"2022-03-10T14:58:40","slug":"power-management-for-iot-mcus","status":"publish","type":"post","link":"https:\/\/stage2.wizzdev.pl\/blog\/power-management-for-iot-mcus\/","title":{"rendered":"Power management for IoT MCUs"},"content":{"rendered":"

IoT is more and more popular in all sectors of society. Smart home appliances, smart factories, and smart cities all rely on data gathered by thousands of tiny devices scattered around the sites. These devices need to work for long periods of time, maintenance-free, often in remote or inaccessible locations. It is difficult to provide power for a fleet of thousands of devices, this is why a lot of them rely only on battery power – without access to the electrical grid. This article aims to showcase how do IoT devices manage to stay powered for months or even years at a time. We have chosen an Espressif ESP32 MCU as our platform, as it is well suited for the job, and has WiFi radio build in.<\/span><\/p>\n\n

Where is the power going?\u00a0<\/span><\/h2>\n

An IoT device usually consists of a microprocessor, radio transceiver or some kind of wired communication interface, sensor suite and sometimes actuator assembly. For this article, we will assume, the device consists of the ESP32 MCU with a DHT22 temperature and humidity sensor, so no actuators are present. We are going to update our gathered data to the internet via a WiFi link, and the available Bluetooth interface is going to remain disabled..\u00a0\u00a0<\/span><\/p>\n

The ESP32 MCU consists of several modules hidden inside the enclosure. The main components of the MCU are:<\/span><\/p>\n