Sensors 2010, 10, 5809-5826; doi:10.3390/s100605809 sensors ISSN 1424-8220 www.mdpi.com/journal/sensors Article Power Consumption Analysis of Operating Systems for Wireless Sensor Networks Rafael Lajara 1, José Pelegrí-Sebastiá 1,* and Juan J. Perez Solano 2 1 Instituto de Investigación para la Gestión Integrada de Zonas Costeras, Universitat Politècnica Valencia, C. Paranimf, 1, 46730 Gandía, Spain; E-Mail:
[email protected] 2 Instituto de Robótica, Universitat de Valencia, C. Polígono de la Coma, s/n, 46980 Paterna, Spain; E-Mail: [email protected] * Author to whom correspondence should be addressed; E-Mail: [email protected]; Tel.: +34-9628-49404; Fax: +34-9628-49309. Received: 19 April 2010; in revised form: 10 May 2010 / Accepted: 25 May 2010 / Published: 8 June 2010 Abstract: In this paper four wireless sensor network operating systems are compared in terms of power consumption. The analysis takes into account the most common operating systems—TinyOS v1.0, TinyOS v2.0, Mantis and Contiki—running on Tmote Sky and MICAz devices. With the objective of ensuring a fair evaluation, a benchmark composed of four applications has been developed, covering the most typical tasks that a Wireless Sensor Network performs. The results show the instant and average current consumption of the devices during the execution of these applications. The experimental measurements provide a good insight into the power mode in which the device components are running at every moment, and they can be used to compare the performance of different operating systems executing the same tasks. Keywords: wireless sensor network operating systems; TinyOS; Mantis; Contiki; MICAz; Tmote 1. Introduction Wireless Sensor Networks (WSNs) are a very promising technology on which many researchers have focused on their attention. This technology has become a reality thanks to the development of OPEN ACCESS
Sensors 2010, 10 5810 wireless transceivers and microcontrollers with very low power consumption. A wireless transceiver in conjunction with a low power microcontroller, some MicroElectroMechanical Systems (MEMS) to measure physical or chemical variables and a battery are the basic elements that are integrated in the nodes of the network. Due to their small size, low cost and easy deployment, the nodes of the network are usually called motes. Motes are small, compact and autonomous devices destined to become ubiquitous. WSN is a technology with an enormous potential that can be used in a high number of heterogeneous applications of interest to society such as environmental monitoring, traffic control, structural monitoring of bridges and buildings, tracking of people and objects, assisted living, etc. The software that runs on the motes plays a fundamental role in the development of WSNs. It controls the mote operation, implements the network protocols and manages the hardware power consumption. Various specific operating systems and programming languages have been proposed to facilitate and speed up the development of new applications. Currently, the most important and widely adopted operating systems for WSN are TinyOS, Contiki and Mantis. The main goals of all of them are to provide a robust and reliable operation and to maintain the mote in the deepest low power mode compatible with the requirements needed at that moment. Low power operation extends the battery lifetime of the motes and it is probably the most important requirement in this type of systems. A WSN can be considered as an embedded system with severe constraints in terms of memory, computational capacity and power consumption. Traditionally, the development of software for embedded systems with very limited resources has been based on event-driven programming models. TinyOS follows the event-driven model and achieves efficient low power consumption operation and low memory footprint by means of a very simple execution model, similar to the way the hardware works. Contiki is the second operating system being taken into account in this analysis. Contiki, together with TinyOS, are nowadays the most important operating systems for WSN. Both of them support IPv6 in their communications stacks, a key feature for an increasing number of companies and research institutions that are pursuing a seamless connection of WSNs to Internet. Contiki can also be considered an event-driven operating system, but it incorporates programming abstractions to manage the synchronization of concurrent tasks that facilitate the programming of high level sequences of actions. Finally, unlike the first two cases, Mantis is an example of multithreading operating system. The main features of Mantis are the integration of a multithreading scheduler and the programming abstractions that deal with concurrent threads. The aim of this article is to analyze and compare the low-level current consumption of the mote during the execution of an application running on different operating systems. These measurements reveal the power state of the hardware and the current drawn by the mote during the program execution. Another effect that is evaluated is the noise that the operating system can generate on the supply voltage of the mote due to continuous changes in the hardware power state. This is the case, for example, of a multi-threading scheduler with no task ready to be run. The mote wakes up when the scheduler timer overflows, however since there is no task ready to be executed, the mote immediately goes back to a power down state. This process produces quick transitions in the mote current consumption and fluctuations in its supply voltage. The inconvenience of having this noise affecting the supply voltage is the risk of interfering with sensitive parts of the mote, such as analog sensors.
Sensors 2010, 10 5811 During the power consumption assessment, a benchmark composed of four applications covering the following operations has been used: scheduling of timed events, data sampling from integrated sensors, data processing and wireless communications. This paper is divided in the following sections. In Section 2 some related papers and their results are presented. Section 3 is devoted to present the most important features of the four WSN operating systems used in this analysis. The motes that have been used and their comparison with other motes are shown in Section 4. In Section 5 the specification of the applications that have been deployed on each operating system is provided. Section 6 illustrates the average and the instant current drawn by the mote and therefore its power mode during the execution of each task. In Section 7 the final conclusions are provided. 2. Related Works In the bibliography there are a large number of articles concerning new protocols, algorithms and operating systems for WSNs. For example, in Table 1, a list of operating systems proposed in this area is shown. This is a large list considering that TinyOS, which can be considered the pioneer of this type of systems, only dates from the beginning of the last decade. Each one of these operating systems has been developed pursuing different objectives and they present different features. Thus, choosing the most appropriate operating system for one specific application is not an easy matter, because there are a lot of proposals and very few papers with practical evaluations and comparisons between them. In particular, power management can be considered as the most important restriction that developers usually face when they are trying to deploy a real WSN. Consequently, the results that are provided in this article try to compare the real power consumption of the most important operating systems running on typical motes, with the intention of helping developers in their choice. Table 1. Operating Systems for Wireless Sensor Networks. OS Model ROM Memory RAM Memory Type of Processes TinyOS v1 Events 3.4 kbytes 336 Bytes Tasks, commands and event handlers TinyOS v2 Events 3.4 kbytes 336 Bytes Tasks, commands and event handlers Contiki Events 3.8 kbytes 230 Bytes Protothreads MantisOS Multithreading 14 kbytes 500 Bytes Threads Nano-RK Multithreading 10 kbytes 2,000 Bytes Tasks with priority t-kernel Multithreading 28.2 kbytes 2,000 Bytes Threads Bertha Mobile agents 10 kbytes 1,500 Bytes Process fragments CORMO Events 5.5 kbytes 130 Bytes Tasks and event handlers SOS Events 20 kbytes 1,163 Bytes Tasks defined as modules SenOS State Machines Not specified Processes Until now, there are very few published articles that include assessments and comparisons between different operating systems in terms of power consumption. The first one is a paper in which a comparison between TinyOS and MantisOS is provided [1]. The main contribution of that paper is the
Sensors 2010, 10 5812 evaluation of the performance of event-driven vs. multi-threaded systems in terms of power consumption and execution time, but the evaluation does not take into account the interaction between hardware and software and how the operating systems manages the different parts of the mote using power adjustment handlers. On the other hand, article [2] gives an assessment of the battery life of the mote running some applications on different operating systems, but it does not give any information about the instant current drained and its relation with the power state of the mote. Finally, in [3] its authors identify and measure the cost of elementary operations with respect to the overall power consumption, but they do not relate this information with real operating systems. Apart from measuring the average and instant current consumption, in that article, the noise that the operating system can introduce in the power supply of the mote during its operation is taken into account. This is an important matter because the noise can affect the data acquired from the mote’s analog sensors and it has not been considered before in this context. Other authors have confirmed this risk [4] and its effect over sensors has been studied in [5]. 3. Operating Systems This section provides a summary of the most important operating systems for wireless sensor networks. The attention has been focused on four of them, basing this selection on certain parameters, such as: the number of publications about them or the activity of the communities that support them. Concerning the number of publications, the percentage of articles related to each operating system included in the main scientific and engineering online databases has been calculated. The databases considered were: IEEE Xplore, ACM Digital Library and Science Direct. The percentages are: 81% TinyOS, 9% Contiki, 8% Mantis and 1% others. The supporting most active communities are the TinyOS development group, with more than 10 new releases in a decade, support for 12 different platforms and an annual TinyOS technology exchange developer meeting, and the Contiki group, with seven releases and a development team composed of people from prestigious companies and research institutions. As a result, the following ones have been selected as the most active and widely accepted: TinyOS Version 1.0 [7,8], TinyOS Version 2.0 [9], Contiki [13] and Mantis [10,11]. At the beginning of this analysis, the SOS [12] operating system was also included as well. But, it was finally discarded due to several problems to make all its modules fully functional and the announcement that it is no longer going to be supported by its developers, 3.1. Tinyos version 1.0 (T1) TinyOS was the first event-driven operating system specific for WSN. It was conceived at the University of California (Berkley) as a collection of components that implement basic operations and it is written in a variant of the C programming language named NesC. TinyOS is considered as a component based operating system due to this property. Components are connected to each other by means of interfaces. New applications can be quickly programmed combining components connected using their interfaces. There are components at the highest level that implement protocols, hardware abstractions, data structures, services, etc. Since TinyOS is open source, that is, programmers can combine and adapt its basic components to implement custom applications. Only the components that
Sensors 2010, 10 5813 are really needed in the application are compiled and included in the final executable file, with a significant reduction of the total amount of the mote memory required. TinyOS provides a robust and reliable functionality by making use of static memory allocation and a non-preemptive FIFO scheduler. All the concurrency mechanisms implemented are the hardware interrupts associated with their handlers. When an interrupt occurs, the microcontroller jumps immediately to the corresponding event handler, stopping the execution of the current task. In TinyOS there are basically three types of procedures: (1) commands executed immediately after its invocation and conceived to perform some action on the hardware elements of the mote, (2) event handlers that interrupt the execution of commands and tasks after being activated by the hardware, and (3) tasks that are functions executed in a deferred way. Commands and event-handlers constitute the elements associated to the split-phase execution model that represents the usual way in which programs in TinyOS are structured. When the system attempts to perform an action using some hardware component, first it calls a command that sets the order and immediately ends giving back the control to the system. After the hardware configuration carried out by the command, the mote can be placed in a low power state waiting for the hardware response. The second phase occurs when the interrupt from the hardware is fired and the event handler receives the result from the hardware. This event-driven programming model provides concurrency with low memory overhead and saving energy, since it is adapted to the way in which hardware works. Moreover, the mote components can remain in a low-power mode during periods of inactivity. The main problem of this methodology is the absence of complex concurrency abstractions which make difficult the implementation of mutual exclusion sections or the access to shared resources. For this reason, code specification is mainly made by using state machines that establish the program flow and synchronize the access to the shared system resources. But this programming abstraction based on state machines does not benefit a rapid development of complex new applications. In addition, the lack of support to deal with concurrent tasks makes very difficult to sequence high-level operations and block conditions between tasks. 3.2. Tinyos version 2.0 (T2) The main difference between TinyOS v1.0 and TinyOS v2.0 from the programmer’s point of view is the appearance in the latter of a new class of abstractions, named generic components. They can be included in different components, but each instantiation is a new different copy independent and private from the rest of them. TinyOS v2 also improves some aspects related to the platform support, reliability of the basic components and data structures. The boot sequence has also been changed and it can be blocked during a certain time to avoid race conditions during the execution of different concurrent tasks. 3.3. Contiki Contiki was developed at the Swedish Institute of Computer Science. As in the case of TinyOS, Contiki can be considered an event-driven operating system but with some particularities that facilitate the development of new applications in which there are several concurrent tasks involved. One of the
Sensors 2010, 10 5814 main contributions of Contiki is the introduction of protothreads. This abstraction allows programmers to block conditions that stop a thread waiting for the activation of an event from another concurrent thread. Protothreads simplify and reduce the number of the state machines needed to implement the sequence of high-level operations. The memory overhead introduced by protothreads is very low because they share the same stack and the thread switching only needs a little rewind of the stack positions. Consequently, protothreads combine the energy efficiency and low memory overhead of event-driven models with blocking conditions semantics and programming simplicity of thread-driven models. Programs in Contiki can be disseminated and executed dynamically. Moreover, the last distributions released include a great variety of communication stacks and protocols such as: uIP, SICSlowpan, Rime, etc. 3.4. MantisOS (MOS) The last operating system taken into account in this analysis is Mantis, developed at the University of Colorado. It is a specific operating system for WSNs that facilitates the programming of new applications with a completely different approach. Mantis makes use of a multi-threaded scheduler allowing that a short task, with strict time constrains, interleaves its execution with other long complex tasks. The scheduler implements a round robin service and includes a queue of tasks ready to be executed. Using a timer, the scheduler divides the microprocessor time in slices and assigns them to the queued tasks. During each time slice only one task is selected and executed whereas the rest of tasks remain in the queue. This thread-driven model is usually employed in modern operating systems and it prevents a complex task from blocking the execution of other time-sensitive task during too much time. However, this ability of accommodate different tasks increases the RAM memory footprint and the energy consumed due to the task preemption. Mantis supports binary and counting semaphores that ease the implementation of blocking structures to access shared resources. It is programmed in standard C language that makes easy the inclusion of software from other systems or communication stacks and its portability to different platforms, both real and simulated. The version used in this article is 1.0 beta. 4. Platforms This section exposes the main features of the two platforms used in the analysis: Tmote Sky [14] and MICAz [15,16]. They can be considered platforms for research and experimentation rather than professional devices, but they have become very popular among the research community due to the great availability of open source software developed for them, adaptability to different scenarios and ease of operation. They are the motes most frequently employed in the implementation of testbeds and are usually the typical platforms used for the validation and assessment of new protocols. The wide acceptance of these platforms in academic and research forums led us to consider them as the best option to carry out this work. Both motes present a very similar architecture based on a microcontroller together with a wireless transceiver and some sensors for measuring physical variables. The main difference between them is
Sensors 2010, 10 5815 the microcontroller, since the Tmote Sky uses the Texas Instruments MSP430F1611 [19] and MICAz relies on the Atmel Atmega128 [21], but both include the same wireless transceiver: the CC2420 [24] from Texas Instruments. Table 2 summarizes the main features of both motes. A detailed presentation of these features is provided below. Table 2. Main properties of Tmote Sky (Telosb) and Micaz platforms. Tmote Sky (Telosb) MICAz Microcontroller Texas MSP430 F1611 Atmel ATmega128(L) Vcc 1.8 .. 3.6 V 2.7 .. 5.5 V Instant current consumption Active 500µA @ 1MHz, 3V Standby 2.6 µA Off 0.2 µA Active 5.5mA @ 4MHz, 3V Power down 5 µA Wakeup time 6 µs 4.1 ms Architecture RISC 16 bits RISC 8 bits Flash RAM EPROM 48 kB 10 kB 128 kB 4 kB 4 kB A/D D/A 12 bits, 8 channels 12 bits, 2 channels 10 bits, 8 channels Communications JTAG, 2xUART, 2xSPI, I2C, 3xDMA JTAG, 2xUART, SPI, I2C Transceiver CC2420 Vcc 2.1 … 3.6 V Transmission power 0, –5, –10, –15, –25 dBm Sensitivity –95 dBm Instant current consumption RX 18.8 mA TX 17.4 mA (@ 0 dBm) sleep 426 µA Power down 20 µA off 0.02 µA Startup time 1 ms (xtal oscillator) Radio range Over 120 m outdoors with 0 dBm External Memory ST M25P80 AT45DB041B Flash Memory 1 MB Flash memory 512 KB Vcc 2.7 … 3.6 V 2.5 … 3.6 V Instant current consumption Read >4 mA Standby >50 µA Power-down 1 µA Read 4 mA Standby 2 µA Interface SPI SPI Sensors On board integrated sensors: humidity, temperature and light. Expansion connector that includes digital I/O, analog inputs, I2C, SPI and UART. There are available expansion boards with light, temperature, RH, barometric pressure, accelerometers, acoustic and magnetic. Operating systems TinyOS v1, Tinyos v2, Contiki, Mantis OS, Sos, RETOS [23] TinyOS v1, Tinyos v2, Contiki, Mantis OS, Sos, Nano-RK [22],
Sensors 2010, 10 5816 The Tmote Sky platform is also known as Telosb. This duality of names comes from the fact that two companies, Moteiv Corporation and Crossbow, shared the same design and they supplied the same mote under different names. Moteiv Corporation has currently changed its name and it is now called Sentilla. Moreover, the company has discontinued this product and is now focused on the development of energy management systems for data centers. Therefore, the proper name of this platform nowadays should be Telosb since this is currently the name under which it is supplied by Crossbow. In any case, due to historic reasons and since a lot of people still refer to this mote as Tmote, this name will be used in the rest of the paper. The main components of the Tmote platform are the Texas Instruments MSP430F1611 microcontroller and the Texas Instruments CC2420 wireless transceiver. The MSP430F1611 is a ultra-low-power microcontroller that features 10 kB of RAM and 48 kB of program memory (flash). It is a 16-bit processor with several power-down modes and extremely low sleep-current. The MSP430 has a digitally controlled oscillator (DCO) that implements an internal clock of 8 MHz. The microcontroller can wake up from sleep mode in only 6 μs, which allows a short reaction time after the activation of some event. The MSP430 has eight 12-bit ADC channels of which six are accessible on the Tmote expansion connector. The ADC input ranges from 0 to 3.0 V and the maximum sampling frequency is 200 kHz. Other peripherals are available, including serial peripheral interfaces (SPI), universal asynchronous receiver/transmitters (UART), timers with capture and compare functionality, 2-port 12-bit digital-to-analog converter (DAC) module, a supply voltage supervisor and a 3-port direct memory access (DMA) controller. On the other hand, the CC2420 radio transceiver implements the IEEE802.15.4 standard wireless communication. It offers reliable wireless communication and power management capabilities with a very low-power consumption. The CC2420 is connected to the TI MSP430 microcontroller through the SPI port. Other peripheral components integrated in the Tmote platform are: the USB connection implemented using the FTDI transceiver, a flash memory of 1 Mbyte of capacity and the Sensirion’s SHT15 digital temperature and humidity sensor. A list of operating systems that support this platform is shown in Table 2. The second platform being used in this article is the MICAz one. This mote is supplied by Crossbow and the main difference with respect the Tmote platform is the microcontroller. The Atmega128 from Atmel is based on an advanced RISC architecture with instructions of 8-bit that are executed in a single clock cycle. The ATmega128 provides 128 kbytes of Flash, 4 kbytes of EEPROM, 4 kbytes of SRAM, 53 general purpose I/O, four flexible Timer/Counters with compare modes and PWM, two USARTs, a byte oriented Two-wire Serial Interface, an 10-bit ADC with 8-channel, a SPI serial port and an internal calibrated RC oscillator. Jointly with the main board of the mote, Crossbow sells sensor boards that can be connected to the MICAz expansion connector, including a great variety of sensors such as: light, temperature, barometric pressure, acceleration/seismic, acoustic, magnetic etc. A summary of the mote characteristics and the operating systems with support for this mote is shown in Table 2.
Sensors 2010, 10 5817 5. Applications The final objective of this article is to compare the performance of the previously mentioned operating systems, providing at the same time results that could be easily reproducible by other researchers. As a first step, the possibility of using typical applications included as examples in the distributions of these operating systems was considered. However, an identical group of applications that were implemented beforehand in all of them could not be found. So, the decision was to conceive a new benchmark composed of four applications performing the most typical actions that the nodes of the network carry out. The same four applications were programmed on each operating system to ensure a fair comparison. The first one is a program that does nothing and it is called blank. With this program, the way in which the operating system manages the power consumption when there is no task to be executed, is evaluated. Since there are some operating systems that do not perform a direct control of the power state of the hardware, a second blank application, named blank2, has been programmed, where the code explicitly optimizes the power mode using some management functions, e.g., in TinyOS the components HPLPowerManagementM and McuSleepC have been used, whereas in MOS the impact of the USB interface integrated in the Tmote Sky has been eliminated. This test is particularly relevant because WSN applications require a low power operation. The second program is the typical blink application. With this program, the way the operating systems behave when they have to do a simple task can be determined. In this case, the task constantly changes the state of one LED after a period of time. With the third program called xtea the opposite case is checked, this is, the objective is to evaluate an application that involves the processing of a large quantity of data. To this end, it has been programmed an application in which 32 bits data is coded using the XTEA algorithm [20] in a loop repeated 150,000 times. In addition, the multithreading capabilities of each operating system are tested interleaving the XTEA algorithm with a second task that blinks one LED. Finally, the last program sens performs a typical WSN application. In this case, the microcontroller reads a temperature sensor every second and transmits this value wirelessly. As in the first case, another version of this program has been developed, called sens2, with an explicit management of the mote’s power consumption. It should be noticed that different sensors are integrated in each platform and this can be reflected in the final results: MICAz uses a 10 kΩ thermistor whereas Tmote Sky includes the SHT15 sensor from the Sensirion Company. Contiki and MOS kernels have integrated handlers to control automatically the power consumption of the mote, avoiding the requirement of adding explicit calls to low-power functions in the code to change the hardware state during the inactivity periods. Thus, in these two operating systems, blank2 and sens2 applications, that explicitly perform the power management of the mote, are not relevant. However, MOS is not able to automatically control the wireless transceiver and it does not configure properly one of the control lines of the USB interface in the Tmote Sky mote. Therefore, a specific application blank2 has been developed in MOS, only for the Tmote Sky platform, with a correct configuration of this line for the USB transceiver and another application sens2 that changes the state of the wireless transceiver during the inactivity periods.
Sensors 2010, 10 5824 This plot lets us assert that there is almost no noise present on this line during the sensor operation. The Tmote Sky case is not different because, although the temperature sensor is the digital SHT15 sensor from Sensirion, it is also powered through a microcontroller digital output and the measured noise level is negligible as well. Despite the fact that very low levels of noise in the sensor supply lines were found, this matter should be taken into account during the design of new motes. In the case of sensitive sensors that require a signal conditioning or amplification, filtering the sensors supply line is recommend, even if they are fed from some microcontroller digital pin. 7. Conclusions After the development of all the applications for the different operating systems shown in this article, it can be concluded that programming applications in C implies a much less steep learning curve than when the application is programmed in NesC, such as is the case of TinyOS. In NesC the programmer has to get used to a new programming paradigm that includes concepts such as: components, modules, configurations, interfaces, etc. The positive side of the TinyOS programming is the efficiency that can be achieved in terms of code size (see Table 3) and energy consumption. According to the results presented, in general T2 is more efficient in terms of power consumption than T1, MOS and Contiki. In the case of the Tmote Sky platform the difference between T1 and T2 is minimal, even though T1 is a little more efficient in simple programs. Moreover, in Section 3 it is seen that T2 is simpler than T1, Contiki and MOS. As expected, in terms of energy efficiency, a simple system normally consumes less than a more complex one. The real question is whether this improvement of the power consumption implies to accept lower capabilities for the final system or not. There is no single answer to this question because it depends on whether a particular application is looking for the implementation of advanced features, like parallel execution of complex tasks, or a further optimization of the power consumption. In most applications developed the latter is chosen because WSN is a field in which it very is important to maximize the network lifetime. Acknowledgements This work was supported by the I+D+i program of the Generalitat Valenciana, R&D Project GV05/043, and Vicerrectorado of investigation, development and innovation of Universidad Politecnica de Valencia PAID-06-06-002-61. And Ministry of Science and Innovation of Spain, project COMONSENS. References and Notes 1. Duffy, C.; Roedig, U.; Herbert, J.; Sreenan, C. An experimental comparison of event driven and multi-threaded sensor node operating systems. In Proceedings of the 3rd IEEE International Workshop on Sensor Networks and Systems for Pervasive Computing, White Plains, NY, USA, March 19–23, 2007.
Sensors 2010, 10 5825 2. Healy, M.; Newe, T.; Lewis, E. Power management in operating systems for wireless sensor nodes. In Proceedings of IEEE Sensors Applications Symposium, San Diego, CA, USA, February 6–8, 2007; pp. 1–6. 3. Antonopoulos, C.; Prayati, A.; Stoyanova, T.; Koulamas, C.; Papadopoulos, G. Experimental evaluation of a WSN platform power consumption. In Proceedings of IPDPS IEEE International Symposium on Parallel & Distributed Processing, Rome, Italy, May 2009; pp. 1–8. 4. Reverter, F.; Pallas-Areny, R. Uncertainty reduction techniques in microcontroller-based time measurements. Sens. Actuat A: Phys. 2006, 127, 74–79. 5. Reverter, F.; Gasulla, M.; Pallas-Areny, R. Analysis of Power-Supply Interference Effects on Direct Sensor-to-Microcontroller Interfaces. IEEE Trans. Instrum. Meas. 2007, 56, 171–177. 6. Kuorilehto, M.; Kohvakka M.; Suhonen, J.; Hämäläinen, P.; Hännikäinen, M.; Hämäläinen, T. Ultra-low energy wireless sensor networks in practice. In Theory, Realization and Deployment. West Sussex; John Wiley & Sons: Hoboken, NJ, USA, 2007. 7. Gay, D.; Levis, P.; Von Behren, R.; Welsh, M.; Brewer, E.; Culler,D. The nesC Language: A holistic approach to networked embedded systems. In Proceedings of SIGPLAN Conference on Programming Language Design and Implementation (PLDI), San Diego, CA, USA, June 14, 2003; ACM Press: New York, NY, USA, 2003; pp. 1–11. 8. Handziski, V.; Polastre, J.; Hauer, J.; Sharp, C.; Wolisz, A.; Culler, D. Flexible hardware abstraction for wireless sensor nodes. In Proceedings of the 2nd European Workshop on Wireless Sensor Networks, Istanbul, Turkey, January 31–February 2, 2005; pp. 145–157. 9. Levis, P.; Gay, D.; Handziski, V. T2: A Second Generation OS for Embedded Sensor Networks; Technical Report TKN-05-007; Telecommunication Networks Group, Technische Universitat Berlin: Berlin, Germany, 2005. 10. Abrach, H.; Bhatti, S.; Carlson, J.; Dai, H.; Rose, J.; Sheth, A.; Shucker, B.; Deng, J.; Han, R. MANTIS: System support for MultimodAl NeTworks of in situ Sensors. In Proceedings of the 2nd ACM International Conference on Wireless Sensor Networks and Applications, San Diego, CA, USA, September 19, 2003; ACM Press: New York, NY, USA, 2003; pp. 50–59. 11. Bhatti, S.; Carlson, J.; Dai, H.; Deng, J.; Rose, J.; Sheth, A.; Shucker, B.; Gruenwald, C.; Torgerson, A.; Han, R. MANTIS OS: An embedded multithreaded operating system for wireless micro sensor platforms. Mob. Netw. Appl. 2005, 10, 563–579. 12. Shea, R.; Chih-Chieh, H.; Rengaswamy, R. Motivations Behind SOS; Networked Embedded Systems Lab, University of California Los Angeles: Los Angeles, CA, USA, 2004. 13. Dunkels, A.; Grönvall, B.; Voigt, T. Contiki—A lightweight and flexible operating system for tiny networked sensors. In Proceedings of the 1st IEEE Workshop on Embedded Networked Sensors, Tampa, FL, USA, November 2004. 14. Crossbow Technology Inc. Telosb Datasheet. Available online: http://www.xbow.com/ (accessed on 4 February 2010). 15. Stan, A. Porting the Core of the Contiki Operating System to the TelosB and MicaZ Platforms; Guided Research Final Report (Bachelor Thesis); International University Bremen: Bremen, Germany, May 7, 2007. 16. Crossbow Technology Inc. MICAz. Datasheet. Available online: http://www.xbow.com/ (accessed on 4 February 2010).
Sensors 2010, 10 5826 17. Szewczyk, L.; Turon, N.; Buonadonna, H. Microcontroller Power Management; TinyOS 2 Documentation. Available online: http://www.tinyos.net/tinyos-2.x/doc/txt/tep112.txt (accessed on 5 February 2010). 18. Microchip Technology. MCP6041/2/3/4 Datasheet. Available online: http://www.microchip.com/ (accessed on 5 February 2010). 19. Texas Instrument Inc. MSP430 Datasheet. Available online: http://www.ti.com/ (accessed on 6 February 2010). 20. Needham, R.M.; Wheeler, D.J. Tea Extensions; Technical Report; Computer Laboratory, University of Cambridge: Cambridge, UK, October 1997. 21. Atmel Corporation. Atmel Atmega128 Datasheet. Available online: http://www.atmel.com/ (accessed on 6 February 2010). 22. Eswaran, A.; Rowe, A.; Rajkumar, R. Nano-RK: An energy-aware resource-centric operating system for sensor networks. In Proceedings of the 26th IEEE Real-Time Systems Symposium, Miami, FL, USA, December 5–8, 2005. 23. Cha, H.; Choi, S.; Jung, I.; Kim, H.; Shin, H.; Yoo, J.; Yoon, C. RETOS: Resilient, expandable, and threaded operating system for wireless sensor networks. In Proceedings of the 6th International Conference on Information Processing in Sensor Networks (IPSN’07), Cambridge, MA, USA, April 2007. 24. Texas Instrument Inc. CC2420 Datasheet. Available on: http://www.ti.com/ (accessed on 7 February 2010). © 2010 by the authors; licensee MDPI, Basel, Switzerland. This article is an Open Access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).