WSN Exercises


Lab-1

Date: 31.10

Grading: 0%

Description:

In this lab you will learn basics of nesC modules, commands, events, and tasks. You will be also introduced with tinyOS execution model. You will run your first program in TinyOS on mica2 nodes.
Following are the steps you need to carry out for this lab.
Now you are able to run and edit first application on mica2 nodes and TinyOS.


Lab-2

Date: 7.11

Grading: 0%

Description: We will discuss following concepts of NesC:
  • interface
  • component
  • module
  • configuration
  • event & command
  • task
  • split-phase & blocking
  • singleton
  • snyn & async.
Furthermore, we will also write a small application that will send and recieve data from a sensor to another sensor by covering lesson-3.


Code:
Here is the sender and reciever that works.  The only thing we have not done in the lab is to set transmission frequency in the makefile as follows:

PFLAGS += -DCC1K_DEF_FREQ=916700000
CFLAGS += -DRADIO_XMIT_POWER=0xFF




Lab-3

Date:14.11

Grading: 0%

Description:

In this lab we will looked at the lesson-4, lesson-6 and lesson-7. We will learn following:
  • Storing data on flash of motes
  • TinyOS Boot sequence
  • Mote-PC serial communication




Exercise

Assignment Date14.11,    Due Date: 4.12

Grading: 10%

Description:

Download the exercise from here. Note that it requires lots of work and you will not be able to finish it if you plan to start working on it during last week before the deadline.

Here are some FAQs for your help.

Extended deadline: 6.12.2007, 23.59 hours


Lab-4

Date: 21.11

Grading: 0%

Description:

In this lab we will cover  lesson-11, lesson-15, and part of lesson-16.
By covering above mentioned lessons we will learn about

  • TOSSIM, a tinyOS simulator
  • Writing power aware application
  • TinyOS printf library