Internet of Things - MILANO

Academic Year 2017-2018

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



June  14, 2018 - results of the pre-exams

The results of the pre-exams are available here.

Corrected papers can be seen on Friday, June 15 at 11am or at 3pm in my office. 


June  1, 2018 - next week schedule

Monday, June 4: pre-exam for students from "A" to "Li"

Wednesday, June 6: pre-exam for students from "Lienher" to "Z"



May 31, 2018 - pre-exams

As mentioned during classes, there is the possibility of attending a pre-exam during next week according to the following planning:

-Students with family name in alphabetical order from "Abdollahi" to "Li" must come on Monday, June 4, room EG3 2.15pm

-Students with family name in alphabetical order from "Liehner" on must come on Wednesday 6, room EG6, 1.15pm

Attendance to the pre-exam does not restrict participation to any future exam date. 

For organization-related issues, I would kindly ask you to let me know if you plan to come to the pre-exam by filling in this form.


The following document reports all the rules/procedures about grading and grading dates. Read it carefully before making any question about grading!





May 27, 2018 - Upcoming week schedule (May 28-June 1)

Monday, May 27: classes on RFID

Wednesday, May 29: review exercise 


May 18, 2018 - Upcoming week schedule (May 21-25)

Monday, May 21: classes on localization in IoT

Wednesday, May 23: classes on RFID 


May 17, 2018 - Project Registration

If you want to do the project, don't forget to register at this link. The hard deadline for registration is May 20.


May 11, 2018 - Upcoming week schedule (May 14-18)

Monday, May 14: classes on MQTT

Wednesday, May 16: exercises on routing and application layer



May 4, 2018 - Upcoming week schedule (May 7-11)

Monday, May 7: seminar on battery-less IoT given by Prof. Luca Mottola; the content of the seminar are part of the evaluation material.  You don't want to miss this! Slides available

Wednesday, May 9: discussion on project proposal and mechanics. A document with details on project submission is now available hereafter. 


April 13, 2018 - Upcoming week schedule (April 16-20)

Monday, April 16: hands on activity on ContiKi. Bring your own device! 

Wednesday, April 17: classes on 6LowPAN and RPL



April 10, 2018 - Tomorrow's classes cancelled

Wednesday, April 11 classes are cancelled. We'll meet again on Monday, April 16. 

April 6, 2018 - Upcoming week schedule (April 9-13)

Monday, April 9: classes on ZigBee and 6LowPAN 

Wednesday, April 11: classes on 6LowPAN and application layer protocols no classes


April 3, 2018 - Upcoming week schedule (April 2-6)

Wednesday, April 4: hands-on activity on TinyOS. Bring your own device!


March 23, 2018 - Upcoming week schedule (March 26-30)

Monday, March 26: classes on ZigBee and 6LowPAN

Wednesday, March 28: exercises on IEEE 802.15.4 


March 16, 2018 - Upcoming week schedule (March 19-23)

Monday, March 19: hands-on activity on TinyOS programming. Bring your own laptop!

Wednesday, March 21: introduction to IEEE 802.15.4 and ZigBee


March 9, 2018 - Upcoming week schedule (March 12-16)

 Monday, March 12: LoraWAN and introduction to ZigBee

Wednesday, March 14: hands-on activity on IoT Platforms. Bring your own laptop!


March 2, 2018 - Upcoming week schedule (March 5-9)

 Monday, March 5: Exercises on power/energy consumption in sensor networks

Wednesday, March 7: Introduction to IoT connectivity


February 23, 2018 - Welcome!

The course will start Monday, February 26!

See you al classes!


Program, Time schedule and Grading

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

Time Schedule

Monday 14.15-16.15 EG3 
Wednesday 13.15-15.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 14, 2018: IoT platforms (slides)
March 19, 2018: Programming in TinyOS (part 1) (slides)
April 4, 2018:  Programming in TinyOS (part 2) (slides)
April 16, 2018: Programming in Contiki (part 1) (slides)
May 2, 2018: Programming in Contiki (part 2) (slides)
May 9, 2018: Discussion on project proposals 

This document describes the project proposal, the procedure you have to follow to subscribe to one project proposals and the general guidelines/deadlines to submit your projects. Have a look!

Download here the supporting files for project proposal number 3. 


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