180 likes | 285 Views
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
E N D
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
Iris TOS v.1.x-2.0 MicaZ Imote2 Mica2Dot Ad-hoc Networking TelosB Mica2 “Out of the Box” WSNs Enabling Technologies: + Commercially available sensor boards Open source OS with support for ad hoc networking
Mesh sensor network Server Gateway Remote Monitoring Applications
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: • Direct Connection • WAN Connection • Bluetooth
Option 1: Direct Connection Serial Port • Pros: • Low Power • Reliable • Cons: • Portability • Interface • Cumbersome The phone is physically connected to one of the sensor nodes
Internet WEB Option 2: WAN Connection GPRS WiFi TCP/IP Server • Pros: • Standard progr. • tools (i.e. sockets) • Apps (Browser) • Cons: • No local access • Cost The phone uses a WAN connection to access the WSN information
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
Transparent Data Forwarding Data Data Radio MCU UART Cmd Cmd Standard Data Flow TinyOS Pkt Data TinyOS Pkt Data 0101101100110 RS232 / USB Processing &Data Storage WSN Gateway TinyOS Pkt Cmd TinyOS Cmd 0101101100110
Bluetooth BlueRadios BR-C40A With Serial Port Profile BT RFCOMM TelosB with the Bluetooth Module Cmd Data Bluetooth Gateway RS232 / USB Data Data Radio MCU UART Cmd Cmd
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) Moto Q version IDEN i870 Version • MIDlet written using J2ME: • MIDP 2.0 • CLDC 1.1 • Bluetooth API (JSR-82) The software on the phone is based on a “stripped down” version of the JAVA classes distributed with TinyOS for packet handling Java Software
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)