You are on page 1of 5

International Conference on Electrical, Electronics, and Optimization Techniques (ICEEOT) - 2016

Design and Development of CC3200-based CloudIoT


for Measuring Humidity and Temperature
Divyavani Palle, Aruna Kommu Raghavendra Rao Kanchi
VLSI and Embedded Systems Laboratory VLSI and Embedded Systems Laboratory
Department of Physics, Sri Krishnadevaraya University Department of Physics and Principal, College of
Ananthapuramu-515003, A.P, India Engineering & Technology, Sri Krishnadevaraya University
vani.divya63@gmail.com, aruna.kommu9@gmail.com Ananthapuramu-515003, A.P, India
kanchiraghavendrarao@gmail.com

Abstract— Measurement and control of humidity and them available for free access is increasing exponentially. In
temperature play an important role in different fields like this context, embedded systems play a vital role in IoT; these
Agriculture, Science, Engineering and Technology. Also, it embedded systems use an admixture of digital and analog
becomes essential to monitor the real-time weather condition of subsystems in gathering information from sensors.
one place from another place. In this paper, we present the A collection of information in-and-around us are done by
design and development of CC3200-based Cloud IoT for
measuring humidity and temperature. CC3200 is the first
edge nodes or things. In general, edge node contains a
SimpleLink WiFi internet-on-chip LaunchPad developed by sensor(s), an interface unit (embedded system) and power
Texas instruments, USA in 2014. The HRT393 sensor is used for source. Thus, understanding of IoT starts from edge node.
measuring humidity and temperature. Measured parameters are Unimaginable parameters can be measured and the
sent to the Cloud servers of AT&TM2X Cloud technology corresponding data can be sent over the internet through the
(HTTPS). Humidity and temperature measurements made in gateways. Some of the examples of these edge nodes that have
real-time are shown graphically. The software is developed in become an integral part of our life are smart phones,
Energia integrated development environment (IDE). The entertainment and health (blood pressure, blood sugar etc.)
measured values are compared with the measurements recorded tracking devices. Controlling of air suspension in automobiles
by the ground station Laboratory set up by ISRO, India, on the
University campus.
with prior information on the health of the road is also another
example. As far as the numbers of things in the ecosystem are
Keywords— CC3200 LaunchPad, Humidity Sensor, WiFi, concerned, it is estimated that the number of things grows
Cloud technology, IoT. from 0.5 billion in 2000 to 50.1 billion by 2020.
In such a complex scenario, the application of the IoT
paradigm shift towards measuring and controlling parameters
I. INTRODUCTION like humidity, temperature, pressure, soil properties etc. that
are of paramount importance.
The Internet of Things (IoT) is a recent communication, in Now a days there is a lot of advancement and development
which a network connects all things to the internet for in electronic things which in turn brought in lots of changes in
communicating through the sensing devices with suitable communication, identification and computing capabilities with
protocols, and exchange data with each other by using low cost and small size. It is for this reason that small size
wireless sensor networks [1]. Using an IoT the device is electronic devices are easily integrated into other systems or
connected to the internet and all the information is shared with devices. The IoT can connect such embedded system (s) with
other objects without human intervention. The IoT is meant to internet, basing on the following characteristics:
measure real-world events and controlling the specific
phenomena. IoT gives the information in all sectors of • Things to acquire the information.
agriculture, healthcare, home appliances, etc. With the
increase in the number and functionalities of sensors and • Things to process the information
actuators, the IoT which interconnects a particular set of • Improve the security and privacy.
things, is easily programmable, and more capable of
interacting with humans [2]. 1. Things to acquire the information
In the present scenario of information and communication In IoT, the objects acquire the information using sensors
technology, IoT has brought out a change in the things around and RFID which are integrated into a system at anytime and
us leading to a total change in our ecosystem. It has percolated from anywhere.
it routes starting from home up to the advanced 2. Things to process the information
communication. Thus, the concept of IoT makes the internet, The information is processed using different
even more, immersive and pervasive. Further, the amount of communication techniques like wire communication, network
information we gather from different sources and making technologies, telecommunication networks, and the internet.

978-1-4673-9939-5/16/$31.00 ©2016 IEEE


3. Improve the security and privacy The system integrated with PIC Microcontroller and HIH
To improve the security and privacy in IoT, data is 4030 humidity sensor. The developed system measures the
collected using various intelligent computing technologies humidity levels of the plant in real time, cutoff levels are also
including Cloud Computing technology, which has the ability maintained with the help of MOTOR. Kshitij Shinghal [8] has
to support the IoT applications [3]. constructed HCH-1000 intelligent humidity monitoring system
Development of technologies related to nanoelectronics, for agricultural application by the integration of 8051
communications, sensors, smart phones, embedded systems, microcontrollers. The developed system also measures the soil
Cloud networking, and software is extremely important that moisture. Gajjar. S [9] has designed and developed HTU21D
provides information on the objects connected to the internet. based humidity and temperature measurement wireless sensor
On the other hand, these technologies also support the IoT network by the integration of TI’s MSP430F5132
products in all sectors. Some of these technologies like microcontroller. Norberto Barroca [10] has constructed
embedded systems act as a gateway between the digital world SHT21s based temperature and humidity monitoring with the
and physical world of real things. Robots, smart homes, concrete structure using wireless sensor networks and
vehicles that drive themselves are few examples of cyber- PIC18F4680 microcontroller. From the literature, it clears that
physical systems which is a part of IoT. the automatic measurement of humidity and temperature with
Cloud Computing Technology advanced technology like cloud computing was not found.
Internet of Things and Cloud Computing technologies In the present work we designed and developed a scheme to
provide new opportunities in IoT-based applications and measure the humidity and temperature using an integrated
services. In IoT applications, sensor data will be available in sensor interfaced with the on-chip ARM processor of IC
Cloud environment [4]. Cloud Computing technology CC3200. Measured parameters are uploaded to the cloud using
provides three different kinds of services to the user, such as: the on-chip WiFi and on-board antenna of CC3200
(i). Infrastructure as a Service (IaaS), (ii). Platform as a LaunchPad. The cloud technology displays the measured
Service (PaaS) and (iii). Software as a Service (SaaS). These parameters for every minute and these values can be accessed
are run either by private, public or virtual private Cloud or a anywhere in the World. The remaining part of the paper is
combination of Cloud types. Cloud Computing provides divided in to three sections. Section II presents the hardware
security, monitoring and maintenance of data. The main use of
and software details of the present work. The experimental
the Cloud technology is an efficient use of resources and cost
results are presented in Section III. Conclusions drawn basing
reduction. It has high flexibility, accessibility and device
on the present experimental results is given in Section IV.
independence. We also consider the combination of Cloud
Computing and IoT technologies together as a new model: II. HARDWARE AND SOFTWARE DESCRIPTIONS
‘CloudIoT’. This CloudIoT is expected to disrupt both current
and future Internet [5]. The hardware developed in the present work is built around
Networks used in IoT the Texas Instruments’ SimpleLink WiFi module available in
Present communication technologies are: wired and the form of LaunchPad: CC3200, and theHRT393 Humidity
wireless. These technologies are helpful in developing the IoT. sensor. The firmware is developed using both Code Composer
Wireless networks such as WLAN, ZigBee, Bluetooth, GSM, Studio (CCS) and Arduino-type Integrated Development
and NFC are indeed very useful to add the things to the Environment (IDE): Energia. in for the hardware is developed
internet with minimum hardware and software [6]. Using using Energia IDE. The description of the hardware and
wireless networks, the IoT user can make the objects to software is as follows.
interact with other objects while connected to the internet are A. Hardware description
identified by their IP (Internet Protocol) address. These IP
addresses are either IPv4/IPv6 version. A.1. TI CC3200 LaunchPad Board
Weather plays a vital role on global life. Further, sensors
are used in weather monitoring and controlling of weather The CC3200 LaunchPad is the first internet-on-chip low
parameters. Temperature and humidity are the key parameters power microcontroller board developed by Texas Instruments
in weather monitoring schemes. Certain integrated sensors use with 802.11 b/g/n WiFi connectivity. It has a high-
a single module to measure humidity as well as temperature. performance 32-bit ARM-Cortex M4 @ 80MHz
One such sensor, namely, HRT393 is used in the present work microcontroller unit. The Network Processor contain: TCP/IP
to measure relative humidity and temperature. &TLS/SSL status, HTTP server and multiple protocols [11]. It
Several papers have appeared in the literature which has input peripherals such as built-in DC-DC converter so that
discusses about the measurement and monitoring of humidity. it can operate in a voltage range of 2.1-3.6V, Static RAM of
Monitoring of humidity was carried out using different sensors 256 kB that is loaded with the code. The board contains built-
and microcontrollers. The work carried out by some in USB-to-JTAG interface for debugging, FLASH memory of
researchers related to the humidity measurement system is as 8MB for programming, built in antenna and U.FL connectors,
follows: two general purpose switches, three LEDs and also thermopile
S.R Kumbhar [7] has designed and developed sensor and accelerometer, 2X20- pin headers that provide
microcontroller based irrigation control system for plantation. general purpose I/O, four ADC channels, I2C, SPI, PWM.
A.2. HRT393 Humidity Sensor The photograph of the hardware developed in the present
HRT393 Humidity Sensor senses the humidity and study after interfacing the sensor HT393 with CC3200
temperature present in the atmosphere. The output of the LaunchPad is shown fig.3. Screen shot of the on-line data
HRT393 sensor is in terms of analog voltage for both acquisition values of temperature and humidity along with
parameters. The relative humidity and temperature are M2X response code displayed on hyper terminal is shown in
evaluated using the formulae [12], [13]: fig.4. Further, the humidity and temperature data measured
Relative Humidity= (3.71*POW (voltage_hum, 3)) - with HRT 393 and the same data uploaded to the cloud
(20.65*POW (voltage_hum, 2)) + (64.81*voltage_hum) displayed on M2X webpage in terms of the stream names:
+27.44; voltage_hum: voltage corresponding to measured “Humidity” and “Temp” are shown in figs. 5 and 6,
humidity respectively, as screen shots.
Temperature= (5.26*POW (voltage_temp, 3)) + (27.34*POW
(voltage_temp, 2)) + (68.87*voltage_temp) -17.81;
voltage_temp: voltage corresponding to measured temperature
A.3. AT&TM2X Cloud Technology
AT&T’s M2X is a Cloud–based data storage, service and
management system for the IoT. M2X service gathers data in
real-time from connected devices like sensors and translates to
meaningful information. Individual sensors are identified by
their device ID, API key and stream name. M2X has a client
library for Energia. Through these library APIs the LaunchPad
used in the present work is connected to M2X Cloud by using Fig. 3. Photograph of the hardware developed in the present study
the SimpleLink WiFi device.This is done by first signing up
for M2X account [15]. In the present work our M2X device
name is: CC3200 with device ID:
f2e62e729bda20e8b692e96325e48627, and API key:
3a06aa40bf67fc5ffbd4d74cf2a9ee46.
A.4. Circuit description
CC3200 comes in 64-pin QFN package with majority of
the pins multiplexed. Further, the pin function of each pin is
controlled by its hardware configuration and the associated
internal registers. Output pins from HT393 are connected to
pins 57, 58 of CC3200. Block diagram and circuit diagram of
the present work are shown in figs. 1and 2, respectively.
Fig. 4.Screen shot of the data acquisition and M2X response code
Data
acquisiti
on on
HRT393 CC3200 AT&T, PC/laptop
Humidity LaunchPad WIFI M2X via
Sensor Antenna
cloud wireless
technology
commu
nication

Fig. 1. Block diagram of humidity measurement system

Fig. 5. Screen shot of the humidity measured by the HRT393 on M2X

Fig. 2. Schematic diagram of interfacing HRT393 with CC3200 LaunchPad Fig. 6. Screen shot of the temperature measured by the HRT393on M2X.
B. Software description The minimum and maximum error percentages in the
In the present work, the firmware is developed using measured humidity are 2.702 and 5.000, respectively. With
Energia IDE. This IDE works well with Windows, Linux, and respect to temperature values, the error percentage is 4.166 on
Mac operating systems, and can be programmed easily [16]. all the measurements. The observed error in humidity is
The program is developed in Embedded C. The flowchart attributed to the distance between our laboratory and the
regarding the development of firmware is shown in fig.7. observation centre.

TABLE I. Comparison of humidity and temperature values measured in the


START
present work with the reference values [17]

Temperature
Include suitable libraries Temperature
Humidity Humidity values of
values values of using
values of Error
of the Capacitive
designed Resistance
Error in
Enter SSID name and Password of the network designed sensor system temperature tempe
in
system (RH %) humidity (°C) detector rature
(RH %) (Present (°C)
Enter device, stream name& M2X key (Present [17] (%) work) [17] (%)
work)
38 37 2.702 30 28.8 4.166
Initialize the Channel-0 and Channel-1 for 38 36 5.555 30 28.8 4.166
humidity and temperature measurements
38 38 0 30 28.8 4.166
39 39 0 30 28.8 4.166
40 40 0 30 28.8 4.166
Initialize two variables for humidity and
39 41 4.878 30 28.8 4.166
temperature storage
38 40 5 30 28.8 4.166

Connect to the network


Humidity measured Humidity referenced

Set 115200bps baud rate for UART 56

49
Read Channel 0
Humidity (%)

Convert the digital data into humidity 42

Send data through UART 35

Read Channel 1
016/01/02 19:36

016/01/02 19:33

016/01/02 19:31

016/01/02 19:25

016/01/02 19:28
16/01/02 19:39

16/01/02 19:19
Convert the digital data into temperature TIME

Fig. 8.Plot of humidity values of measured and reference with respect to time
Send data through UART
52
Temperature measured Temperature referenced
48
Send the measured values of humidity
and temperature into M2X cloud. 44
Temperature (c0)

40
Fig.7. Flow chart of the program developed in the present
36
work.
32
III. RESULTS AND DISCUSSION
28
Humidity and temperature were measured simultaneously
24
with the hardware developed in the present study at the
016/01/02 19:36

016/01/02 19:33

016/01/02 19:31

016/01/02 19:25

016/01/02 19:28
16/01/02 19:39

16/01/02 19:19

laboratory and at the MBLM station using Hygrochip Model


TIME
MP-100H. These values are graphically presented at different
times using ORIGIN software. Plots for humidity and
Fig.9. Plot of temperature values of measured and reference with respect to
temperature are shown in figs. 8 and 9, respectively. This time
result in the form of comparison is shown in Table 1.
IV. CONCLUSION [11] CC3200 LaunchPad Datasheet.pdf.
[12] http://arduinosensors.com/index.php/hsm-20g-interface-with-arduino-
In this paper we have designed and developed a CC3200- uno.
based Cloud IoT for measuring humidity and temperature. [13] HRT393 Humidity Sensor Datasheet.pdf
CC3200 is the first SimpleLink WiFi internet-on-chip [14] https:// m2x.att.com/develop/documentation/v2/overview.
LaunchPad developed by Texas instruments, USA in 2014. [15] https://m2x.att.com.
The HRT393 sensor is used for measuring humidity and [16] Florian Rappl, Niki Kilbertus, Dr. Fritz Wunsch. “Baby Zen- a flexible
temperature. Measured parameters are sent to the Cloud sensor booster pack,” Texas instruments Innovation Challenge: Europe
servers of AT&TM2X Cloud technology (HTTPS). Humidity Design contest 2015. TI University program.
and temperature measurements made in real-time are shown [17] Mini Boundary Layer Mast Station. Model-MP100H Hygro chip
graphically. The software is developed in Energia integrated [18] J. Milliken, A. Marshall. “Design and Analysis of an Independent, Layer
2, Open Access WiFi Monitoring Infrastructure in the Wild. Research
development environment (IDE). The measured values are
Gate,” July 2012.
compared with the measurements recorded by the ground
[19] Chao Feng, Pengyu Mao, Tingting Bian, Lu Yang, Xu Zhou, Zhendong
station Laboratory set up by ISRO, India, on the University Guan.”A Medical Image Transmission System for Wi-Fi Based Wireless
campus. Capsule Endoscopy,” 10th international conference on Computer
Science& Education (ICCSE 2015), July 22-24, 2015.
Acknowledgment [20] DO Trung Kien, DamTrung thong,”Monitoring Environmental
Parameters through GPRS Networks,” VNU Journal of Mathematics-
P. Divyavani is thankful to the Department of Science and
Physics. Vol.30, No.1 (2014)50-56.
Technology (DST), New Delhi, for sanctioning the INSPIRE
fellowship and the authors are thankful to DST for sanctioning
FIST program in establishing VLSI and Embedded Laboratory
in the Department of Physics.

References
[1] Andrea Zanella, Senior Member, IEEE, Nicola Bui, Angelo Castellani,
Lorenzo Vangelista, Senior Member, IEEE, and Michele Zorzi, Fellow,
IEEE, “Internet of Things for Smart Cities,”IEEE Internet of Things
Journal, Vol. 1, No.1, February 2014.
[2] Yacine Ghamri-Doudance, Robert Minerva,” Guest Editorial Special
Issue on World Forum on Internet of Things,” Conference 2014, IEEE
Internet of Things Journal, Vol. 2, No.3, June 2015.
[3] Shanzhi Chen, Senior member, IEEE, Hui Xu, Dake Liu, Senior
Member, IEEE, Bo Hu, and Hucheng Wang. “A Vision of It:
Applications, Challenges, and Opportunities with China Perspective,”
IEEE Internet of Things Journal, Vol.1, No.4, August 2014.
[4] Burak Kantarci, Senior member, IEEE, and Hussein T. Mouftah, Fellow,
IEEE. “Trustworthy Sensing for Public Safety in Cloud-Centric Internet
of Things,” IEEE Internet of Things Journal, Vol. 1, No.4, August 2014.
[5] Alessio Botta, Walter de Donato, Valerio Persico, Antonio Perscapé.
“Integration of Cloud Computing and Internet of Things: A Survey,”
Journal of Future Generation Computer Systems, September 14.2015.
[6] Abdallah AL-Sabbagh Pakawat Pupatwibul, Ameen Banjar and Robin
Braun. “Optimization of the Open Flow Controller in Wireless
Environments for Enhancing Mobility,” 13 the Annual IEEE Workshop
on Wireless Local Networks 2103.
[7] S.R Kumar, Arjun P. Ghatule,”Microcontroller based Controlled
Irrigation System for Plantation,” Proceedings of the International
Multiconference of Engineers and Computer scientist, Vol. II, March
13-15, 2013
[8] Kshitij shingal, Dr, ArtiNoor, Dr. Neelam Srivastava, Dr. Raghuvir
Singh,”Intelligent Humidity Sensor for Wireless Sensor Network
Agricultural Application,” Vol.3, No.1, February 2011.
[9] Gajjar. S, Choksi. N, Sarkar. M, Dasgupta. K,”Design, development and
testing of Wireless sensor Network Mote,” Devices, Circuits &
communication (ICDCCOM), Pages 1-6, 12-13 Sep-2014.
[10] Norberto Barroca, Luís M. Borges, Fernando J. Velez, Filipe Monteiro,
Marcin Górski, JoãoCastro-Gomes,”Wireless sensor networks for
temperature and humidity monitoring with concrete structures,”
Construction and Building materials, Pages 1156-1166, 18 December
2015.

You might also like