Date post: | 28-Nov-2014 |
Category: |
Education |
Upload: | manuel-fernandez-santo-tomas |
View: | 290 times |
Download: | 6 times |
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