25
Wireless Sensor Networks MOTE-KITS TinyOS Crossbow UC Berkeley

Wireless Sensor Networks MOTE-KITS TinyOS Crossbow UC Berkeley

Embed Size (px)

Citation preview

Wireless Sensor NetworksMOTE-KITSTinyOS

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 PCFor programming

Base stationBy 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

MICA2 MICA2DOT

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

http://www.xbow.com/Support/manuals.htm

How to Install

Download latest release of TinyOShttp://webs.cs.berkeley.edu/tos/index.html

How to Install

Install “tinyos-1.1.0-1is.exe”TinyOSNesCCygwinJava 1.4 JDK & Java COMM 2.0

Upgrading to lately release (TinyOS-1.1.4) Install an Editor (Vim)

System and Hardware Verification

TinyOS PC Tools VerificationRun 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

MicaHWVerifyMote-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

ConfigurationsAssemble other components together

ModulesProvide application code

An Example Application: Blink

ConfigurationBlink.nc

ModuleBlinkM.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 <platform> docs” The document will be generated in the

\doc\nesdoc\mica2\apps.blink.Blink.nc.app.html

Tutorial

\doc\tutorial\index.html

Reference Website

TinyOShttp://webs.cs.berkeley.edu/tos/download.html

Crossbowhttp://www.xbow.com