Developing a WSN application using Crossbow devices and software Anil Karamchandani.

16
Developing a WSN application using Crossbow devices and software Anil Karamchandani

Transcript of Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Page 1: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Developing a WSN application using Crossbow devices and software

Anil Karamchandani

Page 2: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Agenda

Introduction to Crossbow and Moteworks Description of Moteworks Platform Overview of Crossbow wireless sensor equipments Demo

Page 3: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Introduction to Crossbow and Moteworks

Crossbow was started in 1995 and was involved in the software and hardware aspects to develop tools for wireless sensors

Crossbow was one of the first suppliers of the Berkeley-style MICA motes

After the invention of MICA motes their other products included the MICA2 (868/916 MHz) and MICAz (2.4 GHz) motes, and the Intel-designed IMOTE2

In the software design platform, Crossbow created MoteWorks for all its hardware application

Page 4: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Introduction to Crossbow and Moteworks

Key Features of MoteWorks

Supports all Crossbow MICA and IRIS series Mote hardware and sensor boards

MoteView: Rich interface for visualization and analysis of sensor data streams

MoteConfig: Simple graphical interface to program flash and configure firmware images

XServe: Powerful utilities for data logging, parsing, conversions, and alerts

Cygwin: Command line shell and development environment Programmers Notepad: Rich text editor and compilation front-end

Page 5: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Description of Moteworks Platform

Page 6: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Overview of Crossbow wireless sensor equipments

Sensor Data Acquisition Boards

Processor/Radio Platforms or “Motes”

Gateways and Network Interfaces

Page 7: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Sensor Data Acquisition Boards

Page 8: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

MTS 310 Sensor

Page 9: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Processor/Radio Platforms or “Motes”

Page 10: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

MICA 2 Mote

Page 11: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Gateways and Network Interfaces

Page 12: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

MIB 510

Page 13: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Project Demo

Objective :

To develop a simple sensing application (MyApp_Sensor) that samples the temperature on a sensor board and sends the message packet over a RS- 232 serial connection

Tools Utilized:

• MICA2 Mote: Standard edition of MICA2

• One Sensor or Data acquisition board: MTS 310

• One Gateway/Programming board: MIB510/MIB 520

• A Windows PC with MoteWorks platform installed

Page 14: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Project Demo – Configuration and Procedure for developing a sensor application

Page 15: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Project – Demo

Within the MoteWorks framework a minimum of five files will be placed in any application’s directory:

MakeFile MakeFile.component Application Configuration written in nesc Application module written in nesc Readme (optional)

Page 16: Developing a WSN application using Crossbow devices and software Anil Karamchandani.

Project Demo - Steps

Use Programmer’s Notepad

Compile: Select Tools > make mica2

If successful we get “writing TOS image” in output

Load Program: Select Tools>shell and type in make mica2 reinstall

mib510,com1 or Use MoteConfig

Output: xserve –device=COM1

(* Configure MakeXbowLocal file according to application and hardware need

such as frequency, power, channel, port number etc. before following these

steps)