This paper investigates the energy impact of Transport Layer Security (TLS) protocol on an ESP32-based IoT system for ambient intelligence applications. The prototype integrates inertial and electrocardiogram (ECG) sensors and transmits data over WiFi using MQTT, with and without TLS. Current consumption is profiled using an INA219 sensor under varying payload sizes (158 to 4096 bytes) and transmission intervals (1 to 600 seconds). Results show that TLS introduces negligible overhead (below 2%) on average current consumption, even under frequent transmissions and large payloads. Transmission interval remains the dominant factor shaping energy consumption. Deep Sleep mode significantly extends battery life, yielding up to 75% reduction in average current for low-duty-cycle settings. The findings provide guidance for designing secure, energy-efficient IoT systems in constrained environments.

Energy Profiling of Secure MQTT over WiFi on ESP32-Based IoT Devices

Marcello F.
Penultimo
;
Pilloni V.
Ultimo
2026-01-01

Abstract

This paper investigates the energy impact of Transport Layer Security (TLS) protocol on an ESP32-based IoT system for ambient intelligence applications. The prototype integrates inertial and electrocardiogram (ECG) sensors and transmits data over WiFi using MQTT, with and without TLS. Current consumption is profiled using an INA219 sensor under varying payload sizes (158 to 4096 bytes) and transmission intervals (1 to 600 seconds). Results show that TLS introduces negligible overhead (below 2%) on average current consumption, even under frequent transmissions and large payloads. Transmission interval remains the dominant factor shaping energy consumption. Deep Sleep mode significantly extends battery life, yielding up to 75% reduction in average current for low-duty-cycle settings. The findings provide guidance for designing secure, energy-efficient IoT systems in constrained environments.
2026
9798319542090
ESP32; MQTT; TLS; IoT; Deep Sleep; WiFi
File in questo prodotto:
File Dimensione Formato  
iris_EnergyProfilingofSecureMQTT (2).pdf

accesso aperto

Descrizione: accepted manuscript
Tipologia: versione post-print (AAM)
Dimensione 1.57 MB
Formato Adobe PDF
1.57 MB Adobe PDF Visualizza/Apri
Energy_Profiling_of_Secure_MQTT_over_WiFi_on_ESP32-Based_IoT_Devices.pdf

Solo gestori archivio

Descrizione: conference paper
Tipologia: versione editoriale (VoR)
Dimensione 1.98 MB
Formato Adobe PDF
1.98 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I metadati presenti in IRIS UNICA sono rilasciati con licenza Creative Commons CC0 1.0 Universal, mentre i file delle pubblicazioni sono protetti da diritto d'autore, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11584/494227
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex 0
social impact