0% found this document useful (0 votes)
3 views

Internet of Things Based Cloud Data Logging System Using Thingspeak

The Internet of Things (IoT) comprises a network of intelligent objects that integrates sensors with networking technology

Uploaded by

IJMSRT
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Internet of Things Based Cloud Data Logging System Using Thingspeak

The Internet of Things (IoT) comprises a network of intelligent objects that integrates sensors with networking technology

Uploaded by

IJMSRT
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Volume-3,Issue-5,May2025 International Journal of Modern Science and Research Technology

ISSN NO-2584-2706

Internet of things based Cloud Data Logging System


using Thingspeak
Vidhi Mehta; Vaishnavi Kongre; Sakshi Shukla
Department Of Master in Computer Application
G H Raisoni College of Engineering and Management Nagpur,Maharashtra, India

Abstract interconnected objects to communicate with one


The Internet of Things (IoT) comprises a network another and access advanced services based on
of intelligent objects that integrates sensors with current and developing interoperable
networking technology, cloud computing, and information and
various data concepts[2]. Currently, the IoT is communication technologies. The Internet of
utilized across various domains, with health Things (IoT) uses contemporary, pervasive
monitoring systems being one of the most crucial communication techniques to bring the digital
areas of focus. This is due to statistical analyses world into the real world[3]. The focus of the
indicating that a human life is lost every minute Internet of Things is on configuring, controlling,
worldwide[2]. The ThingSpeak API is an open- and networking "Internet of Devices" or
source interface that receives incoming data, "Things," such as thermostats, electronic
timestamps it, and presents it for both human devices, home appliances, utility meters,
users (via visual graphs) and machines (through medical
easily parseable code)[6]. devices, cameras, and various sensors that were
not previously connected to the Internet[3]. This
Keywords: is true
Internet of Things, network, cloud computing, even though many common devices, like
monitoring systems, ThingSpeak networked computers or mobile phones, have
unique identities and are connected to the
1. Introduction Internet. There is no agreed-upon definition of
The Internet of Things (IoT) connects the digital the Internet of Things (IoT); instead, several
and physical realms through advanced, always- foundations and parties utilize different
available communication techniques. The modern definitions. In their 2012 overview, the
internet's heightened demand for services has International Telecommunication Union (ITU)
made efficient data collection and exchange defined the Internet of Things (IoT) as a global
necessary. By utilizing electronic sensors and the information infrastructure society that allows
internet to link physical equipment and vehicles, interconnected objects to communicate with one
the internet of things (IoT) has promised to another and provide sophisticated services based
facilitate efficient data storage and interchange[5]. on current and developing interoperable
There is no single definition of the Internet of informationand communication technologies[4].
Things (IoT); various foundations and parties use The current research encompasses creating
different definitions. In 2012, the International remote real-time monitoring systems for sensor
Telecommunication Union (ITU) released an equipment, backed by web-based data collection
overview of the IoT, defining it as a global to enable user access to data and analysis using
information infrastructure that allows different machine learning algorithms.

IJMSRT25MAY071 www.ijmsrt.com 323


DOI: https://doi.org/10.5281/zenodo.15505194
Volume-3,Issue-5,May2025 International Journal of Modern Science and Research Technology
ISSN NO-2584-2706

2. The Dht11, Temperature and Humidity environment's temperature is the main purpose
Sensor of a temperature detector.
The DHT11 is a simple, very inexpensive digital They could be contact or non-contact sensors.
sensor for temperature and humidity. It employs a The sensor ought to possess the following
capacitive humidity measuring element attributes:
(measuring range: 20%–80%; precision: ±5%)  Range: the range of values that a sensor
calibrated with an NTC thermistor (measuring performs well at both the maximum and
range: 0°C–50°C; precision: ±0.2°C) to assess the minimum.
surrounding air, providing a calibrated digital  Accuracy: the sensor's ability to measure the
signal output of temperature and relative humidity environment precisely.
(no analogue input pins required). The only  Resolution: the sensor's capacity to detect
genuine drawback of this sensor is that new data minute variations in readings.
can be obtained from it only every two seconds.  Repeatability: The capacity of a sensor to
One sensor, the DHT11, has the ability to repeat a measurement in the same setting.
simultaneously measure temperature and humidity
(humidity). A thermistor of the NTC type is
present in this sensor[10]. The DHT11 sensor
module is a dual-purpose device that detects
humidity and temperature, providing a calibrated
digital output signal. With a DHT11, we obtain
highly accurate temperature and humidity
readings. It guarantees a system with long-term
stability and great reliability. internet to increase Humidity sensor, with a stream of 1 and 0 as its
the monitoring's range. The ESP8266 module output. The power source for the DHT11 is 3-
integrates the Thingspeak application with the 5.5V DC. To get out of the unstable state, don't
Internet of Things (IoT) to provide an LM35 provide the sensor any instructions for a second
temperature sensor that serves as a temperature after power is applied. To filter power, a 100nF
detector, a DHT11 sensor that detects humidity, capacitor can be placed between VDD and
and a MQ-135 sensor that detects air quality[10]. GND. The data single-bus free status is at a
The DHT11 sensor features a resistive humidity high voltage level. MCU's program will set the
measurement component and an NTC temperature data single-bus voltage level from high to low
measurement component, along with an integrated when communication with DHT11 starts. This
8-bit microcontroller that offers a rapid response procedure must take at least 18 ms to guarantee
and is economical. It is available in either a 4-pin that DHT detects the MCU's signal. After that,
or a 3-pin single-row package. MCU will draw up the voltage and wait 20–40
us for DHT's response.
2.1 Temperature Detector
3. Geometric Mean Optimizer (Gmo)
A temperature is an impartial way to compare
One optimization technique that takes advantage
how hot or cold something is. It is measured
of some relationships' multiplicative character is
in either 0 c or 0. Thermometers are sensors
the Geometric Mean Optimizer (GMO). It
used to measure temperature. In many
works especially well when the task is
different applications, from scientific research
optimizing products of variables or when a
to industrial processes, temperature detectors
multiplicativity rather than an additive
are essential. Temperature is one of the most
representation is more appropriate for the
often measured physical quantities. Creating a
relationship between a system's characteristics.
legible signal from an object's or
The method mimics the mathematical geometric

IJMSRT25MAY071 www.ijmsrt.com 324


DOI: https://doi.org/10.5281/zenodo.15505194
Volume-3,Issue-5,May2025 International Journal of Modern Science and Research Technology
ISSN NO-2584-2706

mean operator. The Dual-Fitness Index (DFI), a


novel index that assesses search agents' variety
and fitness, is presented. This makes it easier to
choose qualified advisers without having to be
aware of the optimization procedure stage. It
resolves the issue of distinguishing between
phases of exploration and exploitation, which
differs depending on the topic. Other benefits
include adopting Gaussian mutation, employing
distinct search agent guides, and avoiding the
need for parameter modification to achieve
dependable outcomes. A system that measures The provided pseudo code is intended for an
the temperature of an object or environment is Internet of Things (IoT) system that gathers
called a temperature detector. When talking sensor data, feeds the data to the ThingSpeak
about a temperature detector in a research cloud platform, and uses a Geometric Mean
article, one would go over its types, Optimizer (GMO) to optimize the data collection
applications, and possible uses in technological process. The ultimate objective is to log and
or scientific studies. analyze sensor data effectively while minimizing
A) Conversion Curve needless transfers and maximizing system
performance.
1. Define problem settings:
 Set dimension (D) of the problem (e.g., 10).
 Set the lower and upper bounds of the search
space (e.g., -5.12 and 5.12).
 Set the population size (e.g., 50).
 Set the maximum number of iterations (e.g.,
100).

2. Define the objective function:


 Objective function: f(x) = sum(x^2 - 10 *
cos(2 * pi * x) + 10) for the Rastrigin
function.

3. SetDifferentialEvolution(DE) Parameters:
 Set mutation factor F (e.g., 0.8).
 Set crossover probability CR (e.g., 0.9).

4. Initialize population:
 Randomly initialize a population of size
`population_size` with values between `
`lower_bound` and `upper_bound` for each
individual in D-dimensional space.

B) Pseudo-Code

IJMSRT25MAY071 www.ijmsrt.com 325


DOI: https://doi.org/10.5281/zenodo.15505194
Volume-3,Issue-5,May2025 International Journal of Modern Science and Research Technology
ISSN NO-2584-2706

5. Initialize best solution: 15. After all iterations, display the final best
 Set `best_sol` to NaN. solution and its objective value:
 Set `best_obj` to infinity to store the best  Output the best solution and the
objective value. corresponding best objective value.

6. For each iteration from 1 to `max_iter` 4. Results & Discussions
These are the outcomes of the Geometric mean
7. For each individual in the population: optimizer from F1 to F23 showing different
 Randomly select three individuals from the conversion curve.
population.
 Assign them to vectors a, b, and c.

8. PerformDifferentialEvolution (DE) mutation:


 Generate a mutant vector: `mutant = a + F * (b -
c)`.
 Apply boundary constraints to the mutant vector,
ensuring its values are between lower_bound`
and `upper_bound`.

9. Perform crossover to generate a trial vector:


 For each dimension in the individual, with
probability CR, replace the value of the trial
vector with the corresponding value from the
mutant vector.

10. Evaluate the objective function of the trial


vector.

11. Evaluatetheobjective function of the current 5. Conclusion


individual. This study has proposed and implemented a Cloud
Data Logging System based on the Internet of
12. If the trial vector has a better objective Things (IoT) using ThingSpeak, demonstrating a
value (lower value), replace the individual real-world application of IoT technology integrated
with the trial vector. with cloud computing for real-time data collection,
analysis, and monitoring.
13. After evaluating the entire population, The integration of ThingSpeak with MATLAB
find the best solution by comparing all enables sophisticated data analysis, which
individuals' objective values: enhances the system's decision-making and trend-
 If an individual has a lower objective value predicting capabilities. To sum up, the IoT-based
than the current `best_obj`, update cloud data logging system utilizing ThingSpeak
`best_sol` and `best_obj`. shows a practical, efficient, and scalable solution
for real-time data acquisition, storage, and
14. Display the current iteration number analysisA decent mix of digital and analog sensors
and the best objective value found so far. are used by the system in both wired and wireless
modes of operation. Consequently, a proof of
concept for an Internet of Things gadget for a

IJMSRT25MAY071 www.ijmsrt.com 326


DOI: https://doi.org/10.5281/zenodo.15505194
Volume-3,Issue-5,May2025 International Journal of Modern Science and Research Technology
ISSN NO-2584-2706

weather monitoring system in real time has been [2] ThingSpeak cloud computing platform based
created. Future efforts might aim at improving the ECG diagnose system AAH Mohamad, NK
security of the system, adding more advanced data Jumaa, SH Majeed International Journal of
processing algorithms, and broadening the system's Computing and Digital Systems, 2019
ability to manage larger and more varied data sets. pdfs.semanticscholar.org

6. Acknowledgement [3] Internet of things-based fog and cloud


Our deepest gratitude goes out to all the individuals computing technology for smart traffic
and organizations who contributed to the successful monitoring S Dhingra, RB Madda, R Patan, P
completion of this research project titled “Internet Jiao, K Barri - Internet of Things, 2021 – Elsevier
of Things Based Cloud Data Logging System Using
ThingSpeak.” [4] ThingSpeak cloud computing platform based
We would like to express our gratitude to the ECG diagnose system AAH Mohamad, NK
Master’s in Computer Application at G.H.Raisoni Jumaa, SH Majeed International Journal of
College of Engineering and Management, Nagpur Computing and Digital Systems, 2019
for supplying the essential resources and pdfs.semanticscholar.org
infrastructure needed to perform experiments and
testing on the IoT-based cloud data logging system. [5] ThingSpeak based sensing and monitoring
We sincerely thank our peers, colleagues, and system for IoT with Matlab Analysis S Pasha
research associates for their contributions to International Journal of New Technology and
brainstorming, problem-solving, and providing Research (IJNTR), 2016 academia.edu
feedback throughout the research process. Their
contributions were crucial for the enhancement of [6] ThingSpeak–an API and Web Service for
themethodologyandsystemdesign. the Internet of Things MAG Maureira, D
Moreover, we wish to express our gratitude to our Oldenhof, L Teernstra - World Wide Web, 2011 -
families for their constant support and understanding staas.home.xs4all.nl
throughout the research process.
Thanks to their motivation, patience and [7] IoT-based big data storage systemsin
encouragement, we were able to maintain our focus cloud computing: perspectives and challenges H
anddetermination in finishing this work. Cai, B Xu, L Jiang - IEEE Internet of Things,
This research has given us a valuable opportunity to 2016 - ieeexplore.ieee.org
apply IoT and cloud technologies, and we hope the
results will help move forward the field of IoT-based [8] IoT-based data logger for weather
data logging and real-time monitoring systems. monitoring using arduino-based wireless sensor
networks with remote graphical application and
alerts J Mabrouki, M Azrour, D Dhiba-
7. References Big Data Mining and, 2021 - ieeexplore.ieee.org
[1] Design of low cost, energy efficient, IoT
enabled, air quality monitoring system with cloud [9] Datacquisition forresidential energy manage
based data logging, analytics and AI M Hussain, ment employing IoT using thingspeak M
S Aleem, A Karim, F Ghazanfar, M Hai, K Gautam, S Raviteja, S Sivanesh- 2019 IEEE
Hussain 2020 International Conference on Region 10, 2019 - ieeexplore.ieee.org
Emerging Trends in Smart, 2020
ieeexplore.ieee.org [10] Air Quality Monitoring System in Thingspeak-
Based Applications Using Internet of Things (IOT)
S Kristiyana, A Rinaldi Air Quality Monitoring

IJMSRT25MAY071 www.ijmsrt.com 327


DOI: https://doi.org/10.5281/zenodo.15505194
Volume-3,Issue-5,May2025 International Journal of Modern Science and Research Technology
ISSN NO-2584-2706

System in Thingspeak-Based Applications,


2020eprints.akprind.ac.id [17]A smart data logger system based on sensor
and Internet of Things technology as part of the
[11] EnergyDataLoggerUsingInternet Of Things (Io smart faculty M Djordjević, B Jovičić, S
T) T Ali, Q Khan, A Haleem, I Alawawda - 2019 - Marković… - Journal of Ambient …, 2020 -
103.82.172.44 content.iospress.com

[12] The utilization of internet of things (IoT) for [18] Internet of Things (IoT)-based strain
multi sensor data acquisition using thingspeak M monitoring system for large engineering structures
Jamil, M SaidVOLT: Jurnal Ilmiah Pendidikan S Anjuna, N Radhakrishnan, G George -
Teknik Elektro, 2018 jurnal.untirta.ac.id Innovative Infrastructure Solutions, 2025 –
Springer
[13] Internet of things based smart parking system
using esp8266 VD Soni International Journal of [19] Internet of things based digital lock system S
Advanced Research in Electrical Electronics, Sankar, P Srinivasan - Journal of Computational
2018researchgate.net and …, 2018 - ingentaconnect.com

[14] Datadriven internet of things and cloucomputin [20] Deep learning based object detection
g enabled hydropower plant monitoring system K combined with internet of things for remote
Kumar, RP Saini - Sustainable Computing: surveillance A Gautam, S Singh - Wireless
Informatics and Systems, 2022 – Elsevier Personal Communications, 2021 – Springer

[15] Internet of things-based photovoltaics [21] IOT Based Real Time Weather Monitoring
parameter monitoring system using NodeMCU System Using NODEMCU Rupali Pal, Firdos
ESP8266. T Sutikno, HS Purnama, A Shaikh, Janhvi Shirodkar ,Shrinidhi Gindi
Pamungkas- International Journal of 2021 -
academia.edu

[16] IOT based patient monitoring system R


Kiruthika, E Ramya, R Prabha -
Computing and , 2022 - ieeexplore.ieee.org

IJMSRT25MAY071 www.ijmsrt.com 328


DOI: https://doi.org/10.5281/zenodo.15505194

You might also like