TinyOS Lab: Lesson 04: Sensing
WSN Programming Course
Manuel Fernndez UAH, 18th September 2013
Contents
Introduction to sensing Exercises
Sensing
We have not yet used the sensors! And that is the important feature of WSN, the ability to capture real data from the environment.
Configuration
Header
Module
Specification:
Implementation: Lets look at Lesson04 and go step by step!
6
Exercises
1. Merge code from Lesson 02 (Serial Communication) and retrieve data from the sensors. Use the provided Netbeans project to parse the data. 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. Lets try and build our own multi hop application!
2.
3.