Skip to content
Miloš Viktorović
  • Home
  • Coaching
    • Coaching
    • Introduction to Agile
    • Practical (Remote) Agile
  • Posts & Publications
    • Publications
    • Flying
    • Blog
  • Projects
    • Research Project
    • Student IoT kit
    • CODES
  • About
  • Contact

Python for IoT

Main purpose of this module is to give you an overview of possibilities for using Python in the area of IoT. Fundamental advantage of Python is extensibility which allows it to span across different application layers required for E2E IoT projects.

Value of Python from the perspective of IoT

If we take a look at the IoT reference model and especially its abstraction layers, we can conclude that we have to cover few topics in order to create successful IoT project. These topics are:

  • Device control & management
  • Communication
  • Data processing on the Edge
  • Centralised (BiG) Data processing & analytics
  • Application development (in a traditional sense)

And the greatest value is that Python due to its flexibility can cover all of these!

Hardware

If you would like to try to work on ‘real’ IoT hardware contact Milos Viktorovic at (m.viktorovic@tue.nl). Additionally student taking Smart Urban Environments course, would have the opportunity to work on the Raspberry Pi platform in combination with GrovePi board and sensors, during their ‘ICT’ assignment.

Interesting Libraries for IoT projects

  • GPIO (for RPi)
  • socket
  • request
  • paho-mqtt

Other resources

  • w3schools.com – Python
  • Udemy – Python Basics for IoT
  • IoT with Python : Essential Packages

Examples

  • IoT src repository [Zip]
  • MQTT chat/messenger

  • Python for IoT
    • Handling Exceptions
  • CODES
    • [CODE] GrovePi_plus-Example.py
    • [CODE] iot_simulator.py
    • [CODE] GrovePi_plus-startup
    • [CODE] mqtt_and_csv.py
    • [CODE] mqtt_messenger_example.py
    • [CODE] test_IoT.py
  • M2M communication
    • MQTT
  • Python For GrovePi+
    • Setup & Connection
    • Sensor Reading
    • Saving/storing data into CSV file(s)

Recent Posts

  • Schnitzel flight! EHEH – EDRK
    Schnitzel flight! EHEH – EDRK
    03-Sep-2021
  • Private Pilot License – My journey to PPL!
    Private Pilot License – My journey to PPL!
    22-Apr-2021
  • Solo Cross-country Navigation flight (Big Triangle) EHEH ⇒ EHMZ ⇒ EHSE ⇒ EHEH
    Solo Cross-country Navigation flight (Big Triangle) EHEH ⇒ EHMZ ⇒ EHSE ⇒ EHEH
    13-Dec-2020
  • Spin & acrobatics on Super Decathlon
    Spin & acrobatics on Super Decathlon
    19-Oct-2020
  • Flight log EHEH-EHSE (via Rotterdam)
    Flight log EHEH-EHSE (via Rotterdam)
    19-Oct-2020

Recent Posts

  • Schnitzel flight! EHEH – EDRK
  • Private Pilot License – My journey to PPL!
  • Solo Cross-country Navigation flight (Big Triangle) EHEH ⇒ EHMZ ⇒ EHSE ⇒ EHEH

Archives

  • September 2021
  • April 2021
  • December 2020
  • October 2020
  • August 2020
  • June 2020
  • May 2020
  • January 2020
  • May 2019
Milos Viktorovic © 2023
  • Home
  • Coaching
    • Coaching
    • Introduction to Agile
    • Practical (Remote) Agile
  • Posts & Publications
    • Publications
    • Flying
    • Blog
  • Projects
    • Research Project
    • Student IoT kit
    • CODES
  • About
  • Contact