Wireless Data Acquisition and Routing in Tiny OS

Download Report

Transcript Wireless Data Acquisition and Routing in Tiny OS

Wireless Data Acquisition and Routing
in
By Clifton Bradley, Brian Kessler and
Ryan Vinelli
Programming the Mica2 Motes

Used SensorToRfm as a base to send a packet
of sensor readings for:
Temperature
 Light
 LED


Use Surge for Multihop routing
Planned Functionality

Broadcast Sensor Readings to Base Station
If N-hops away have (N-1)-hop motes route packets
 LEDs will indicate transmissions.


Use a Simple Routing Scheme


The multi-hop implementation consists of two core
modules, and uses a shortest-path algorithm
Base Station will run a simple Java program
(based off of Listen.java) to display Mote ID
and Sensor reading
TOSSIM/TINYVIZ

No available Mica2 Motes so emulated
environment:
/opt/tinyos-1.x/tools/java/net/tinyos/sim
 tinyviz –nosf –nolaf -run build/pc/main.exe 30

Problems

Environment
Fedora 5 (Java Comm issues – found from toscheck)
 Windows XP with Cygwin Installer (worked)


Emulation
TinyViz Java runtime errors
 Generating Nodes that do what I want
