SlideShare a Scribd company logo
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
An open-source testbed for IoT systems
Webist - 2021
Augusto Ciuffoletti
Univ. of Pisa (Italy)
October 27th 2021
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 1 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
Prototypes: role and features
• The implementation of a prototype is a relevant step in a
design process
• A prototype demonstrates the value of the design,
• highlighting practical details possibly overlooked in the
process
• Prototypying requires the implementation of a running
environment
• representative of a real application scenario
• A prototype for a software product, like a server, has
requirements that are somewhat confined
• for instance, to the server and incoming traffic
• The situation is different and more complex for Internet of
Things systems
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 2 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
Prototyping an IoT system as a distributed
system
• An IoT system has the features of a distributed system
• The prototype needs to take in account this:
• providing a networking infrastructure
• connecting a significant number of units, with an impact on
cost
• taking into account security aspects that are part of the
design
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 3 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
Peculiar aspects of an IoT prototype
• An IoT system introduces peculiar features that the
prototype needs to mirror:
• a full protocol stack, up from the physical layer (the Things)
• the relevance of energy efficiency (batteries)
• memory and computing power constraints
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 4 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
Why an open source framework
• R/D projects focus on a detail: a device, a protocol, an
algorithm
• Implementing a prototype requires an overall view
• time and effort spent in prototype details do not introduce
any novelty but
• a superficial prototyping may bring to wrong conclusions
• A framework provides a reasonable context for testing
research results
• The effort required to customize the framework is affordable
• The open source feature is necessary to perform this step
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 5 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
The first step: understanding required
features
• A IoT system should exhibit several features
• we want to be analytic about them
• The prototyping framework needs to implement them
• Implementation as vanilla as possible
• The user can change them to suit the needs
• In our investigation we have found the following:
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 6 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
Features of an IoT prototyping template
• Layered architecture
• a managed network (sensors + sink)
• Energy-saving
• support for deep sleep
• Security
• for sensor data
• Open Source design
• no copyright
• Modularity
• the user injects a new module
• Low Cost
• Encourages reproduction of results
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 7 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
A framework for IoT testbed (Physical layer)
• Infrastructure: Wireless
• Low cost
• Modular
• The sink: a Raspberry Pi (Version 3)
• Low cost
• Open Source
• Energy saving
• Edge units: Wemos D1 R2 (ESP8266 EX)
• Low cost
• Open Source
• Energy saving (deep sleep)
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 8 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
A framework for IoT testbed (Link layer)
• Infrastructure: WiFi managed (RPI as Access Point)
• Modular
• Layering (hierarchy of networks)
• Low Cost
• Security: WPA protocols
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 9 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
A framework for IoT testbed (Service layer)
• The Raspberry PI (sink) implements a key-value Redis
database
• Open source, lightweight
• The database has room enough to preserve the state of
hundredths of edge units
• Useful to implement low duty-cycle applications for power
saving
• The database is a REST service, using HTTPS
• Open source, security
• The Raspberry PI hosts three dockers: nginx, a Flask
backend server, and Redis
• Modular, open source
• A protocol between the Sink and the edge unit safely
allocates a key to joining edge units
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 10 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
The project outcome (hardware)
• A standalone Raspberry PI (right)
• without the optional Ethernet connection
• One Wemos D1 R2 edge device (left)
• with a battery that, depending on duty cycle, may last weeks
• and the bluetooth dongle for two-pass key creation
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 11 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
The project outcome (dockerized sink)
• The configuration of the
three dockers:
• redis: the database
• kvserver: the ad-hoc
REST server (using
Flask)
• nginx: HTTPS proxy
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 12 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
The project outcome (a stress test)
• The REST server log during a stress test
• Three GET request received during 10ms
• A GET entails two Redis transactions
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 13 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
The project outcome (the Wemos sketch)
• The loop function leading to a deep sleep
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 14 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
The project outcome (power saving evidence)
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 15 / 16
https://www.slideshare.net/AugustoCiuffoletti/an-opensource-testbed-for-iot-systems-250402200
Open source
• Hardware design is so simple
• Repositories:
• The wemos sketch:
https://github.com/AugustoCiuffoletti/IoTTemplate_esp8266
• The remote persistent memory service:
https://github.com/AugustoCiuffoletti/kviot
Augusto Ciuffoletti (Univ. of Pisa (Italy)) An open-source testbed for IoT systems October 27th 2021 16 / 16

More Related Content

PDF
Mainflux - Hyperscalable Unified IoT Platform
PDF
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
PDF
Introduction to IoT Architecture
PDF
Survey of Operating Systems for the IoT Environment
PDF
SnW: Introduction to PYNQ Platform and Python Language
PPTX
Modeling self-adaptative IoT architectures
PDF
Overview of the WP4 of BRAIN-IoT
Mainflux - Hyperscalable Unified IoT Platform
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
Introduction to IoT Architecture
Survey of Operating Systems for the IoT Environment
SnW: Introduction to PYNQ Platform and Python Language
Modeling self-adaptative IoT architectures
Overview of the WP4 of BRAIN-IoT

What's hot (20)

PPTX
Architectural reference model
PDF
Research in Internet of Things' Operating Systems (IoT OS's)
PPTX
Hyperscalable Unified IoT Platform - Janko Isidorovic - Codemotion Amsterdam ...
PPT
Adoptive Gateways for dIverse MuLtiple Environments
PPTX
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
PDF
A component based architecture for the Web of Things
PDF
Devcon2上海 参加報告
PDF
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
PDF
Lte community networks in brazil sustainable modeling, deployment and mainte...
PDF
PDF
Open Source Networking Overview
PPT
AGILE Gateway for Internet of Things
PDF
What's next in edge computing?
PDF
Designing Cross-Domain Semantic Web of Things Applications
PDF
Edge Computing Standardisation and Initiatives
PDF
Edge Computing and 5G - SDN/NFV London meetup
PDF
SFScon 21 - Nicola Altamura - Implementation of IOTA solutions on embedded de...
PDF
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
PDF
Brain-IoT Project: Security Cluster activities overview
PDF
Introduction to Edge Computing using Google IoT
Architectural reference model
Research in Internet of Things' Operating Systems (IoT OS's)
Hyperscalable Unified IoT Platform - Janko Isidorovic - Codemotion Amsterdam ...
Adoptive Gateways for dIverse MuLtiple Environments
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
A component based architecture for the Web of Things
Devcon2上海 参加報告
COMBINING MODEL-DRIVEN ENGINEERING AND ELASTIC EXECUTION FOR TESTING UNCERTAI...
Lte community networks in brazil sustainable modeling, deployment and mainte...
Open Source Networking Overview
AGILE Gateway for Internet of Things
What's next in edge computing?
Designing Cross-Domain Semantic Web of Things Applications
Edge Computing Standardisation and Initiatives
Edge Computing and 5G - SDN/NFV London meetup
SFScon 21 - Nicola Altamura - Implementation of IOTA solutions on embedded de...
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
Brain-IoT Project: Security Cluster activities overview
Introduction to Edge Computing using Google IoT
Ad

Similar to An open-source testbed for IoT systems (20)

DOCX
chapter 3.docx
PDF
chapter 3.pdf
DOCX
abstract.docx
PDF
abstract.pdf
DOCX
AF-2599-P.docx
PPTX
Lab introduction
PDF
IoT Prototyping using BBB and Debian
PDF
chapter 5.pdf
DOCX
chapter 5.docx
PDF
IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...
PDF
IoT Development from Prototype to Production
PDF
Quest for a low powered home hub 120522
PPTX
Lecture 9
PDF
chapter 7.pdf
PPTX
Internet Of Things and Open Source
PDF
Internet Of Things: Hands on: YOW! night
PDF
IoT Seminar (Oct. 2016) Pilgrim Beart - DevicePilot & Duncan Purves - Connect...
PDF
IoT and Its Application
PDF
Iot development from prototype to production
PDF
GK6Sept2024 for education purpose in eng
chapter 3.docx
chapter 3.pdf
abstract.docx
abstract.pdf
AF-2599-P.docx
Lab introduction
IoT Prototyping using BBB and Debian
chapter 5.pdf
chapter 5.docx
IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...
IoT Development from Prototype to Production
Quest for a low powered home hub 120522
Lecture 9
chapter 7.pdf
Internet Of Things and Open Source
Internet Of Things: Hands on: YOW! night
IoT Seminar (Oct. 2016) Pilgrim Beart - DevicePilot & Duncan Purves - Connect...
IoT and Its Application
Iot development from prototype to production
GK6Sept2024 for education purpose in eng
Ad

More from Augusto Ciuffoletti (20)

PDF
Thingspeak: integrazione
PDF
Thingspeak: fondamenti
PDF
Design and implementation of a low-cost modular sensor
PDF
ZHAW 2016 - OCCI for monitoring
PDF
Open Cloud Computing Interface
PDF
Laboratorio Openstack
PDF
Automated deployment of a microservice based monitoring architecture
PDF
OCCI Monitoring at OGF42 - Concepts and demo
PDF
Extending the OCCI API with monitoring capabilities
PDF
2013 03 occi-monitoring
PDF
Monitoring a virtual network infrastructure - An IaaS perspective
PDF
Collision avoidance using a wandering token in the PTP protocol
PDF
TIP: a course about IP convergence technology
PDF
Design of a secure "Token Passing" protocol
PDF
The wandering token
PDF
Network Monitoring in the age of the Cloud
ODP
Grid Infrastructure Architecture A Modular Approach from CoreGRID
ODP
Scalable concurrency control in a dynamic membership
ODP
Prototype Implementation of a Demand Driven Network Monitoring Architecture
Thingspeak: integrazione
Thingspeak: fondamenti
Design and implementation of a low-cost modular sensor
ZHAW 2016 - OCCI for monitoring
Open Cloud Computing Interface
Laboratorio Openstack
Automated deployment of a microservice based monitoring architecture
OCCI Monitoring at OGF42 - Concepts and demo
Extending the OCCI API with monitoring capabilities
2013 03 occi-monitoring
Monitoring a virtual network infrastructure - An IaaS perspective
Collision avoidance using a wandering token in the PTP protocol
TIP: a course about IP convergence technology
Design of a secure "Token Passing" protocol
The wandering token
Network Monitoring in the age of the Cloud
Grid Infrastructure Architecture A Modular Approach from CoreGRID
Scalable concurrency control in a dynamic membership
Prototype Implementation of a Demand Driven Network Monitoring Architecture

Recently uploaded (20)

PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
web development for engineering and engineering
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Construction Project Organization Group 2.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Project quality management in manufacturing
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Artificial Intelligence
DOCX
573137875-Attendance-Management-System-original
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
OOP with Java - Java Introduction (Basics)
Safety Seminar civil to be ensured for safe working.
web development for engineering and engineering
Foundation to blockchain - A guide to Blockchain Tech
Embodied AI: Ushering in the Next Era of Intelligent Systems
R24 SURVEYING LAB MANUAL for civil enggi
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Construction Project Organization Group 2.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Operating System & Kernel Study Guide-1 - converted.pdf
Project quality management in manufacturing
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Artificial Intelligence
573137875-Attendance-Management-System-original
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Internet of Things (IOT) - A guide to understanding
Model Code of Practice - Construction Work - 21102022 .pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
OOP with Java - Java Introduction (Basics)

An open-source testbed for IoT systems