skip to main content
research-article

A comparison of software platforms for wireless sensor networks: MANTIS, TinyOS, and ZigBee

Published:09 February 2009Publication History
Skip Abstract Section

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.

References

  1. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  2. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  3. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  4. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  5. Barry, R. 2003. FreeRTOS, A FREE open source RTOS for small embedded real time systems. http://www.freertos.org/PC/.Google ScholarGoogle Scholar
  6. BeeKit. 2004. Freescale's BeeKit. www.freescale.com/zigbee.Google ScholarGoogle Scholar
  7. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  8. BOS. 2006. Jennic: Basic Operating System (BOS) API. http://www.jennic.com/.Google ScholarGoogle Scholar
  9. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  10. Ember. 2001. Zigbee Wireless Semiconductor Solutions by Ember. www.ember.com.Google ScholarGoogle Scholar
  11. Freescale. 2008. Freescale, 802.15.4 Media Access Controller MyWirelessApp User Guide. http://www.freescale.com.Google ScholarGoogle Scholar
  12. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  13. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  14. Halbwachs, N. 1993. Synchronous Programming of Reactive Systems. Kluwer Academic Publishers, Dordrecht, The Netherlands. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. IEEE. 2003. IEEE 802.15.4 WPAN-LR Task Group. http://www.ieee802.org/15/pub/TG4.html.Google ScholarGoogle Scholar
  16. 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 ScholarGoogle Scholar
  17. 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 ScholarGoogle Scholar
  18. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  19. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  20. 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 ScholarGoogle Scholar
  21. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  22. Rtw. 2008. Real-Time Workshop - Generate C code from Simulink models and MATLAB code. http://www.mathworks.com/products/rtw/.Google ScholarGoogle Scholar
  23. SF. 2008. Stateflow - Design and simulate state machines and control logic. http://www.mathworks.com/products/stateflow/.Google ScholarGoogle Scholar
  24. Texas. 1996. ZigBee: IEEE 802.15.4 from Texas Instruments.Google ScholarGoogle Scholar
  25. ZigBee. 2002. ZigBee Alliance. http://www.zigbee.org/.Google ScholarGoogle Scholar

Index Terms

  1. A comparison of software platforms for wireless sensor networks: MANTIS, TinyOS, and ZigBee

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader
      About Cookies On This Site

      We use cookies to ensure that we give you the best experience on our website.

      Learn more

      Got it!