My solutions for the challenges of the Internet of Things course at Polimi during the academic year 2023/2024.
The first challenge was a simple IoT system simulating a parking sensor.
The system consists of a sensor that detects the presence of a car in a parking space and then sends a message to a sink node that stores the data.
The second challenge was to analyse a Wireshark capture of CoAP/MQTT/MQTT-SN communication between multiple clients and servers.
In the end, there were some questions to answer about the packets exchanged.
The third challenge was about Node-Red and the creation of a simple flow that sends and receives data through MQTT.
Data were randomly generated and sent to a broker, then received by a subscriber and stored in CSV files.
In addition, some rules were provided to filter the data and store them in different files.
Everything was handled through Node-Red components in addition to the MQTT broker running locally with Mosquitto.
The homework involved questions and exercises about some of the topics covered during the course.
There were three main parts:
- IoT system design
- Short-range connectivity
- Long-range connectivity
Command to print a Jupyter notebook:
jupyter nbconvert --to PDF --LatexPreprocessor.title "Final report" --LatexPreprocessor.author_names "Mario Rossi" "report.ipynb"


