: Enabling Wireless Sensor Network Research Geoffrey Werner-Allen and Matt Welsh Harvard University werner@eecs.harvard.edu http://motelab.eecs.harvard.edu TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University What is MoteLab? ● ● Web-enabled testbed for Ethernet-connected motes – 30 MicaZ nodes distributed throughout our CS building at Harvard – Simple Web interface for scheduling and programming Automated logging to database – ● All messages send to mote's serial port logged to database Integrated power profiling – Power consumption of one mote logged TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University The “eMote” TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University MoteLab Design Goals ● Accelerate wireless sensor network software design cycle ● Automate data collection ● Simplify data retreival ● Provide ubiquitous interface ● Allow global access ● Transparently arbitrate resources among competing users TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University User Interface : Home Page Shows information about scheduling, running, and completed jobs, and allows data download TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University User Interface : Job Creation We provide a number of different ways of assigning executable to nodes TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University User Interface : Data Retrieval After the job completes, we download collected data from the homepage TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University Access Control ● ● ● Rolling user quotas – decremented on job schedule – incremented on job completion Transparent job schedule – users can observe greedy behavior – allows correct scheduling of temporally-sensitive jobs Lab administrators have full control over scheduling TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University Lab Partitioning ● Breaks testbed into multiple independent chunks – ● Users can select a subset of motes to execute their job – ● Suggested by Eric Fraser at UCB At Harvard : “MD East”, “MD West”, or “MD All” subsets of the lab Easy to define new spatial partitions as necessary TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University Interactive Use ● Each mote's serial port available via TCP/IP ● Allows interactive use while a job is running ● Does not interfere with database logging TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University Power Profiling Sample data collected from node instrumented with Keithley 2701 Digital Multimeter Continuous Mode : 250 Hz Burst Mode : 3000 Hz TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University Connectivity Graphs Lab connectivity information collected regularly by a standard MoteLab job TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University MoteLab @ Harvard : Uses ● ● Education – Two courses have created MoteLab-based class assignments – Numerous course projects have used MoteLab Research – MoteLab has aided in almost every sensor network-related research project, including CodeBlue, TOSSIM, and Volcanic Monitoring TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University Future Work ● In progress – ● Scripting Interface (Kyle Jameison, Bret Hull, MIT) Planned – Continue Modularization – Integrate with other hardware platforms (e.g., Telos) – Decouple access and job scheduling TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University MoteLab is OPEN for ACCOUNTS email: werner@eecs.harvard.edu for SOURCE visit: motelab.eecs.harvard.edu TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University User Interface : Job Creation Job creation begins with naming and a description TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University User Interface : Job Creation Jobs consist of executable files to reprogram the nodes and class files that allow us to parse sent messages TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University User Interface : Job Creation Power profiling is one of several job options that we support TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University User Interface : Scheduling Here we've selected a 15 minute interval to run our job TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University User Interface : Scheduling We've successfully scheduled our job, and the schedule page reflects that it is waiting to be run TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University MoteLab Architecture TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University MoteLab @ Harvard : Stats ● ● 30 nodes over 3 floors of a large office building Statistics, over 16 months: – 85 users, 58 Harvard, 27 external – 820 unique jobs created – 2516 experiments run – Average job length: 20 minutes – Longest job : 5.5 hours TinyOS Technology Exchange 2005, © Geoffrey Werner-Allen, Harvard University