Comparison of Power Consumption of WiFi Inbuilt
Comparison of Power Consumption of WiFi Inbuilt
Comparison of Power Consumption of WiFi Inbuilt
Abstract—The Internet of things (IoT) is currently a highly protocols with reduced data rates such as 433 Mhz and BLE are
researched topic, especially within the context of the smart home. the industry standard today. Although 433 MHz is effective for
These are small sensors that are capable of gathering data and short range communication, it is incapable of supporting long
transmitting it to a server. The majority of smart home products use distance transmission. The range offered by BLE is far greater
International Science Index, Computer and Information Engineering Vol:10, No:10, 2016 waset.org/Publication/10005628
protocols such as ZigBee or Bluetooth Low Energy (BLE). As these than 433 MHz and it is capable of supporting up to 20 devices.
small sensors are increasing in number, the need to implement these
Although WiFi is ubiquitous with more range and device
with much more capable and ubiquitous transmission technology is
necessary. The high power consumption is the reason that holds coverage than BLE and 433 MHz, the power consumption
these small sensors back from using other protocols such as the restrains it from being implemented into IoT sensor devices.
most ubiquitous form of communication, WiFi. Comparing the power In previous paper [18], we have developed a low-cost
consumption of existing transmission technologies to one with WiFi WiFi inbuilt device capable of providing much less power
inbuilt, would provide a better understanding for choosing between consumption than 433 MHz. Later, the same device was
these technologies. We have developed a small IoT device with WiFi modified with a low power MSP430 to further reduce the
capability and proven that it is much more efficient than the first power consumption [17]. In this paper, we will focus on the
protocol, 433 MHz. We extend our work in this paper and compare comparison of our WiFi inbuilt device with a BLE device
WiFi power consumption with the other most widely used protocol to determine whether WiFi can be a suitable substitute for
BLE. The experimental results in this paper would conclude whether
IoT over BLE. Table I represents a comparison of the main
the developed prototype is capable in terms of power consumption to
replace the existing protocol BLE with WiFi. protocols being used in this paper: WiFi and BLE.
Keywords—Bluetooth, internet of things, power consumption,
WiFi. TABLE I
W I F I VS . BLE
WiFi BLE
I. I NTRODUCTION Frequency / GHz 2.4, 5 2.4
T
Range / meters 32-95 77
HE IoT is currently one of the most researched areas, Power Consumption High Very Low
especially within the context of ‘Smart Home’ [11] and Latency / ms 150 150
‘Smart Cities’ [12]. IoT is a network of devices which is Bit Rate / Mbps 600 1
International Scholarly and Scientific Research & Innovation 10(10) 2016 1856 scholar.waset.org/1307-6892/10005628
World Academy of Science, Engineering and Technology
International Journal of Computer and Information Engineering
Vol:10, No:10, 2016
consumption when compared with classic Bluetooth [7]. It is within [17]. As the previous paper looked into the transmission
supported by the majority of smart phones and tablets, making of temperature data to a remote destination using WiFi, we
it more appealing for IoT devices [14]. It is currently being recreate the same scenarios with BLE for comparison within
used for applications in the health [19] and fitness sector and this paper. The BLE module used for the experiment is an
within industry related applications. ADAFRUIT UART FRIEND [6]. A DS18S20 temperature
BLE is capable of supporting up to 20 devices compared sensor [1] is used throughout the experiments.
with classic Bluetooth which offered less than half of that. The The experiment is as follows: Bluetooth transmission of the
range of BLE devices can reach up to 77 meters. Again, this temperature data obtained through the processor, MSP430.
is more than double that of classic Bluetooth with has a total
coverage between 5-30 meters. However, classic Bluetooth III. B LUETOOTH T RANSMISSION WITH MSP430 AND
had a higher data rate than BLE sending 1-3 Mbit/s whereas DS18S20
BLE transmits 1 Mbit/s. BLE consumes much less power than In this scenario, the MSP430 [4] microcontroller would
classic Bluetooth and is more secure when transmitting data. receive the temperature data from the DS18S20 sensor and
BLE uses 128-bit AES encryption with Counter Mode using the BLE module, transmit it to a user’s mobile device
CBC-MAC whereas classic bluetooth uses 56/128 bit using Bluetooth. An MSP430 processor is used in this
International Science Index, Computer and Information Engineering Vol:10, No:10, 2016 waset.org/Publication/10005628
encryption. The connection times between BLE and its devices experiment with the BLE used as a slave device. The processor
takes around 1 ms. Standard Bluetooth could take up to 100 is necessary as the results will be compared with the WiFi IoT
ms to establish a connection between a device. The power device which used the same processor in the previous paper
consumption when establishing a connection between modules [17]. In this experiment, a MSP430 microcontroller was used
and devices is reduced in the BLE. to supply power to the devices.
B. WiFi
WiFi is an IEEE 802.11 standard [15] that was developed to
compliment IEEE 802.3. WiFi offers a full TCP/IP stack when
connecting to the Internet. Ever since WiFi was introduced,
it has been very popular among users. Almost all of today’s
technology: Laptops, smart phones, tablets, and TVs come
integrated with WiFi. It is this integration that has made it
become a well established standard. The majority of WiFi
networks operate at the 2.4 GHz band. When higher data
rates are needed, WiFi is capable of operating in the 5 GHz
band providing a clearer signal with more channel space.
However, the range of 5 GHz radios is shorter than 2.4 GHz
which is why the 2.4 GHz band is often used within homes. Fig. 1 Experiment Setup
Enterprise applications often favour the 5 GHz band over 2.4
GHz because it is better at serving multiple access points. The code is set up such that the BLE module transmits
Power consumption has always been an issue for WiFi temperature data to the user when the user inputs a specific
[20] making it extremely inefficient for IoT devices and character command. This command acts as a flag in order
therefore avoided by consumers and researchers. However, to control when the data is transmitted. After the device has
having looked into this, we have discovered that these issues received the character, the temperature data is transmitted by
become negligible when the WiFi module is combined with a the MSP430 + DS18S20 sensor via Bluetooth to the users
powerful microprocessor. Based on the results [17], the new mobile device. Fig. 2 shows the MSP430 processor and the
WiFi device is capable of consuming less power than other sensor on the IoT WiFi inbuilt device that we have designed.
protocols such as the 433 MHz. This paper is an extension In order to get as accurate power measurements as possible,
of that work by comparing the WiFi inbuilt IoT device to the the Portapow is used to record to power consumption for each
currently most popular protocol: BLE. device [5]. This particular method of transmission was chosen
The next section looks into the experiments carried out for in order to monitor the power consumption. If the BLE module
this paper. is constantly transmitting data, it would be impossible to have
a clear measurement of the power consumption. Constantly
II. E XPERIMENT transmitting data is impractical for IoT devices which solely
In comparison to WiFi inbuilt IoT devices, BLE devices rely on battery packs as their source of power because the BLE
are popular within IoT devices in terms of lower power consumes power at a much higher rate when transmitting. By
consumption [13]. For this paper, we compare the power choosing to only transmit data when the user requires it, we can
consumption of two IoT devices: WiFi and BLE. The reduce the overall power being consumed thus increasing the
description and methodology in implementing the low cost life span of the small sensors. We use this method to replicate
WiFi module for these small sensor devices is provided in and compare the power consumption of sleep mode in WiFi
[17]. The power consumption results are discussed in detail modules.
International Scholarly and Scientific Research & Innovation 10(10) 2016 1857 scholar.waset.org/1307-6892/10005628
World Academy of Science, Engineering and Technology
International Journal of Computer and Information Engineering
Vol:10, No:10, 2016
1.2
ESP-03+DS18S20
MSP430+DS18S20+ ESP-03
1 MSP430+DS18S20+BLE
Power [mWh]
0.8
0.6
0.4
0.2
Fig. 2 Prototype [17] 0 2 4 6 8
International Science Index, Computer and Information Engineering Vol:10, No:10, 2016 waset.org/Publication/10005628
International Scholarly and Scientific Research & Innovation 10(10) 2016 1858 scholar.waset.org/1307-6892/10005628
World Academy of Science, Engineering and Technology
International Journal of Computer and Information Engineering
Vol:10, No:10, 2016
therefore could be considered as a substitute within IoT devices [19] T. Zhang, J. Lu, F. Hu, and Q. Hao. Bluetooth low energy for wearable
over BLE in terms of power consumption alone. sensor-based healthcare systems. In Healthcare Innovation Conference
(HIC), 2014 IEEE, pages 251–254, Oct 2014.
[20] Y. Zhang and Q. Li. Exploiting zigbee in reducing wifi power
R EFERENCES consumption for mobile devices. IEEE Transactions on Mobile
Computing, 13(12):2806–2819, Dec 2014.
[1] Datasheet. https://datasheets.maximintegrated.com/en/ds/DS18S20.pdf.
Accessed on: 2016.01.15.
[2] ESP8266. http://espressif.com/en/products/hardware/esp8266ex/overview.
Accessed on: 2016.03.10.
[3] Gartner Says 6.4 Billion Connected ”Things” Will
Be in Use in 2016, Up 30 Percent From 2015.
http://www.gartner.com/newsroom/id/3165317. Accessed on
2016.04.10.
[4] Mixed Signal Microcontroller. http://www.ti.com/lit/ds/symlink/msp430g
2553. Accessed on: 2016.04.10.
[5] Portapow. http://www.portablepowersupplies.co.uk/portapow-premium-
International Science Index, Computer and Information Engineering Vol:10, No:10, 2016 waset.org/Publication/10005628
International Scholarly and Scientific Research & Innovation 10(10) 2016 1859 scholar.waset.org/1307-6892/10005628