Transcript Document

The Personal Sensor Network:
a
User-Centric Monitoring Solution
BodyNets 07, Firenze 13 Giugno 2007
S.K.S. Gupta,
IMPACT Lab, Arizona State University
G. Giorgetti, G. Manes, Dip. Elettronica e Telecom., Università degli Studi di Firenze
J.H. Lewis, Sal T. Mastroianni, Embedded Systems Research, Motorola Labs
“Out of the Box” WSNs
Enabling Technologies:
Iris
MicaZ
Imote2
Mica2Dot
Mica2
+
TelosB
Commercially available
sensor boards
Open source OS with support
for ad hoc networking
Remote Monitoring Applications
Mesh sensor
network
Server
Gateway
More Sensor Network Applications…
Is a computer always necessary (or desirable) ?
Emergency
Response
Health
Care
Recreational
Applications
The Power in Your Hands
• Computation
• Communication (GPRS, WiFi, Bluetooth,…)
• User Interface (Hi-Res display, Multimedia,…)
• Development Tools (Java, .NET,…)
… and much more
Phone to WSN Interface
Design Principles:
• To minimize the changes to the
existing WSN architecture (required
to maintain backward compatibility
with previous apps.)
• To leverage COTS hardware and
existing software solutions (to
minimize the development time).
Issues to address:
• Phone to sensors interface
• Data handling on the cell phone
Monitoring and
Control Software
Phone to sensor interface:
We evaluated three options:
1. Direct Connection
2. WAN Connection
3. Bluetooth
Option 1: Direct Connection
Pros:
• Low Power
• Reliable
Serial Port
The phone is physically
connected to one of the
sensor nodes
Cons:
• Portability
• Interface
• Cumbersome
Option 2: WAN Connection
GPRS
WiFi
Internet
WEB
TCP/IP
Server
Pros:
• Standard progr.
tools (i.e. sockets)
• Apps (Browser)
Cons:
The phone uses a WAN
connection to access the WSN
information
• No local access
• Cost
Option 3: Bluetooth
Pros:
• Universal Connect.
• Ubiquitous
Cons:
• Custom interface
needed on the GW
The phone uses a Bluetooth
connection to access the WSN
information
Standard Data Flow
TinyOS Pkt
Data
TinyOS Pkt
Data
0101101100110
RS232 / USB
TinyOS Pkt
Processing
Cmd
&Data Storage
0101101100110
WSN TinyOS
Gateway
Cmd
Transparent Data Forwarding
Data
Data
UART
Cmd
MCU
Radio
Cmd
Bluetooth Gateway
RS232 / USB
Data
Data
Radio
MCU
UART
Cmd
Cmd
TelosB with the Bluetooth Module
BlueRadios BR-C40A
With
Serial Port Profile
Cmd
Data
BT
RFCOMM
Software on the Phone
Bluetooth
RFCOMM
Phone Software:
• Establishes the connection to the BT gateway
• Handles the TinyOS packet structure
• Coverts the raw sensor data in engineering units
• Provides the users with a GUI
• Dispatch control commands to the WSN
Software on the Phone (cnt’d)
IDEN i870 Version
MIDlet written using J2ME:
• MIDP 2.0
• CLDC 1.1
• Bluetooth API (JSR-82)
Moto Q version
The software on the phone is based on a
“stripped down” version of the JAVA
classes distributed with TinyOS for
packet handling
Java Software
The Personal Sensor Network
Demo
Questions?
WSN on the Q Phone
Motorola Q Phone:
- Windows Mobile 5.0 Smartphone edition
- Java support:
IBM WebSphere Everyplace Micro Environment 6.1 (MIDP2.0, free download)