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
- Mahadev Prasad S
- Shreedharagouda B G
- Kyatanagouda V Patil
- Gowtham Naik M
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