Federated Learning Based Intrusion Detection System for IoT Devices using Dual ESP32 Nodes

Internet of Things (IoT) devices are being deployed in access-control, building-automation and remote-monitoring systems, yet most of them have very limited processing and memory resources, and sending all raw sensor data to a central server adds communication overhead and privacy concerns. This paper presents a low-cost prototype of a Federated Learning Based Intrusion Detection System (FL-IDS) built on two ESP32 development boards. ESP32 #1 acts as a local Wi-Fi access point, web-dashboard host and federated-learning coordinator. ESP32 #2 acts as the sensing and local-learning node and interfaces with an MFRC522 RFID reader, a PIR motion sensor, status LEDs, a buzzer, an I2C LCD and a servo-operated gate. The two boards exchange events and model parameters over UART. A logistic-regression model with three event features (recent unauthorised RFID activity, motion while security is enabled, and a combined indicator) is trained on the sensor node; its weights and bias are sent to the coordinator, aggregated, returned as global parameters, validated and applied. A browser dashboard provides login, security control, connected-station monitoring and five rule-based suspicious-activity indicators. The prototype demonstrates the complete embedded workflow of sensing, local training, parameter exchange and alerting. Quantitative detection accuracy is not claimed and must be established separately on representative labelled data.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-28
DOI
https://doi.org/10.5281/zenodo.24627168
Primary Topic
Privacy-Preserving Technologies in Data
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Federated Learning Based Intrusion Detection System for IoT Devices using Dual ESP32 Nodes

Mahadev Prasad S, Shreedharagouda B G, Kyatanagouda V Patil, Gowtham Naik M
Zenodo (CERN European Organization for Nuclear Research)
Privacy-Preserving Technologies in Data
article

Federated Learning Based Intrusion Detection System for IoT Devices using Dual ESP32 Nodes

Mahadev Prasad S, Shreedharagouda B G, Kyatanagouda V Patil, Gowtham Naik M
article en

Abstract

Internet of Things (IoT) devices are being deployed in access-control, building-automation and remote-monitoring systems, yet most of them have very limited processing and memory resources, and sending all raw sensor data to a central server adds communication overhead and privacy concerns. This paper presents a low-cost prototype of a Federated Learning Based Intrusion Detection System (FL-IDS) built on two ESP32 development boards. ESP32 #1 acts as a local Wi-Fi access point, web-dashboard host and federated-learning coordinator. ESP32 #2 acts as the sensing and local-learning node and interfaces with an MFRC522 RFID reader, a PIR motion sensor, status LEDs, a buzzer, an I2C LCD and a servo-operated gate. The two boards exchange events and model parameters over UART. A logistic-regression model with three event features (recent unauthorised RFID activity, motion while security is enabled, and a combined indicator) is trained on the sensor node; its weights and bias are sent to the coordinator, aggregated, returned as global parameters, validated and applied. A browser dashboard provides login, security control, connected-station monitoring and five rule-based suspicious-activity indicators. The prototype demonstrates the complete embedded workflow of sensing, local training, parameter exchange and alerting. Quantitative detection accuracy is not claimed and must be established separately on representative labelled data.

Zenodo (CERN European Organization for Nuclear Research)
Privacy-Preserving Technologies in Data
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon