Internet of Things - MILANO

Academic Year 2018-2019

  1. News
  2. Program, Time schedule and Grading
  3. Classes
  4. Hands-on Activities and Projects
  5. Exercises and exams
  6. Other Reference Material



January 22, 2020 - Jan 17 exam results


The results of the exam are available at the following link



Positive results will be automatically filed in career on Friday, January 24 12pm.

Students that have past grades to be filed in career must send me an email by Friday Jan. 24, 12pm. Students that obtained a positive grade from Jan 17 exam (>=18) that are not satisfied with it  MUST refuse the grade by Friday Jan. 24, 12pm through the online system, otherwise the grade will be automatically filed in the career.  

Corrected papers can be seen on Friday Jan. 24, at 10am in my office.    



September 9, 2019 - Sept. 6 exam results and solutions


The results of the exam are available at the following link

Solutions are available at these links

Positive results will be automatically filed in career on Wednesday, September 11 5pm.

Students that have past grades to be filed in career must send me an email by Wednesday Sept. 11, 5pm. Students that obtained a positive grade from Sept. 6 exam (>=18) that are not satisfied with it or are still working on the project MUST refuse the grade by Wednesday Sept. 11, 5pm through the online system, otherwise the grade will be automatically filed in the career.  

Corrected papers can be seen on Wednesday Sept. 11 3-4pm in my office.    





June 21, 2019 - Guidelines on grade registration


This document contains some guidelines on grade registration. Read it carefully!


June 7, 2019 - Pre-exam results and solutions


The results of the pre-exams are available at the following link

Corrected papers can be seen Monday, June 10  10am-11am at the instructor's office. 

Solutions are available at these links


May 28, 2019 - Pre-exam organization

Next week we will have the pre-exams. Students will be divided into two groups:

  • group 1 will have the exam on Tuesday, June 4, room EG3 at 1.15pm
  • group 2 will have the exam on Wednesday, June 5, room EG6 at 3.15pm

group 1 include students whose family name in alphabetical order is within Abdelgadir-Magni

group 2 include students whose family name is within Mahboubi-Zhu

Room space is limited, so you must come to your assigned date. People coming to the wrong date will not be accepted.  

To ease up logistics, you must fill in the following form to let me know if you intend to come to the pre-exam.


May 24, 2019 - Schedule for upcoming week

Tuesday,  May 28: classes on RFID

Wednesday, May 29: exercises on RFID and review




Program, Time schedule and Grading

Official program of the course (IoT-program.txt).

Time Schedule

Tuesday 13.15-15.15 EG3 
Wednesday 15.15-17.15 EG6




  1. Introduction
  2. Hardware Abstractions
  3. Primer on wireless propagation
  4. IoT Connectivity
  5. LoraWAN
  6. ZigBee
  7. 6LowPAN
  8. Application Layer Protocols
  9. Localization
  10. RFID

The following videos (capture screen and audio) from 2014-2015 course are available. WARNING: this year's contents have been slightly modified, so videos are not completely in synch with this year's classes.

March 19, 2015 - IEEE 802.15.4-part 1 (YouTube)
March 25, 2015 - IEEE 802.15.4-part 2 (YouTube)
April 1, 2015 - hands-on activities: introduction (YouTube)
April 8, 2015 - hands-on activities: Xively, SicsthSense and Node Red (YouTube)
April 9, 2015 - ZigBee Routing (YouTube)
April 15, 2015 - hands-on activities: introduction to TinyOS (YouTube)
April 16,2015 - ZigBee routing (part 2), the SMAC protocol (YouTube)
April 22, 2015 - hands-on activities: TOSSIM (YouTube)
April 23, 2015 - the SPARE MAC protocol, introduction to 6LowPAN protocol Stack (YouTube)
April 30, 2015 - hands-on activities: MoteRunner (YouTube)
May 7, 2015 - hands-on activities: Contiki OS (YouTube)
May 13, 2015 - 6LowPAN adaptation functionalities (YouTube)
May 20, 2015 - overview of project proposals (YouTube)
May 21, 2015 - COAP (YouTube)
May 27, 2015 - clustering in WSNs, introduction on localization systems (YouTube)
May 28, 2015 - least-squares and gradient descent for localization; introduction to RFID technology (YouTube)
June 3, 2015 - collision arbitration in RFID systems (YouTube)

Exercises and Exams



Hands-on Activities and Projects

This set of lectures provides an overview on programming APIs and management tools for WSNs. In particular, we will play with operative systems for the IoT (Contiki, TinyOS), cloud-based platoforms for storing and visualizing IoT data (ThingSpeak, SicsthSense, FreeBoard) often resorting to flow-based programming tools like NodeRed.

We strongly encourage to have your laptops ready during lectures so that you can test at real time the tools shown. To ease up your lives we have arranged a virtual machine which contains all the software tools used in these lectures. To have the VM up and running on your device you have to:

Download and install on your laptop Oracle VM Virtual Box
Download the virtual machine here
Install the virtual machine in Virtual Box

The schedule of the hands-on activity lectures follows: 

March TBD, 2019:  IoT platforms (slides)
March TBD, 2019:  Programming in TinyOS (part 1) (slides)
April TBD, 2019:    Programming in TinyOS (part 2) (slides)
April 10, 2019:    Programming in Contiki (part 1) (slides)
April 30, 2019:    Working with MQTT (slides)
May 8, 2019:    Discussion on project proposals (slide) (file with project description


All the material related to the hands-on activities (slides and software) is also available at this link


Other Reference Material


There's no one single reference book for this course. If you attend classes, your'll be guided through all that you need to learn to pass the course. However, I might advise these nice books on the topic:
Protocols and Architectures for Wireless Sensor Networks, by Holger Karl, Andreas Willig, Wiley-Interscience (October, 2007)
Wireless Sensor Networks, by Ian Fuat Akyildiz, Mehmet Can Vuran, John Wiley & Sons Inc (August, 2010)
6LoWPAN: The Wireless Embedded Internet,Zach Shelby and Carsten Bormann, John Wiley & Sons, Inc. (January, 2010)
Interconnecting Smart Objects with IP: The Next Internet, Jean-Philippe Vasseur, Adam Dunkels, Morgan Kaufmann; 1 edition (June, 2010)


Nice Read ups


  1. I. F. Akyildiz, W. Su, Y. Sankarasubramaniam, E. Cayirci, Wireless sensor networks: a survey, Computer Networks, Volume 38, Issue 4, 15 March 2002
  2. I. F. Akyildiz, Tommaso Melodia, and Kaushik R. Chowdhury. 2007. A survey on wireless multimedia sensor networks. Comput. Netw. 51, 4 (March 2007), 921-960
  3. I.F. Akyildiz, D. Pompili, T. Melodia, Underwater Acoustic Sensor Networks: Research Challenges Ad Hoc Networks (Elsevier) Journal, March 2005
  7. GreenEyes project

Hardware Abstractions

  1. E. Shih et al.,”Physical Layer Driven Protocols and Algorithm Design for Energy-Efficient Wireless Sensor Networks”, ACM MobiCom, Rome, July 2001

IoT Connectivity

  1. U. Raza; P. Kulkarni; M. Sooriyabandara, Low Power Wide Area Networks: An Overview, in IEEE Communications Surveys & Tutorials , vol.PP, no.99, pp.1-1 doi: 10.1109/COMST.2017.2652320
  2. Evgeny Khorov, Andrey Lyakhov, Alexander Krotov, Andrey Guschin, A survey on IEEE 802.11ah: An enabling networking technology for smart cities, Computer Communications, Volume 58, 1 March 2015, Pages 53-69, ISSN 0140-3664,
  3. Nokia LTE M2M - Optimizing LTE for the Internet of Things
  4. A. Rico-Alvarino et al., An overview of 3GPP enhancements on machine to machine communications, in IEEE Communications Magazine, vol. 54, no. 6, pp. 14-21, June 2016. doi: 10.1109/MCOM.2016.7497761


  1. LoraWAN Specifications, 2015
  2. Papers on scalability of LoraWAN
  3. 2017/


  1. P. Baronti, P. Pillai, Vince W.C. Chook a, Stefano Chessa, Alberto Gotta, Y. Fun Hu, Wireless sensor networks: A survey on the state of the art and the 802.15.4 and ZigBee standards, Computer Communications 30 (2007) 1655–1695
  3. IEEE 802.15.4 Specifications, 2006
  4. Zigbee Specifications, ZigBee Alliance, 2007


  1. IETF Working Group on IPv6 over Low Power WPANs:
  2. IPSO Alliance white paper
  3. IETF Working Group on Routing over Low Powerand Lossy Networks-List of Draft and RFC:
  4. Nice paper by IPSO Alliance (pdf)
  5. K. Akkaya, M. Younis, A survey on routing protocols for wireless sensor networks, Ad Hoc Networks, Volume 3, Issue 3, May 2005, Pages 325-349, ISSN 1570-8705, DOI: 10.1016/j.adhoc.2003.09.010

Application Layer Protocols

  1. COAP Specifications
  2. MQTT Specifications
  3. S. Bandyopadhyay and A. Bhattacharyya, Lightweight Internet protocols for web enablement of sensors using constrained gateway devices, IEEE ICNC 2013. doi: 10.1109/ICCNC.2013.6504105


  1. H. Liu, H. Darabi, P. Banerjee and J. Liu, Survey of Wireless Indoor Positioning Techniques and Systems, in IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), vol. 37, no. 6, pp. 1067-1080, Nov. 2007. doi: 10.1109/TSMCC.2007.905750


  1. The AUTO-ID web site:
  2. Lei Zhu; Yum, T.-S.P., A critical survey and analysis of RFID anti-collision mechanisms, IEEE Communications Magazine, May 2011