So, for this example, we’ll check the voltage of a battery and send it to an MQTT Broker. By having a device make its connections, send its data, and then go to sleep, you can greatly reduce the total power consumption for your IoT solution and extend battery life. Customers have used battery measurements to have end users re-orient solar panels to the South and increase power production.Ĭonnecting and maintaining a WiFi or cellular connection, an MQTT connection, and sending messages are power-intensive processes. If the battery reaches a low capacity threshold, you can reduce the measurement and transmission duty cycle or identify potential problems in the field. In solar-powered use cases, it is often important to know the current status of your battery. The RTC timer or the RTC GPIOs can wake up the chip from the Hibernation mode. Only one RTC timer on the slow clock and certain RTC GPIOs are active. Hibernation mode: The internal 8-MHz oscillator and ULP co-processor are disabled. Wi-Fi and Bluetooth connection data are stored in the RTC memory. Any wake-up events (MAC host, RTC timer, or external interrupts) will wake up the chip.ĭeep-sleep mode: Only the RTC memory and RTC peripherals are powered on. The RTC memory and RTC peripherals, as well as the ULP co-processor are running. The Wi-Fi/Bluetooth baseband and radio are disabled. Modem-sleep mode: The CPU is operational and the clock is configurable. The chip can receive, transmit, or listen. RTC below stands for “Real Time Clock” and ULP for “Ultra Low Power.”Īctive mode: The chip radio is powered on. The different sleep modes have different functions. The ESP32 Datasheet explains the different sleep modes available, and provides a great table explaining the power consumption of those different modes.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |