TIE-52106 Wireless Sensor Networks and Applications

This page is for exercises and additional information. See POP for dates, times, rooms for the learning events and lecture slides.



Getting started


Exercise groups and returns status

Exercise completion status! UPDATED: 02.05.2016


Lecture timetable (updated 20.1.2016) and exercise materials 

Cal Wk 2016 Lec # Lecture Topic Ex # Exercise Topic Demo deadline Return deadline Max Bonus
2 1 Introduction to IoTs           
3 2 WSN Basic Paradigm           
4 3 WSN MAC and Routing protocols through TUTWSN  P1 Introductory exercise n/a On exercise hours. 1
5 4 Positioning and asset tracking with WSNs  P2 Data analysis n/a On exercise hours. 1
6 5 Devices, Sensors, Energy sources P3 MAC, Routing & QoS analysis n/a On exercise hours. 1
7 6 IoT platrofms, designs and technologies C1 C++ alarm application wk10 n/a 0
8 7 IoT and WSN applications   (guidance available)      
9   Exam week          
10 8
Security and Future topics C2 C++  control and location application wk13 n/a 2
11 9 TBD / Buffer   (guidance available)      
12 10 Easter holiday
P4 Own application specification (industrial, consumer-ubiquitous; google review for technologies) see lecture hours n/a 2
13   TBD / Buffer  C3  C++ call system
wk17 n/a 2
14   Student presentations: own app specification           
15   Student app specification and/or demo C4 Own application implementation wk19 (possible to extend to the end of exam week, but the exam week cannot be official deadline) n/a 8
16   Student app specification and/or demo   (guidance available)      
17 1st of May
18 Student presentations   (guidance available)      
19   Review
  (guidance available)       


There are two kind of exercises: Paper exercises Px and Computer Exercises Cx. ALL exercises are compulsory! P1-P3 will be done personally, C1-C4 and P4 can be done in groups of 2 people.

Paper exercises P1-P3:
Paper exercises consists of small tasks that will help you understand the special paradigm of IoT and especially wireless sensor networks and their applications. The exercises are intended to be done in the exercise hours as an interactive lecture way. If you want BONUS points from these exercises, you must prepare answers to the BONUS tasks before the exercise hours! And be ready to present your answer for the class.
To complete paper exercises you must either:

1. Participate on one of the weekly exercise hours (see POP for available times for this particular year). If you want bonus points, you must prepare answers to tasks with BONUS text before the exercise hours. The BONUS answers are collected in the beginning of the exercise hour (not returned to the mailbox) and you must also be prepared to present your answer, if requested. You may get bonus points from active participation as well (you open your mouth and talk business on the exercises :))


2. Do given tasks on a paper and return before the FIRST exercise of that exercise week. NOTE: P1 is the only one you can return via email! Return paper with name and student number to mailbox 30 at the 1st floor of Tietotalo on corridor C (in department, near the department doors at the corner of restaurant Zip). No bonus points will be awarded, unless you participate on exercise hours (when there is no point to return a paper). The answers should be brief, use pictures if needed, do not write half paper esseays. Remember to put student number and name on the paper.

Notice that correct answers will be given only on exercise hours.

If you are unable to participate on the exercises like you planned, please, contact assistants with email BEFORE the exercise hours you planned to participate. In a case of illness or similar, we will give you options to complete the exercises later.

Computer exercises C1-C4
In computer exercises, you will complete small programming tasks with C++ using TUTWSN campus network. These exercise can be done in groups of 2 people. More info will follow later on.

Paper exercise 4 - Own application specification
- The group makes a speficiation as a presentation (slide set given in the web page)
- Presestation will be held on lectures!! Presentations are on weeks 15-17. There will be a list later, where group can reserve a presentation time for.
- After the presentation, return your slides with email to assistant: teemu.laukkarinen@tut.fi
- The specification does not need to be "implementable" nor restricted to the features that TUTWSN provides. C4 will allow you to implement anything. But it's nice if you can implement the specification in C4.

Quick guide to Lintula

Quick Lintula and commandline guide (Ex2):
  1. Get yourself a lintula account
  2. Log in to kaarne.cs.tut.fi with SSH client software (PuTTY, NuTTY, SSH Tectia - Terminal). Port 22 is the correct port.
  3. Edit your files on your computer and move them to Lintula with SSH Tectia - File Transfer -program (in the class, on your own computer you may use such program as WinSCP


  • CE2 part 1 and 2 should be either the same program or two programs that function side-by-side (so both are running at the same time).
  • CE2 BONUS can be implemented as a separate program.
  • For computer exercises C1-C4 you may attend when you need guidance!
  • Computer exercises notes: SSH Tectia client has apparently been moved from the computers in TC221. Use PuTTy and WinSCP as an replacement.
  • You should be able to do all C++ exercises by just modifying the demo.cc file
  • Some sensors may produce values that you should take with grain of salt. For example, Sink/Gateway warm up themselves so much that the temperature is not correct.