tinyos course 04: sensing
DESCRIPTION
Lesson 04 slides for one day introductory course on wireless sensor networks and TinyOS, that took place at the University of Alcalá de Henares in Madrid Spain the 18th of September 2013. This course was jointly designed by the Electronics Department of the university and Advanticsys. Find source code for the lessons here: http://www.advanticsys.com/wiki/index.php?title=TinyOS%C2%AE_Course_at_UAH_18th_September_2013TRANSCRIPT
WSN Programming Course
TinyOS Lab: Lesson 04: Sensing
Manuel Fernández
UAH, 18th September 2013
• Introduction to sensing • Exercises
2
Contents
We have not yet used the sensors! And that is the important feature of WSN, the ability to capture real data from the environment.
3
Sensing
4
Configuration
5
Header
6
Module
• Specification:
• Implementation:
Let’s look at Lesson04 and go step by step!
1. Merge code from Lesson 02 (Serial Communication) and retrieve data from the sensors. Use the provided Netbeans project to parse the data.
2. If you feel brave, combine the radio interface from Lesson 03 and parse also messages from other nodes. Note: Find out how to discriminate node ids.
3. Lets try and build our own multi hop application!
7
Exercises