Abstract
Wireless sensor networks are characterized by very tight code size and power constraints and by a lack of well-established standard software development platforms such as Posix. In this article, we present a comparative study between a few fairly different such platforms, namely MANTIS, TinyOS, and ZigBee, when considering them from the application developer's perspective, that is, by focusing mostly on functional aspects, rather than on performance or code size. In other words, we compare both the tasking model used by these platforms and the API libraries they offer. Sensor network applications are basically event based, so most of the software platforms are also built on considering event handling mechanism, however some use a more traditional thread based model. In this article, we consider implementations of a simple generic application in MANTIS, TinyOS, and the Ember ZigBee development framework, with the goal of depicting major differences between these platforms, and suggesting a programming style aimed at maximizing portability between them.
- Abdelzaher, T., Blum, B., Cao, Q., Chen, Y., Evans, D., George, J., George, S., Gu, L., He, T., Krishnamurthy, S., Luo, L., Son, S., Stankovic, J., Stoleru, R., and Wood, A. 2004. Envirotrack: Towards an environmental computing paradigm for distributed sensor networks. In Proceedings of the 24th International Conference on Distributed Computing Systems (ICDCS'04). IEEE, Los Alamitos, CA, 582--589. Google Scholar
Digital Library
- Bakshi, A., Ou, J., and Prasanna, V. K. 2002. Towards automatic synthesis of a class of application-specific sensor networks. In Proceedings of the International Conference on Compilers, Architecture, and Synthesis for Embedded Systems. ACM, New York, 50--58. Google Scholar
Digital Library
- Bakshi, A. and Prasanna, V. K. 2004. Algorithm design and synthesis for wireless sensor networks. In Proceedings of the International Conference on Parallel Processing (ICPP'04). IEEE, Los Alamitos, CA, 423--430. Google Scholar
Digital Library
- Bakshi, A., Prasanna, V. K., Reich, J., and Larner, D. 2005. The abstract task graph: a methodology for architecture-independent programming of networked sensor systems. In Proceedings of the Workshop on End-To-End, Sense-And-Respond Systems, Applications and Services. ACM, New York, 19--24. Google Scholar
Digital Library
- Barry, R. 2003. FreeRTOS, A FREE open source RTOS for small embedded real time systems. http://www.freertos.org/PC/.Google Scholar
- BeeKit. 2004. Freescale's BeeKit. www.freescale.com/zigbee.Google Scholar
- Bhatti, S., Carlson, J., Dai, H., Deng, J., Rose, J., Sheth, A., Shucker, B., Gruenwald, C., Torgerson, A., and Han, R. 2005. Mantis os: an embedded multithreaded operating system for wireless micro sensor platforms. Mob. Netw. Appl., 10, 4, 563--579. Google Scholar
Digital Library
- BOS. 2006. Jennic: Basic Operating System (BOS) API. http://www.jennic.com/.Google Scholar
- Dunkels, A., Gronvall, B., and Voigt, T. 2004. Contiki - a lightweight and flexible operating system for tiny networked sensors. In Proceedings of the 29th Annual IEEE International Conference on Local Computer Networks (LCN'04). IEEE, Los Alamitos, CA, 455--462. Google Scholar
Digital Library
- Ember. 2001. Zigbee Wireless Semiconductor Solutions by Ember. www.ember.com.Google Scholar
- Freescale. 2008. Freescale, 802.15.4 Media Access Controller MyWirelessApp User Guide. http://www.freescale.com.Google Scholar
- Fung, W. F., Sun, D., and Gehrke, J. 2002. Cougar: the network is the database. In Proceedings of the ACM SIGMOD International Conference on Management of Data. ACM, New York, 621. Google Scholar
Digital Library
- Gummadi, R., Gnawali, O., and Govindan, R. 2005. Macro-programming wireless sensor networks using kairos. In Proceedings of the International Conference on Distributed Computing in Sensor Systems (DCOSS). Springer-Verlag, Berlin, Germany. Google Scholar
Digital Library
- Halbwachs, N. 1993. Synchronous Programming of Reactive Systems. Kluwer Academic Publishers, Dordrecht, The Netherlands. Google Scholar
Digital Library
- IEEE. 2003. IEEE 802.15.4 WPAN-LR Task Group. http://www.ieee802.org/15/pub/TG4.html.Google Scholar
- Jaikaeo, C., Srisathapornphat, C., and Shen, C.-C. 2000. Querying and tasking in sensor networks. In Proceedings of the 14th Annual International Symposium on Aerospace/Defense Sensing, Simulation, and Control. Elsevier Science Ltd., Oxford, UK.Google Scholar
- Levis, P., Madden, S., Gay, D., Polastre, J., Szewczyk, R., Whitehouse, K., Woo, A., Gay, D., Hill, J., Welsh, M., Brewer, E., and Culler, D. 2004. TinyOS: An Operating System for Sensor Networks. Springer-Verlag, Berlin, Germany.Google Scholar
- Madden, S. R., Franklin, M. J., Hellerstein, J. M., and Hong, W. 2005. Tinydb: an acquisitional query processing system for sensor networks. ACM Trans. Datab. Syst., 30, 1, 122--173. Google Scholar
Digital Library
- Mannion, R., Hsieh, H., Cotterell, S., and Vahid, F. 2005. System synthesis for networks of programmable blocks. In Proceedings of the Conference on Design, Automation and Test in Europe. ACM, New York, 888--893. Google Scholar
Digital Library
- Mozumdar, M. M. R., Gregoretti, F., Lavagno, L., Vanzago, L., and Olivieri, S. 2008. A framework for modeling, simulation and automatic code generation of sensor network application. In Proceedings of the 5th Annual IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks (SECON'08). IEEE, Los Alamitos, CA.Google Scholar
- Newton, R. and Welsh, M. 2004. Region streams: functional macroprogramming for sensor networks. In Proceedings of the 1st International Workshop on Data Management for Sensor Networks. ACM, New York, 78--87. Google Scholar
Digital Library
- Rtw. 2008. Real-Time Workshop - Generate C code from Simulink models and MATLAB code. http://www.mathworks.com/products/rtw/.Google Scholar
- SF. 2008. Stateflow - Design and simulate state machines and control logic. http://www.mathworks.com/products/stateflow/.Google Scholar
- Texas. 1996. ZigBee: IEEE 802.15.4 from Texas Instruments.Google Scholar
- ZigBee. 2002. ZigBee Alliance. http://www.zigbee.org/.Google Scholar
Index Terms
A comparison of software platforms for wireless sensor networks: MANTIS, TinyOS, and ZigBee
Recommendations
Partitioning Sensors by Node Coverage Grouping in Wireless Sensor Networks
ISPA '10: Proceedings of the International Symposium on Parallel and Distributed Processing with ApplicationsThe study of wireless Sensor Networks (WSN)recently has drawn a lot of attention. Such networks are composed of a large number of tiny wireless sensors, which have limited calculating capability as well as limited power typically supplied by ...
Relay Node Placement in Wireless Sensor Networks
A wireless sensor network consists of many low-cost, low-power sensor nodes, which can perform sensing, simple computation, and transmission of sensed information. Long distance transmission by sensor nodes is not energy efficient since energy ...
Sensor scheduling for p-percent coverage in wireless sensor networks
We study sensor scheduling problems of p-percent coverage in this paper and propose two scheduling algorithms to prolong network lifetime due to the fact that for some applications full coverage is not necessary and different subareas of the monitored ...






Comments