tinyos course 04: sensing

8
WSN Programming Course TinyOS Lab: Lesson 04: Sensing Manuel Fernández UAH, 18th September 2013

Upload: manuel-fernandez-santo-tomas

Post on 28-Nov-2014

291 views

Category:

Education


6 download

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_2013

TRANSCRIPT

Page 1: TinyOS Course 04: Sensing

WSN Programming Course

TinyOS Lab: Lesson 04: Sensing

Manuel Fernández

UAH, 18th September 2013

Page 2: TinyOS Course 04: Sensing

• Introduction to sensing • Exercises

2

Contents

Page 3: TinyOS Course 04: 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.

3

Sensing

Page 4: TinyOS Course 04: Sensing

4

Configuration

Page 5: TinyOS Course 04: Sensing

5

Header

Page 6: TinyOS Course 04: Sensing

6

Module

• Specification:

• Implementation:

Let’s look at Lesson04 and go step by step!

Page 7: TinyOS Course 04: Sensing

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

Page 8: TinyOS Course 04: Sensing

Contact Info: Manuel Fernández

[email protected]

8