Freemote Emulator: A Lightweight and Visual Java Emulator for WSN

  • Timothée Maret
  • Raphaël Kummer
  • Peter Kropf
  • Jean-Frédéric Wagen
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5031)


Research on Wireless Sensor Networks (WSNs) has developed highly optimized software environments fitting the limited hardware resource constraints of Motes. Unfortunately, these environments suffer from relatively complex programming models. Nowadays well known languages such as Java and optimized JVMs become available and simplify the application development for the Motes. Thus, we developed the Freemote Emulator which is a Java based emulator providing a lightweight emulation tool for emerging Java based Motes. It runs experiments in real time mixing real and emulated nodes. Its layered architecture and a set of predefined code templates allow developers to quickly produce runnable code for real and emulated nodes as well as predefined scenarios to help the newcomers to introduce into the system and WSNs. Our emulator provides as well a useful visualization tool based on a parametrizable slow down feature that helps to understand complex WSN behaviours and to debug tricky implementation problems. Finally, a single emulation can run on several computers, thus allowing programmers to conduct experiments with a pretty large number of emulated and real nodes.


Wireless Sensor Networks Lightweight Emulator Java Based Motes Freemote 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Johnson, D., Stack, T., Fish, R., Flickinger, D.M., Stoller, L., Ricci, R., Lepreau, J.: Mobile Emulab: A Robotic Wireless and Sensor Network Testbed. In: Proceedings of INFOCOM, pp. 1–12 (2006)Google Scholar
  2. 2.
    Osterlind, F., Dunkels, A., Eriksson, J., Finne, N., Voigt, T.: Cross-Level Sensor Network Simulation with COOJA. In: Proceedings of SenseApp, pp. 641–648 (2006)Google Scholar
  3. 3.
    Apache Software Foundation, Apache Logging Services Project - Apache log4j, last accessed January 3th, 2008,
  4. 4.
    Koshy, J., Pandey, R.: Vm*: Synthesizing scalable runtime environments for sensor networks. In: Proceedings of SenSys (2005)Google Scholar
  5. 5.
    Polley, J., Blazakis, D., McGee, J., Rusk, D., Baras, J.S.: ATEMU: a fine-grained sensor network simulator. In: Proceedings of SECON, pp. 145–152 (2004)Google Scholar
  6. 6.
    Titzer, B.L., Lee, D.K., Palsberg, J.: Avrora: scalable sensor network simulation with precise timing. In: Proceedings of IPSN, pp. 477–482 (2005)Google Scholar
  7. 7.
    Eriksson, J., Dunkels, A., Finne, N., Österlind, F., Voigt, T.: Mspsim - an extensible simulator for msp430-equipped sensor boards. In: Proceedings of EWSN (2007)Google Scholar
  8. 8.
    Sundresh, S., Wooyoung, K., Agha, G.: SENS: A Sensor, Environment and Network Simulator. In: Proceedings of the Simulation Symposium, pp. 221–228 (2004)Google Scholar
  9. 9.
    Levis, P., Lee, N., Welsh, M., Culler, D.: TOSSIM: Accurate and Scalable Simulation of Entire TinyOS Applications. In: Proceedings of Sensys (2003)Google Scholar
  10. 10.
    Girod, L., Ramanathan, N., Elson, J., Stathopoulos, T., Lukac, M., Estrin, D.: Emstar: A software environment for developing and deploying heterogeneous sensor-actuator networks. TOSN 3 (2007)Google Scholar
  11. 11.
    Werner-Allen, G., Swieskowski, P., Welsh, M.: MoteLab: a wireless sensor network testbed. In: Processing of IPSN, pp. 483–488 (2005)Google Scholar
  12. 12.
    Müller, R., Alonso, G., Kossmann, D.: A Virtual Machine for Sensor Networks. In: Proceedings of EuroSys (2007)Google Scholar
  13. 13.
    Levis, P., Culler, D.: Maté: a tiny virtual machine for sensor networks. In: Proceedings of ASPLOS, pp. 85–95 (2002)Google Scholar
  14. 14.
    Levis, P., Gay, D., Culler, D.: Active sensor networks. In: Proceedings of NSDI, pp. 343–356 (2005)Google Scholar
  15. 15.
    Shaylor, N., Simon, D.N., Bush, W.R.: A java virtual machine architecture for very small devices. In: Proceedings of SIGPLAN, pp. 34–41 (2003)Google Scholar
  16. 16.
    Maret, T., Kropf, P., Hirsbrunner, B.: Un environnement d’émulation hybride pour un algorithme de DHT adapté au contexte des réseaux ad hoc. Master Thesis. Universities of Fribourg & Neuchâtel (2007)Google Scholar
  17. 17.
    Kummer, R., Kropf, P., Felber, P.: Distributed Lookup in Structured Peer-to-Peer Ad-Hoc Networks. In: Proceedings of DOA (2006)Google Scholar
  18. 18.
    Göktürk, E.: A Stance on Emulation and Testbeds, and A Survey of Network Emulators and Testbeds. In: Proceedings of ECMS (2007)Google Scholar
  19. 19.
    Rieder, M., Joye, P., Clerc, A., Maret, T., Steiner, R., Sterren, T.: ADS Project. Technical Report, HES-SO RCSO.TIC (2007)Google Scholar
  20. 20.
    Clerc, A., Joye, P., Rieder, M., Schroeter, N.: BlueBee: A ZigBee and Bluetooth extension board for PDA Java. Technical report of ADS Project, University of Applied Science of Fribourg (2007)Google Scholar
  21. 21.
    Maret, T., Martenet, N., Joye, P., Schroeter, N.: PDA Java: A Java Based Embedded System. Technical report, University of Applied Science of Fribourg (2005)Google Scholar
  22. 22.
    Perkins, C., Royer, E.: Ad-hoc on-demand distance vector routing. In: Proceedings of WMCSA, pp. 90–100 (1999)Google Scholar
  23. 23.
    Gomez, C., Salvatella, P., Alonso, O., Paradells, J.: Adapting AODV for IEEE 802.15.4 mesh sensor networks: theoretical discussion and performance evaluation in a real environment. In: WoWMoM, pp. 159–170 (2006)Google Scholar
  24. 24.
    Sun Microsystems, SunSpotWorld - Home of Project Sun SPOT, last accessed (January 2, 2008),
  25. 25.
    Sentilla Corporation, Sentilla | Software Architecture, last accessed (January 3, 2008),

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Timothée Maret
    • 1
  • Raphaël Kummer
    • 2
  • Peter Kropf
    • 2
  • Jean-Frédéric Wagen
    • 1
  1. 1.TIC InstituteUniversity of Applied Science of FribourgFribourgSwitzerland
  2. 2.Computer Science DepartmentUniversity of NeuchâtelNeuchâtelSwitzerland

Personalised recommendations