Spoorthy
Spoorthy
A Internship on Report on
Abhinav S V USN:4JN20EC002
Under the Guidance of
Prof. Sunil M.D
Assistant Professor,
Dept. of ECE,
JNNCE-577 204.
CERTIFICATE
This is to certify that the internship entitled “Real Time Embedded systems and
IoT” is carried out at Devminds Bengaluru , submitted by Abhinav S.V (4JN21EC002)
, the bonafide student of JNN College of Engineering, Shimoga in partial fulfillment for the
award of “Bachelor of Engineering” in department of “Electronics and Communication
Engineering” of the Visvesvaraya Technological University, Belagavi, during the year
2023-2024. It is certified that all the corrections/suggestions indicated for internal
assessment have been incorporated. The internship report has been approved as it
satisfies the academic requirements in respect of internship prescribed for the said
degree.
Keywords: IoT, Wireless communication modules, Central server, GSM, real time;
ACKNOWLEDGEMENTS
The satisfaction and euphoria that accompany the successful completion of any task
would be incomplete without the mention of the people who made it possible whose
constant guidance and encouragement crowned the efforts with success.
I thank to Dr. Y Vijaya Kumar, Principal, JNNCE, Shivamogga for giving facilities to
undertake internship work.
i
I would wish to express my gratitude to Dr. S.V Sathyanarayana, Head of Department,
Electronics and Communication Engineering for providing the good working
environment and for his constant support and encouragement.
It gives me great pleasure in placing on record a deep sense of gratitude to our guide Mrs.
Roopa B S, Assistant Professor and to our internship coordinator, Mrs. Sumathi K,
Assistant Professor , Department of Electronics and Communication Engineering for their
expert guidance, initiative and encouragement that led me through the presentation.
I also thank Ekathva Innovations Pvt. LTD and my guide Mr. Koushik Udupa and
Mr.Vikas H C for providing me an opportunity to work in the company and
complete the internship program.
And lastly, I would hereby acknowledge and thank my parents who have been a source of
inspiration and also instrumental in the successful completion of internship. Thank you
All,
SPOORTHI R 4JN20EC073
Contents
Abstract ................................................................................................................................................ i
Acknowledgements .......................................................................................................................... i
List of Figures ................................................................................................................................... iv
1 INTRODUCTION ............................................................................................................................. 1
1.1 Insights from Internship experience ....................................................................................... 1
1.2 Area of Internship ........................................................................................................................ 1
1.3 Problem Statement ...................................................................................................................... 2
1.4 General Information .................................................................................................................... 2
1.5 Methodology ................................................................................................................................. 4
1.6 Objectives....................................................................................................................................... 5
1.7 General trends about the topic ................................................................................................. 5
ii
1.8 Scope of the project ..................................................................................................................... 5
1.9 Organization of the report ......................................................................................................... 6
2 THEORETICAL BACKGROUND .................................................................................................. 7
2.1 Introduction .................................................................................................................................. 7
2.2 Literature survey ......................................................................................................................... 7
2.3 Summary ........................................................................................................................................ 9
2.4 Conjectural Support .................................................................................................................. 10
2.5 Project Developmental stages ................................................................................................. 10
3 BLOCK DIAGRAM AND COMPONENTS ................................................................................. 11
3.1 Introduction ................................................................................................................................ 11
3.2 Block Diagram ............................................................................................................................ 11
3.3 Working ........................................................................................................................................ 12
4 HARDWARE AND SOFTWARE DESCRIPTION ..................................................................... 13
4.1 Introduction ................................................................................................................................ 13
4.2 Anemometer (Wind Speed sensor) : ..................................................................................... 13
4.3 Wind Vane(Wind Direction Sensor) : .................................................................................... 14
4.4 BME280(Pressure, Temperature and Humidity sensor) : ................................................ 15
4.5 Leaf Wetness Sensor : ............................................................................................................... 16
4.6 DS18B20 (Soil Temperature Sensor) : .................................................................................. 16
4.7 Rain Gauge :................................................................................................................................. 18
4.8 BH1750 (Leaf Intensity Sensor) : ........................................................................................... 19
4.9 GSM SIM 800L :........................................................................................................................... 20
4.10 Arduino Mega 2560 : .............................................................................................................. 21
4.11 Arduino IDE : ............................................................................................................................ 22
4.12 ThingSpeak ............................................................................................................................... 22
5 RESULTS AND DISCUSSIONS .................................................................................................... 24
5.1 Results Obtained : ...................................................................................................................... 24
5.2 Conclusion : ................................................................................................................................. 24
5.3 Future Scope : ............................................................................................................................. 28
5.4 Outcome of the Internship ....................................................................................................... 29
References ........................................................................................................................................ 30
iii
List of Figures
3.1 Block Diagram of Micro Weather Station . . . . . . . . . . . . . . . . . . 11
4.1 Anemometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2 Wind Vane .................................. 14
4.3 BME280 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.4 Leaf Wetness Sensor ............................. 16
4.5 Soil Temperature Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.6 Rain Gauge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.7 Leaf Intensity Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.8 GSM Module ................................. 19
4.9 Arduino mega 2560 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.10 Arduino IDE ................................. 21
4.11 ThingSpeak . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
iv
Chapter 1
INTRODUCTION
During the internship, extensive exploration of IoT technologies led to practical
experience in hardware programming and circuit design. The program began with
introductory sessions on Tinkercad, engaging in hands-on activities to grasp fundamental
concepts and develop proficiency in creating and simulating circuits. Subsequently, there
was a transition to working with Arduino UNO and Arduino IDE, delving into basic
programming syntaxes and implementing various programs to control hardware
components. As the internship progressed, there was an advancement to more
sophisticated IoT development with the ESP32 kit, further expanding knowledge and
capabilities in wireless communication and sensor integration. Through practical
exercises and experimentation, insights were gained into utilizing Adafruit IO and Blynk
platforms for remotely monitoring and controlling IoT devices.
Development Tools
Sensor Integration
IoT connectivity
1. Purpose: These micro weather stations are designed to provide farmers with
realtime and historical weather data specific to their farm’s location. This includes
parameters such as temperature, humidity, precipitation, wind speed and direction,
soil moisture, and solar radiation.
3. Integration with IoT: The IoT aspect of these weather stations allows for seamless
connectivity and data transmission. Data collected by the sensors are transmitted
wirelessly to a central hub or cloud platform using communication protocols such
as Wi-Fi, cellular networks, or Low-Power Wide-Area Networks (LPWAN) like
LoRaWAN. This enables farmers to access weather data remotely through
smartphones, tablets, or computers.
5. Benefits:
1.5 Methodology
Sensor Selection: Choose high-quality sensors for accurate measurement of
temperature, humidity, rainfall, wind speed, and direction, ensuring reliability in
diverse agricultural environments.
Data Processing: Develop algorithms for processing raw sensor data, filtering
noise, and generating actionable insights for farmers, such as irrigation
recommendations or pest forecasts.
By following this methodology, developers can design and implement robust IoT-enabled
farm-specific micro weather stations that provide farmers with accurate, real-time
1.6 Objectives
1. To integrate sensors with the microcontroller Ardunio mega to collect data of wind
speed, wind direction, temperature, pressure, humidity, soil temperature, rainfall,
sunlight intensity and Leaf wetness.
2. To calibrate the Real time values from the obtained data.
THEORETICAL BACKGROUND
2.1 Introduction
In the context of this project, the literature survey serves as a critical component in
gathering relevant knowledge and insights that directly relate to the micro weather
station system and its associated components. By reviewing existing scholarly articles,
research papers, technical documents, and other reputable sources, the literature survey
provides a comprehensive understanding of the current state-of-the-art technologies,
methodologies, and advancements in farming systems, sensor technologies and related
fields. Through the literature survey, this project aims to identify and analize existing
research and developments that have explored farming technologies, IoT uses, and smart
agriculture automation. By examining previous work in these areas, valuable information
regarding the design considerations, technical challenges, and potential solutions can be
acquired. Additionally, the literature survey allows for an evaluation of the effectiveness
and limitations of similar farming systems implemented in various contexts, enabling the
project to leverage best practices and identify areas for innovation and improvement.
The methodology involved in this paper is to intelligently select the low-cost sensors,
collect data in real- time, store the data in cloud sever, perform visualization of the sensor
data, carry out analytics on the data to study its current behavior so as to predict its future
behavior. Weather data is collected from the sensors Temperature, Humidity, Dew Point,
Absolute Pressure, Relative Pressure, Light Intensity and Rain data. Once the sensor data
[2]Popa, M. and Iapa, C., 2011, November. Embedded weather station with remote
wireless control. In 2011 19thTelecommunications Forum (TELFOR) Proceedings
of Papers (pp. 297-300). IEEE.
[4]Tenzin, S., Siyang, S., Pobkrut, T. and Kerdcharoen, T., 2017, February.
Low cost weather station for climate-smart agriculture. In 2017 9th international
conference on knowledge and smart technology (KST) (pp. 172-177). IEEE.
[5]Fang, Z., Zhao, Z., Du, L., Zhang, J., Pang, C. and Geng, D., 2010, January. A new
portable micro weather station. In 2010 IEEE 5th International Conference on
Nano/Micro Engineered and Molecular Systems (pp. 379-382). IEEE.
TA novel and practical micro weather station, which can sense temperature, relative
humidity, pressure and anemometer, and is portable in small size and possesses high
precisions. The micro weather station comprises multi-sensor chip, anemometer,
measurement system, display system and power management system. The wind
direction can be measured by perpendicularly encapsulating the two wind sensor.
Compared with those processes used in other types of micro weather station, the
processes we used were very simple and compatible.
2.3 Summary
The insights gained from the literature survey will inform the design and development of
the micro weather station system, ensuring that it aligns with the latest advancements,
addresses existing challenges, and contributes to the current body of knowledge. By
drawing upon the collective expertise of researchers and professionals in the field, the
literature survey establishes a strong foundation for the project, enhancing its credibility,
feasibility, and potential impact.
3.1 Introduction
This project requires Arduino MEGA, Soil temperature Sensor,Leaf wetness sensor,BH1750(LUX
Sensor), BME280(Pressure,temperature and humidity sensor), Wind Vane(Wind direction
sensor), Anemometer (Wind speed sensor) and Rain Gauge.
The block diagram depicts a system, likely designed for environmental monitoring within
an agricultural context. Here’s how the individual components may work together: For
the power source
Solar Power Supply : This is the primary power source for the entire system. It converts
sunlight into electricity, which powers the other components.
Anemometer and Wind vane : These measure wind speed and direction, crucial data
points for understanding weather patterns in agricultural settings.
3. BLOCK DIAGRAM AND COMPONENTS
Soil Temperature : This sensor monitors the temperature of the soil, important for crop
health and planting decisions.
Leaf Wetness : This measures the amount of moisture on plant leaves, an indicator of
potential fungal diseases, and can inform about irrigation needs.
BH1750 : A light sensor that measures the intensity of light, relevant for assessing crop
growth and sunlight exposure.
Rain Gauge : Measures the amount of rainfall, essential for irrigation planning, and
water resource management.
Arduino Mega : This microcontroller acts as the heart of the system. It collects data
from the various sensors, processes it, and likely makes decisions based on pre-
programmed logic Communication and Data
Thingspeak : This is likely a cloud-based platform for storing, analyzing, and visualizing the
data collected by the sensors.
3.3 Working
The solar panel supplies power to the entire system. The sensors continuously gather
environmental data surrounding the crops as the function of data collection.
Microcontroller unit The Arduino MEGA processes the received data. At the stage of
transmission the GSM Module periodically sends the processed data to ThingSpeak. For
the Storage and analysis: ThingSpeak stores the data, allowing for further analysis, trends,
and visualization of the environmental conditions.
Chapter 4
4.1 Introduction
The hardware components used in this project play a critical role in the successful
implementation and functionality of the micro weather station. These hardware
components include sensors, microcontrollers, actuators, power supply modules, and
various electronic components. Each component has specific functionalities and
contributes to the overall operation and performance of the system.
A wind vane, also known as a wind direction sensor, is a device used to determine the
direction from which the wind is blowing. It typically consists of a flat or arrow-shaped
vane mounted on a vertical or horizontal axis. The vane is designed to rotate freely in
response to the direction of the wind, aligning itself with the airflow. As the wind changes
direction, the vane rotates accordingly, indicating the prevailing wind direction relative
to its orientation.
Wind vanes are crucial components of weather stations, maritime navigation
systems,and various industrial applications where knowledge of wind direction is
essential. In weather monitoring, wind vanes provide valuable data for meteorologists to
analyze and predict weather patterns. They are also integral to aviation operations,
helping pilots determine takeoff and landing directions, as well as providing information
on crosswinds during flight. Additionally, in industries such as agriculture and
The BME280 is a versatile sensor that integrates pressure, temperature, and humidity
measurement capabilities into a single compact package. Developed by Bosch Sensortec,
this sensor is renowned for its high accuracy and reliability, making it a popular choice in
various applications such as weather monitoring, indoor climate control, and IoT devices.
The BME280 utilizes advanced MEMS (Micro-Electro-Mechanical Systems) technology to
precisely measure atmospheric pressure, temperature, and relative humidity.
In terms of functionality, the BME280 operates by employing separate sensing
elements for pressure, temperature, and humidity measurement. The pressure sensor
detects variations in atmospheric pressure, which can be used to derive altitude
information or predict weather changes such as approaching storms. Meanwhile, the
temperature sensor accurately measures ambient temperature, providing valuable data
for climate control systems and environmental monitoring applications. Additionally, the
humidity sensorcaptures relative humidity levels, enabling insights into indoor air quality
or supporting humidity-dependent processes such as HVAC (Heating, Ventilation, and Air
Conditioning) control. By combining these three essential measurements into a single
The Leaf Wetness Sensor (LWS) is a specialized device designed to measure the
presence and duration of moisture on the surface of plant leaves. It plays a crucial role in
agricultural and environmental monitoring applications, providing valuable insights into
the wetness conditions of plant foliage. The sensor typically consists of a thin, flat surface
that simulates the leaf’s texture and properties. When moisture, such as dew, rain, or
irrigation, comes into contact with this surface, the sensor detects the presence of water
and records the duration of wetness.
In agricultural settings, the Leaf Wetness Sensor is instrumental in disease
management and irrigation optimization. Excessive moisture on plant leaves can create
favorable conditions for the development of fungal diseases, such as powdery mildew and
botrytis. By continuously monitoring leaf wetness levels, farmers can implement timely
interventions, such as adjusting irrigation schedules or applying fungicides, to mitigate
the risk of disease outbreaks and minimize crop damage. Additionally, the data collected
by the Leaf Wetness Sensor aids in improving water management practices by providing
insights into soil moisture dynamics and optimizing irrigation efficiency, thereby
promoting sustainable agriculture practices.
The BH1750 sensor, also known as a digital light sensor, is a compact and highly
sensitive device used to measure ambient light levels. It utilizes advanced technology,
including a built-in photodiode array and analog-to-digital converter, to accurately detect
and quantify the intensity of light in its environment. The sensor is capable of measuring
a wide range of light levels, from very low to very high illumination, with high resolution
and precision.
In various applications such as smart lighting systems, display brightness control, and
energy management, the BH1750 sensor serves as a key component for optimizing
lighting conditions and energy usage. By continuously monitoring ambient light levels,
the sensor provides valuable data for adjusting artificial lighting levels to match natural
lighting conditions, thereby enhancing user comfort and reducing energy consumption.
Additionally, the BH1750 sensor is commonly used in IoT (Internet of Things) devices
and environmental monitoring systems to gather data on light intensity for various
analytics and automation purposes. Its small size, low power consumption, and digital
output make it a versatile and efficient solution for measuring ambient light levels in a
wide range of applications.
The GSM SIM800L module is a compact and versatile device designed to facilitate
communication over the Global System for Mobile Communications (GSM) network. It
serves as a modem that enables devices to connect to the cellular network and transmit
data, including voice calls, SMS messages, and internet connectivity. Equipped with a SIM
card slot and supporting various frequency bands, the SIM800L module offers
widespread compatibility with GSM networks worldwide, making it suitable for diverse
applications across different regions.
In IoT (Internet of Things) applications, the SIM800L module is commonly used to
provide cellular connectivity to embedded systems, sensors, and other devices. By
integrating the module into their designs, developers can enable remote monitoring,
control, and data transmission capabilities, even in locations without Wi-Fi or wired
internet access. Additionally, the SIM800L module’s small form factor, low power
consumption, and robust performance make it an ideal choice for battery-powered and
portable devices, such as GPS trackers, remote sensors, and asset tracking systems. Its
plug-and-play functionality, coupled with extensive documentation and support, further
enhances its appeal as a cost-effective and reliable solution for cellular communication in
IoT projects and beyond.
The Arduino Mega 2560 is a microcontroller board based on the ATmega2560 chipset,
offering expanded capabilities and versatility compared to standard Arduino boards. It
features a larger form factor and a greater number of input/output pins, making it
wellsuited for complex projects that require extensive connectivity and processing power.
With 54 digital input/output pins, 16 analog inputs, and a range of communication
interfaces including UART, SPI, and I2C, the Mega 2560 provides ample resources for
interfacing with various sensors, actuators, displays, and other peripherals.
Ideal for prototyping, experimentation, and development across a wide range of
applications, the Arduino Mega 2560 offers enhanced processing capabilities, clocked at
16 MHz, and 256 KB of flash memory for program storage. This allows for the
implementation of more sophisticated algorithms, data processing tasks, and
multitasking operations. Additionally, the Mega 2560 supports the Arduino development
environment, making it easy to program and deploy code using the familiar Arduino IDE.
Its robust design, extensive feature set, and broad compatibility with existing Arduino
shields and libraries make it a popular choice among hobbyists, educators, and
professionals for building advanced electronic projects and prototypes.
4.12 ThingSpeak
ThingSpeak is an IoT (Internet of Things) platform developed by MathWorks, designed to
collect, analyze, and visualize data from connected devices and sensors. It provides
a cloud-based infrastructure that enables users to easily create IoT applications and
solutions without the need for extensive programming knowledge. With its user-friendly
interface and robust set of features, ThingSpeak simplifies the process of collecting and
managing data streams from IoT devices, making it accessible to hobbyists, researchers,
and professionals alike.
Through its integration with MATLAB, ThingSpeak offers powerful data analysis and
visualization capabilities, allowing users to perform complex data processing tasks and
generate insightful visualizations. Users can create custom MATLAB scripts to manipulate
and analyze data streams in real-time, enabling advanced analytics and decisionmaking.
Additionally, ThingSpeak provides tools for building custom dashboards and applications,
enabling users to monitor and interact with their IoT data in a personalized and intuitive
manner. Overall, ThingSpeak serves as a versatile platform for IoT data management,
analysis, and visualization, empowering users to leverage the power of connected devices
to drive innovation and solve real-world problems.
5.2 Conclusion :
In conclusion, the Microweather Station project represents a significant advancement in
environmental monitoring, offering a sophisticated sensor network capable of providing
detailed insights into local weather dynamics. Through the integration of diverse sensors
for parameters such as rainfall, temperature, humidity, and wind, coupled with advanced
data processing techniques, the system enables precise and real-time data acquisition.
This not only enhances our understanding of microscale weather phenomena but also
facilitates predictive modeling and informed decision-making in various sectors.
Furthermore, the Microweather Station project demonstrates the potential of
leveraging cutting-edge technology to address complex environmental challenges. By
providing actionable intelligence across domains such as precision agriculture, urban
microclimate
Figure 5.2: Result of BME280 sensor showing Pressure temperature and humidty values
Figure 5.9: Result showing all sensor value in Arduino IDE Terminal
management, and weather forecasting, the project offers tangible benefits for improving
resource allocation, enhancing operational efficiency, and mitigating risks associated
[2] M. Popa and C. Iapa, “Embedded weather station with remote wireless control,” in
2011 19thTelecommunications Forum (TELFOR) Proceedings of Papers. IEEE, 2011, pp.
297–300.
[4] S. Tenzin, S. Siyang, T. Pobkrut, and T. Kerdcharoen, “Low cost weather station for
climate-smart agriculture,” in 2017 9th international conference on knowledge and
smart technology (KST). IEEE, 2017, pp. 172–177.
[5] Z. Fang, Z. Zhao, L. Du, J. Zhang, C. Pang, and D. Geng, “A new portable micro weather
station,” in 2010 IEEE 5th International Conference on Nano/Micro Engineered and
Molecular Systems. IEEE, 2010, pp. 379–382.