tinyLAB: A Matlab-Based Framework for Interaction with Wireless Sensor Networks Silvia Santini Institute for Pervasive Computing, ETH Zurich, Switzerland [email protected]

I. D EMO A BSTRACT The first steps towards a wireless sensor network deployment often include a preliminary stage in which sensor data is collected, visualized and carefully analyzed. In this stage, developers often undergo a time-consuming procedure logging data first and analyzing it later with standard or ad-hoc tools. The possibility to visualize and process the sensor data and interact with the network (e.g., to change the current sampling rate) in real-time could therefore ease and speed-up the preliminary data analysis, as well as support debugging and network inspection in a later stage. To this scope, a bunch of tools have been designed and developed within, but unfortunately not always distributed to the research community [1]–[4]. Furthermore, such tools are usually tailored to specific applications or needs and thus provide limited or constrained functionalities. The Matlab computing environment, on the contrary, is widely used across different scientific communities and is therefore particularly wellsuited to serve as a generic data managing platform also in the context of wireless sensor networks. Indeed, the TinyOS software suite includes a collection of Matlab scripts that allow to access and use the TinyOS Java toolchain, thereby providing basic primitives to interact with a sensor network from within Matlab. However, this solution requires binding Matlab to the TinyOS tools and thus limits flexibility and portability. 1

%t e s t T i n y L A B tinyLAB e x a m p l e a p p l i c a t i o n

2 3 4 5 6

s r c = P a c k e t S o u r c e ( ’ new ’ , ’ serial@COM1 : t m o t e ’ ) ; sink=PacketSink (7 , ’ this ’ , ’ basic ’ , ’ testFcn ’ ) ; P a c k e t S o u r c e ( ’ bind ’ , src , s i n k ) ; startReceiving ( src );

To overcome these limitations, we developed tinyLAB, a simple framework completely implemented in Matlab that allows to receive and send messages from and to a TinyOS1.x-based sensor network. Avoiding any cumbersome installation procedure, tinyLAB enables using the full Matlab computing power to manage incoming messages, process, store and visualize data as it comes from

the network, as well as to send controls to specific nodes or the whole network. To ease application development tinyLAB relies on the two basic abstractions of PacketSource and PacketSink. A PacketSource basically wraps a communication channel, like a serial or TCP/IP port, and provides PacketSinks with properly parsed packets. A PacketSink declares interest in all or specific messages coming from a PacketSource and defines the payload parsing modalities as well as further operations to execute on the incoming data. For instance, the code snippet in this page shows a simple tinyLAB application instantiating a PacketSink that will receive (from a PacketSource wrapping the serial port COM 1) packets with AMtype 7, that will in turn beforwarded to the testFcn callback function for further processing. The tinyLAB framework, along with a user guide and application examples, is available for download at www.inf.ethz.ch/personal/santinis/research/code/ . We are currently extending the framework to support also tinyOS2.x-based networks and we plan to distribute the next version of tinyLAB through the Matlab Central File Exchange platform [5]. We demonstrate tinyLAB by running, and modifying ondemand, a test application that collects, processes, visualizes and stores data received in real-time from a small network of Tmote Sky sensor nodes. R EFERENCES [1] P. Buonadonna et al., “TASK: Sensor Network in a Box,” in Proceedings of the 2nd European Workshop on Wireless Sensor Networks (EWSN’05), Istanbul, Turkey, Feb. 2005. [2] K. Whitehouse et al., “Marionette: Using RPC for Interactive Development and Debugging of Wireless Embedded Networks,” in Proceedings of the 5th Intl. Symposium on Information Processing in Sensor Networks (IPSN’06), Nashville (TN), USA, April 2006, pp. 416–423. [3] R. Guy et al., “Experiences with the Extensible Sensing System ESS,” UCLA Center for Embedded Network Sensing, Tech. Rep. 01-310-825-3127, January 2006. [4] B. Greenstein et al., “A Sensor Network Application Construction Kit (SNACK),” in Proceedings of the 2nd Intl. Conf. on Embedded Networked Sensor Systems (SenSys’04), Baltimore (MD), USA, November 2004. [5] “Matlab Central - File Exchange,” www.mathworks.com/ matlabcentral/fileexchange/.

tinyLAB: A Matlab-Based Framework for Interaction with ...

[3] R. Guy et al., “Experiences with the Extensible Sensing. System ESS,” UCLA Center for Embedded Network Sens- ing, Tech. Rep. 01-310-825-3127, January ...

55KB Sizes 1 Downloads 188 Views

Recommend Documents

A Framework for Exploring the Interaction Between ...
lead to a low resistance path between source and drain of the transistor after line-end ..... [ACM/IEEE Design Automation Conference], 270–271 (June 2007).

Revised framework for interaction between the European Medicines ...
Dec 15, 2016 - and explore where nurses' input into EMA activities would be of ... support to innovation (i.e. personalised medicine) ... training programmes).

A common coding framework in self–other interaction ...
tigate the formation of self–other interaction because it provides information about the NoGo trials where no overt response can be recorded at behavioral level. Two ERP components, the N2 and the P3, are of direct relevance to the current task. Th

A common coding framework in self–other interaction ...
Received: 29 November 2005 / Accepted: 10 May 2006 / Published online: 24 June 2006. © Springer-Verlag .... tial positions (left, middle, and right) on a computer screen. .... original degrees of freedom are given. ..... Science 21:171–186.

Framework for exploring the interaction between design ...
Aug 19, 2013 - CD variability,2,3 has made overlay control even more critical ...... .ymsmagazine.com/archive/summer-2006-volume-8-issue-2.html (28.

A Proposed Framework for Proposed Framework for ...
approach helps to predict QoS ranking of a set of cloud services. ...... Guarantee in Cloud Systems” International Journal of Grid and Distributed Computing Vol.3 ...

Designing with data: A framework for the design professional
Products become tools that deliver a complete experience within a complex system for the user. How can a designer stay relevant in this process, where users have the ... 2. Generative: Create design opportunities. 3. Evaluative: Further development o

A Potential-based Framework for Online Learning with ...
This framework immediately yields natural generalizations of existing algorithms. (e.g. Binomial Weight [CFHW96] or Weighted Majority [LW94, Vov95]) onto online learning with abstentions. 1 Introduction. In many applications of machine learning, misc

A Potential-based Framework for Online Learning with ...
Show xt ∈ /. Predict yt ∈ 1-1, +1, +l. Reveal yt ∈ 1-1, +1l. Reliable predictions on non-abstention examples. Performance Metrics: ▷ Mistakes: ∑t I(yt = -yt) ...

A uniform framework for substructural logics with ...
way of constructing theorem provers for different logics, all of them based on the ..... We call each sequent in a linear nested sequent a component and we will ...... Advances in Modal Logic 9, papers from the ninth conference on ”Advances in ...

A Potential-based Framework for Online Learning with ...
A Potential-based Framework for Online Learning with Mistakes and Abstentions. Chicheng Zhang joint work with Kamalika Chaudhuri. UC San Diego. NIPS Workshop on Reliable Machine Learning in the Wild ...

Revised framework of interaction between EMA and healthcare ...
Dec 15, 2016 - Refine efforts in the domain of information on medicines to ... Share best practices on how healthcare professionals' organisations are creating ...

Binding Interaction of a Biological Photosensitizer with ...
medical interest. PDT produces singlet oxygen ... Published on Web 02/22/2007 ... Some of them are based on other methods, for example, microdialysis ... decay curves were analyzed using IBH DAS-6 decay analysis software. Goodness of ...

Interaction with autonomous, mobile agents in a hazard ...
situation-aware pervasive system to support debris- flow disaster prediction and alerting in Taiwan. Network and Computer Applications 31(2008), 1–18. [8] McQuiggan, S. and Lester, J. Modeling and. Evaluating Empathy in Embodied Companion Agents. I

Developing a Framework for Decomposing ...
Nov 2, 2012 - with higher prevalence and increases in medical care service prices being the key drivers of ... ket, which is an economically important segmento accounting for more enrollees than ..... that developed the grouper software.

A framework for consciousness
needed to express one aspect of one per- cept or another. .... to layer 1. Drawing from de Lima, A.D., Voigt, ... permission of Wiley-Liss, Inc., a subsidiary of.

A GENERAL FRAMEWORK FOR PRODUCT ...
procedure to obtain natural dualities for classes of algebras that fit into the general ...... So, a v-involution (where v P tt,f,iu) is an involutory operation on a trilattice that ...... G.E. Abstract and Concrete Categories: The Joy of Cats (onlin

Microbase2.0 - A Generic Framework for Computationally Intensive ...
Microbase2.0 - A Generic Framework for Computationally Intensive Bioinformatics Workflows in the Cloud.pdf. Microbase2.0 - A Generic Framework for ...

A framework for consciousness
single layer of 'neurons' could deliver the correct answer. For example, if a ..... Schacter, D.L. Priming and multiple memory systems: perceptual mechanisms of ...

A SCALING FRAMEWORK FOR NETWORK EFFECT PLATFORMS.pdf
Page 2 of 7. ABOUT THE AUTHOR. SANGEET PAUL CHOUDARY. is the founder of Platformation Labs and the best-selling author of the books Platform Scale and Platform Revolution. He has been ranked. as a leading global thinker for two consecutive years by T

Developing a Framework for Evaluating Organizational Information ...
Mar 6, 2007 - Purpose, Mechanism, and Domain of Information Security . ...... Further, they argue that the free market will not force products and ...... Page 100 ...

European Medicines Agency's interaction with patients, consumers ...
Jun 15, 2017 - training tools and materials and developing new ones ..... which is responsible for the assessment and monitoring of human ...... Alert Card).

unit 11 human interaction with environment - eGyanKosh
instructional objectives using the locally available resources. At the end of ..... 3. Give at least two examples from primary occupations and tertiary occupations.