Table of Contents
Systems for Industry 4.0 and Environment (IoT)
Assistant: Stefano Scanzio
www: https://www.skenz.it/ss
email: stefano.scanzio [ AT_SYMBOL ] unimib.it
Telegram of the course: https://t.me/+e3X2HOrCqR5lOThk
News
- [2025/04/10]: Added all the material for the course.
- [2025/04/02]: Added classroom material of the fifth week.
- [2025/03/27]: Added classroom material of the fourth week.
- [2025/03/19]: Added classroom example of the third week.
- [2025/03/05]: Added telegram group and classroom examples related to the first week.
- [2025/03/03]: Added all slides of the course.
Calendar
- [2025/04/09] from 10:30 to 12:30 (room U7-06)
- [2025/04/09] from 14:30 to 16:30 (room LAB908)
- [2025/04/02] from 10:30 to 12:30 (room U7-06)
- [2025/04/02] from 14:30 to 16:30 (room LAB908)
- [2025/03/26] from 10:30 to 12:30 (room U7-06)
- [2025/03/26] from 14:30 to 16:30 (room LAB908)
- [2025/03/19] from 10:30 to 12:30 (room U7-06)
- [2025/03/19] from 14:30 to 16:30 (room LAB908)
- [2025/03/12] from 10:30 to 12:30 (room U7-06)
- [2025/03/12] from 14:30 to 16:30 (room LAB908)
- [2025/03/05] from 10:30 to 12:30 (room U7-06)
- [2025/03/05] from 14:30 to 16:30 (room LAB908)
Slides/Material
- Slide of the course: IoT_practice_slides.pdf
- Other slide used during the course:
Example in Classroom
Week 1
Explanation of the python
language using examples. In the following you can download all the examples commented in classroom. Remember, it is important that you completely understand them, and you practice using python in your PC.
Download of the example: examples_20250305.zip
Week 2
Explanation of the python
language using examples, second part.
Download the full list of examples until now: examples_20250312.zip
Week 3
Explanation of the python
language using examples, second part.
Download the full list of examples until now: examples_20250319.zip
The CoAP and MQTT protocols.
Week 4
- A simple MQTT subscriber and publisher: 00100-mqtt_sub.py, 00100-mqtt_pub.py
- A publisher that publishes a temperature value that is managed by a first subscriber that in turns (depending on the fact that the temperature is lower or greater than 20.0 °C) publishes a topic to which a second subscriber is subscribed: 00200-ex_mqtt_sensor.py, 00200-ex_mqtt_server.py, 00200-ex_mqtt_actuator.py
- Annotated slides about MQTT: message_passing_handout_annotated.pdf
Week 5
Example analyzed in classroom during week 5 of the course:
- The tkinter package for graphical interfaces: 00300-tkinter-win.py, 00400-tkinter-entry.py, 00500-tkinter-calc.py
- MQTT chat with graphical interface: 00600-mqtt_chat_client.py
- Conversion between json and python structures and vice-versa: 00700-json-ex.py
- MQTT chat with graphical interface and json messages: 00800-mqtt_chat_client_v2.py
- MQTT boat that automatic reply to the MQTT chat analyzed in the previous point: 00900-mqtt_chat_pingbot.py
- Use of the requests library to perform HTTP requests: 01000-requests-ex.py (Using the following scripts uploaded to a PHP server 01000-uppercase.php, 01000-uppercase_post.php)
Week 6
Example analyzed in classroom during week 6 of the course:
- Use of the requests library to perform HTTP requests: 01050-requests_test.py
- MQTT boat that replies to request about the computation of mathematical expressions: 01100-mqtt_chat_mathbot.py
- Test of a small Flask application: 01200-webservice_test.py
- Use of Flask to make an example of REST API: 01300-webservice_book.py
- Linux terminal commands analyzed in classroom: command_history.txt
- Annotated slides JSON and REST API: rest_api_handout_annotated.pdf
- Annotated slides practical part: IoT_practice_slides_annotated.pdf
Other Examples
Installations
For the course, you need to install python
and a programming environment such as Visual Studio Code.
Please, follow this guideline: video guide
Proposed Theses (Master Degree)
New research Master Theses (Research thesis, four different topics, starting July-December 2024) (watch the video)
Thesis proposals can be downloaded here: https://www.skenz.it/ss/theses
If interested, for informations, contact: stefano.scanzio [ AT_SYMBOL ] polito.it www: https://www.skenz.it/ss
If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it
You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/iot