Wireless Sensor Networks MOTE-KITS TinyOS Crossbow UC Berkeley
Outline MOTE-KITS How to Setup Environment An Example : Blink Reference Website
The MOTE-KITS Professional MOTE-KITS 1 x mote interface board 4 x MICA2 motes 4 x MICA2DOT motes 3 x MICA sensor board 2 x MDA500CA
Mote Interface Board (MIB510CA) Programming board One serial port Send data to PC For programming Base station By plugging a MICA2
MICA Sensor Board
MICA2 315, 868/916 MHz multi-channel radio transceiver >1 year battery life (using sleep mode) By plugging the sensor board Light Temperature Acceleration Acoustic Magnetic Sounder
MICA2DOT Battery powered, Low mass Compatible with MICA2 mote On board Temperature sensor, Battery Monitor, LED
MICA2, MICA2DOT Connectivity
Block diagram MICA2MICA2DOT
Processor Performance (MICA2, MICA2DOT) Program flash memory : 128k bytes Measurement flash : 512k bytes (>100,000 measurement) Analog to digital converter : 10 bit ADC Active mode : 8 mA Sleep : < 15μA
Multi-Channel Radio (MICA2, MICA2DOT) Frequency : 868/916MHz Number of channel : >8, >100 Data rate : 38.4 kbaud Outdoor range : 500ft Power consumption Transmit : 27 mA(max) Receive : 10 mA Sleep : < 1μA
User’s Manuals TinyOS Getting Started Guide MPR/MIB Mote Hardware Users Manual MTS/MDA Mote Sensor and DAQ Manual Provided by Crossbow
How to Install Download latest release of TinyOS
How to Install Install “tinyos is.exe” TinyOS NesC Cygwin Java 1.4 JDK & Java COMM 2.0 Upgrading to lately release (TinyOS-1.1.4)TinyOS Install an Editor (Vim)
System and Hardware Verification TinyOS PC Tools Verification Run the Cygwin application Change into the /tools/scripts directory and type “toscheck” The last line of the output should be “toscheck completed without error” Mote Hardware Verification MicaHWVerify Mote-Test GUI provided by Crossbow
Radio Frequency /tos/platform/mica2/CC1000Const.h
TinyOS & NesC TinyOS all written in NesC A new structured component-based language NesC has a C-like syntax
TinyOS & NesC A NesC application consists of one or more components linked together to form an executable. A component provides and uses interfaces An interface declares commands and events
Two types of components Configurations Assemble other components together Modules Provide application code
An Example Application: Blink Configuration Blink.nc Blink.nc Module BlinkM.nc BlinkM.nc
Compiling the Blink Application
Programming a Mote and Running Blink
Generating the Component Structure Documentation Go to the \tinyos-1.x\apps\Blink directory Type “make docs” The document will be generated in the \doc\nesdoc\mica2\apps.blink.Blink.nc.app.html \doc\nesdoc\mica2\apps.blink.Blink.nc.app.html
Tutorial \doc\tutorial\index.html
Reference Website TinyOS Crossbow