0% found this document useful (0 votes)
27 views56 pages

Corrected For Errors IOT

Uploaded by

Mohith Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views56 pages

Corrected For Errors IOT

Uploaded by

Mohith Reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 56

An

INTERNSHIP REPORT
On

INTERNET OF THINGS
Submitted in partial fulfillment of the requirements for the award of the degree of

BACHELOR OF TECHNOLOGY
in
ELECTRONICS AND COMMUNICATION ENGINEERING
by

D.MAHAMMED KAIF
(Roll No. 21AK1A0467)

Under the Mentorship of


Mr. R. Nagaraju, M. Tech
Assistant Professor, Dept. of E.C.E

DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

ANNAMACHARYA INSTITUTE OF TECHNOLOGY AND SCIENCES - TIRUPATI


(AUTONOMOUS)
Approved by AICTE, New Delhi & Permanent Affiliation to JNTUA, Anantapuramu.
Three B.Tech Programmes ( ECE,CE & CSE) are accredited by NBA, New Delhi.
Accredited by NAAC with 'A' Grade, Bangalore. Accredited by Institution of Engineers (India)KOLKATA.
A-grade awarded by AP Knowledge Mission. Recognized under sections 2(f) & 12(B) of UGC Act 1956.
Venkatapuram(V), Renigunta (M), Tirupati, Tirupati District, Andhra Pradesh – 517520.
2021-25
ANNAMACHARYA INSTITUTE OF TECHNOLOGY AND SCIENCES - TIRUPATI
(AUTONOMOUS)
Approved by AICTE, New Delhi & Permanent Affiliation to JNTUA, Anantapuramu.
Three B.Tech Programmes ( ECE,CE & CSE) are accredited by NBA, New Delhi.
Accredited by NAAC with 'A' Grade, Bangalore. Accredited by Institution of Engineers (India)KOLKATA.
A-grade awarded by AP Knowledge Mission. Recognized under sections 2(f) & 12(B) of UGC Act 1956.
Venkatapuram (V), Renigunta (M), Tirupati, Tirupati District, Andhra Pradesh – 517520.
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

CERTIFICATE

This is to certify that D. MAHAMMED KAIF(21AK1A0467) has carried out Virtual


Internship on “INTERNET OF THINGS” and submitted to the Department of
ELECTRONICS AND COMMUNICATION ENGINEERING of Annamacharya Institute of
Technology and Sciences, in partial fulfilment of the requirements for the award of the Degree
of Bachelor of Technology in Electronics and Communication Engineering is meeting the
Academic Regulations.

Signature of Internship Mentor Signature of HOD


DECLARATION
I am D. MAHAMMED KAIF (21AK1A0467), Studying IIIrd year B. Tech in Electronics
and Communication Engineering of Annamacharya Institute of Technology and Sciences,
hereby declare that this Internship report titled “INTERNET OF THINGS” has been done by
me. The Internship work carried out is original and has not been submitted to any other
University or Institution for the award of any credits. I promise to meet all the mandatory
requirements as specified by the Academic regulations

DATE: Signature of the Student


ACKNOWLEDGEMENTS
It is our insightful duty and pleasure to express my gratitude to all those who helped me
in completion of this work successfully.

I would like to express my deepest appreciation for Andhra Pradesh State Council
of Higher Education (APSCHE) AndhraPradesh and All India Council for Technical
Education (AICTE) New Delhi for their commitment to the betterment of technical education
and the opportunities they have made available to our students. I look forward to the continued
collaboration between SLASHMARK FOUNDATION, APSCHE and AICTE to provide
more student Internships to gain hands-on experience and become better- prepared
professionals.

I would like to extend my heartfelt thanks to Principal Dr. C. Nadhamuni Reddy for
his constant encouragement and support during the Internship period.

I would like to express my heartfelt thanks to Dr. N. Pushpalatha, Professor & HOD
ECE during the progress of Internship for her timely suggestions and help in spite of her busy
schedule.

My heartfelt thanks to Internship mentor Mr. R. Nagaraju, Assistant Professor,


Department of ECE for his valuable guidance and suggestions in analysis and testing
throughout the period, till the end of Internship work completion.

Finally, I would like to express my sincere thanks to faculty members of E.C.E


Department, Lab Technicians, Internship company trainers and friends, one and all that has
helped me to complete the Internship successfully.

D . M A H A M M E D KA IF
Roll No: 21AK1A0467
Internet of Things

Dept of ECE, AITS, Tirupati Page 1


Internet of Things

Dept of ECE, AITS, Tirupati Page 2


Internet of Things

ABSTRACT
The Internet of Things (IoT) has emerged as a transformative technology paradigm,
connecting devices, sensors, and systems to enable seamless communication and data
exchange. This abstract encapsulates the essence of an internship report focused on the
exploration of IoT technologies and their applications in real-world scenarios.

The internship experience delved into the multifaceted domain of IoT, encompassing
both theoretical knowledge and hands-on practical applications. Through immersion in various
IoT projects, ranging from smart home automation to industrial IoT solutions, valuable insights
were gained into the design, implementation, and management of IoT ecosystems.

Key components of the internship report include a comprehensive review of IoT


architecture, protocols, and standards, alongside an analysis of emerging trends and challenges.
Practical experiences, such as developing IoT prototypes, configuring sensor networks, and
utilizing cloud platforms for data processing, formed an integral part of the internship journey.

Furthermore, the report highlights the significance of IoT in driving digital


transformation across industries, fostering innovation, enhancing operational efficiency, and
unlocking new opportunities for businesses. Additionally, it underscores the importance of
addressing security and privacy concerns inherent in IoT deployments to ensure the integrity
and trustworthiness of interconnected systems.

In conclusion, this internship report offers a valuable synthesis of theoretical knowledge


and practical insights garnered through hands-on experiences in the dynamic realm of the
Internet of Things. It underscores the transformative potential of IoT technologies and provides
recommendations for future research and development efforts aimed at harnessing the full
capabilities of the IoT ecosystem.

Dept of ECE, AITS, Tirupati Page 3


Internet of Things
CONTENTS

Page No.

1 Chapter 1 5

Introduction

2 Chapter 2 7

Weekly Overview

3 Chapter 3 8

Modules

4 Chapter 4 16

Basic Project

5 Chapter 5 32

Intermediate Project

6 Chapter 6 43

Advanced Project

7 Chapter 7 50

Result and Conclusions

8 Chapter 8 52

Verifiable Credentials

Dept of ECE, AITS, Tirupati Page 4


Internet of Things

CHAPTER-1

INTRODUCTION

Introduction

In the era of digital transformation, the Internet of Things (IoT) stands as a pivotal
technology revolutionizing the way we interact with the world around us. The concept of IoT
encapsulates the vision of interconnected devices, sensors, and systems seamlessly
communicating and exchanging data to enable a multitude of applications, spanning from smart
homes and cities to industrial automation and healthcare. This introduction serves as a gateway
into the expansive realm of IoT, providing an overview of its evolution, key components,
applications, and the transformative impact it holds across various domains.

The inception of IoT can be traced back to the early 2000s, although its roots can be found
in earlier concepts such as telemetry and machine-to-machine (M2M) communication. However,
it was the convergence of several technological advancements that propelled IoT into the
forefront of innovation. The proliferation of Internet connectivity, the miniaturization of sensors
and actuators, advancements in data analytics, and the ubiquity of cloud computing have
collectively laid the foundation for the IoT revolution. The evolution of IoT has been
characterized by a shift from isolated, standalone devices to interconnected ecosystems capable of
collecting, analyzing, and acting upon vast amounts of data in real-time. This interconnectedness
has blurred the boundaries between the physical and digital worlds, paving the way for
unprecedented levels of automation, efficiency, and convenience.

At the heart of the IoT ecosystem lie interconnected devices equipped with sensors and
actuators, capable of gathering and transmitting data to centralized hubs or cloud-based
platforms for processing and analysis. These devices come in various forms, ranging from
consumer electronics such as smartphones and wearables to industrial machinery and
infrastructure components. The connectivity layer forms another critical component of IoT,
enabling seamless communication between devices and systems. Wired and wireless
communication protocols such as Wi-Fi, Bluetooth, Zigbee, and LoRaWAN facilitate data
transmission over short and long distances, catering to diverse IoT applications.

Dept of ECE, AITS, Tirupati Page 5


Internet of Things

The versatility of IoT transcends industry boundaries, with applications spanning across
sectors such as healthcare, transportation, agriculture, manufacturing, and smart cities. In
healthcare, IoT-enabled devices monitor vital signs, track medication adherence, and enable
remote patient monitoring, revolutionizing healthcare delivery and improving patient
outcomes.

In the transportation sector, IoT facilitates fleet management, intelligent traffic


management, and vehicle-to-vehicle communication, enhancing safety, efficiency, and
sustainability. In agriculture, IoT sensors monitor soil moisture levels, weather conditions, and
crop health, enabling precision farming practices and optimizing resource utilization.

The concept of smart cities leverages IoT technologies to enhance urban infrastructure,
improve public services, and foster sustainability. Smart energy grids, intelligent transportation
systems, and connected infrastructure components enable cities to become more efficient,
resilient, and livable. The proliferation of IoT is reshaping industries, economies, and societies,
driving innovation, creating new business models, and addressing societal challenges. By
providing real-time insights into operations, IoT enables businesses to optimize processes,
reduce costs, and deliver enhanced customer experiences.

Moreover, IoT plays a crucial role in addressing global challenges such as climate
change, resource scarcity, and urbanization. Smart energy management systems optimize
energy consumption, reduce carbon emissions, and promote renewable energy integration,
contributing to sustainability goals. However, the widespread adoption of IoT also brings forth
challenges related to security, privacy, interoperability, and data governance. Addressingthese
challenges is paramount to realizing the full potential of IoT while ensuring the integrity,
security, and privacy of interconnected systems and the data they generate.

In conclusion, the Internet of Things represents a paradigm shift in the way we interact
with technology, enabling a hyperconnected world where devices, sensors, and systems
collaborate to enhance efficiency, productivity, and quality of life. This introduction sets the
stage for delving deeper into the multifaceted realm of IoT, exploring its applications,
challenges, and opportunities for innovation and societal transformation.

Dept of ECE, AITS, Tirupati Page 6


Internet of Things

CHAPTER-7
WEEKLY OVERVIEW

Week 1 Introduction to IoT

Week 2 Theoretical Assessment Test(TAT)

Week 3 Basic Projects

Week 4 Aptitude Assessment Test (AAT)

Week 5 Intermediate Projects

Week 6-7 Advanced Project

Week 8 PPT on Advanced Project

Dept of ECE, AITS, Tirupati Page 7


Internet of Things
CHAPTER-3
MODULES

Introduction to IoT

The Internet of Things (IoT) has emerged as a transformative force reshaping the digital
landscape, promising to revolutionize how we interact with technology and the world around
us. This initial phase of the internship program is dedicated to providing interns with a
comprehensive introduction to IoT, covering its foundational concepts, evolution, key
components, applications across industries, and the intricacies of IoT protocols, standards, and
architectures.

Figure 3.1 Introduction to IoT

Concept of IoT
The concept of the Internet of Things (IoT) encapsulates the vision of a connected
ecosystem where everyday objects, equipped with sensors and actuators, can communicate and
exchange data over the Internet. This interconnectedness enables a wide range of applications,
from smart homes and wearable devices to industrial automation and smart cities. To understand
IoT fully, interns will delve into its evolution, tracing its roots back to early concepts of machine-
to-machine (M2M) communication and the convergence of technologies that have propelled IoT
into the forefront of innovation. Interns will explore the key components that constitute an IoT
ecosystem, including connected devices, sensors, actuators, and data
processing systems. Understanding the role of each component is essential
Dept of ECE, AITS, Tirupati Page 8
Internet of Things

for grasping the complexity of IoT deployments and the interconnectedness that underpins its
functionality. Additionally, interns will learn about the evolution of IoT architectures, from
centralized to decentralized models, and the scalability and flexibility they offer in
accommodating diverse IoT applications.

IoT Devices and Sensors


The realm of the Internet of Things (IoT) is characterized by an intricate network of
interconnected devices and sensors, each playing a crucial role in collecting, transmitting, and
processing data to enable intelligent decision-making and automation. This segment of the
internship program is dedicated to providing interns with a comprehensive understanding of
IoT devices and sensors, including their types, functionalities, and applications, as well as
hands-on experience with configuring and deploying these devices.

Understanding the Types of IoT Devices and Sensors:


IoT devices encompass a wide range of hardware components designed to connect to the
Internet and interact with other devices or systems. These devices come in various forms, ranging
from simple sensors and actuators to complex embedded systems and gateways. Understanding
the types of IoT devices is essential for selecting the right components for specific applications
and designing scalable and efficient IoT solutions.

Interns will explore the diverse categories of IoT devices, including:


1. Sensors: Sensors are the backbone of IoT systems, responsible for collecting data from
the physical environment. They come in various types, such as temperature sensors,
humidity sensors, motion sensors, proximity sensors, and pressure sensors, each
designed to measure specific physical parameters.

2. Actuators: Actuators are devices that convert electrical signals into physical action,
allowing IoT systems to interact with the physical world. Examples of actuators include
motors, solenoids, relays, and valves, each serving a specific purpose in controlling
devices or systems.

3. Embedded Systems: Embedded systems are specialized computing devices designed


to perform specific functions within IoT ecosystems. These devices often integrate
microcontrollers or microprocessors, memory, communication interfaces, and
peripheral components into a single compact unit.

Dept of ECE, AITS, Tirupati Page 9


Internet of Things

Hands-on Experience with Configuring and Deploying IoT Devices:

In addition to theoretical learning, interns will have the opportunity to gain hands-on
experience with configuring and deploying IoT devices in real-world scenarios. This practical
component of the internship program aims to provide interns with a deeper understanding of
IoT hardware components and their integration into IoT ecosystems.

Interns will engage in a series of hands-on activities, including:


1. Device Configuration: Interns will learn how to configure IoT devices, including
setting up network parameters, configuring sensor settings, and establishing
communication protocols. They will gain practical experience with device
configuration interfaces and tools, understanding the importance of proper
configuration for seamless integration into IoT networks.

2. Device Deployment: Interns will participate in deploying IoT devices in simulated or


real-world environments, such as smart homes, industrial facilities, or agricultural
fields. They will learn about installation considerations, sensor placement, and
environmental factors that may impact device performance. By deploying IoT devices
firsthand, interns will gain insights into practical challenges and considerations
associated with real-world deployments.

3. Data Collection and Analysis: Interns will collect data from deployed IoT devices and
analyze sensor readings to derive meaningful insights. They will learn how to interpret
sensor data, identify patterns, anomalies, and trends, and make informed decisions
based on collected data. This hands-on experience will deepen interns' understanding
of how IoT devices enable data-driven decision-making and facilitate automation in
diverse applications.

Introduction to IoT Data Management Platforms and Protocols:


IoT data management platforms serve as the backbone of IoT ecosystems, providing
infrastructure and tools for collecting, storing, processing, and analyzing data generated by IoT
devices. These platforms facilitate seamless integration of IoT devices, data processing
pipelines, and analytics tools, enabling organizations to derive actionable insights and make
informed decisions.
1. IoT Data Management Platforms: Interns will learn about the functionalities of IoT
data management platforms, including data ingestion, storage, processing, and
visualization. They will explore leading IoT platforms such as AWS IoT, Azure IoT,
Google Cloud IoT, and IBM Watson IoT, understanding their features, capabilities,

Dept of ECE, AITS, Tirupati Page 10


Internet of Things
and use cases in various industries.
2. IoT Data Protocols: Interns will gain insights into the communication protocols used
for transmitting data between IoT devices and data management platforms. They will
learn about lightweight protocols such as MQTT, CoAP, and AMQP, as well as
standard protocols such as HTTP and WebSocket. Understanding these protocols is
essential for ensuring interoperability, reliability, and security in IoT deployments.

Hands-on Experience with Data Collection, Storage, and Retrieval in IoT Systems:
Practical experience is essential for interns to gain proficiency in data collection, storage,
and retrieval in IoT systems. During this phase, interns will have the opportunity to collect data
from IoT devices, store it in cloud or edge repositories, and retrieve it for analysisand
visualization.

1. Data Collection: Interns will set up IoT devices and sensors to collect data from the
physical environment. They will configure data collection parameters, such as sampling
frequency, data format, and transmission intervals, to suit specific use cases and
requirements.

2. Data Storage: Interns will explore different data storage options for IoT deployments,
including cloud-based storage services, edge computing resources, and on-premises
databases. They will learn about data storage architectures, such as time-series
databases, NoSQL databases, and data lakes, and their suitability for storing IoT data.

3. Data Retrieval: Interns will learn how to retrieve and analyze data stored in IoT data
repositories. They will explore data retrieval techniques, such as SQL queries, RESTful
APIs, and streaming data processing, to extract meaningful insights from IoT data

Understanding Security Threats and Vulnerabilities in IoT Ecosystems:


IoT ecosystems are susceptible to a wide range of security threats and vulnerabilities,
posing risks to the integrity, confidentiality, and availability of data and devices. Interns will
explore common security threats and attack vectors in IoT deployments, including:

1. Malware and Botnets: Malicious software and botnets can compromise IoT devices,
hijack their functionality, and launch distributed denial-of-service (DDoS) attacks or
data breaches.

2. Unauthorized Access: Weak authentication mechanisms, default credentials, and


insecure network configurations can lead to unauthorized access to IoT devices and
data, allowing malicious actors to eavesdrop, manipulate, or disrupt operations.

Dept of ECE, AITS, Tirupati Page 11


Internet of Things
IoT Applications
1. Healthcare:

• Remote Patient Monitoring: IoT devices can continuously monitor vital signs
and health parameters of patients remotely, enabling healthcare providers to
track their health status in real-time.

• Smart Medical Devices: IoT-enabled medical devices such as wearable fitness


trackers, smart insulin pumps, and connected inhalers help patients manage
chronic conditions and adhere to treatment plans.

• Hospital Asset Management: IoT sensors can track the location and condition
of medical equipment, hospital beds, and supplies, optimizing asset utilization
and reducing equipment downtime.
2. Shopping Malls:

• Foot Traffic Analysis: IoT sensors installed at entrances and throughout the
mall can track the movement of shoppers in real-time. This data can be used to
analyze foot traffic patterns, identify popular areas, and optimize the layout of
stores and amenities.

• Smart Parking Management: IoT-enabled parking systems can provide real-


time information on parking availability, guiding shoppers to vacant spots and
reducing congestion. Sensors installed in parking lots detect vehicleoccupancy
and transmit data to a centralized management system, which can then be
relayed to shoppers via mobile apps or digital signage.
3. Building Management:

• Energy Management: IoT sensors monitor energy usage in buildings by


tracking electricity, water, and gas consumption in real-time. This data is
analyzed to identify energy-saving opportunities, optimize HVAC systems,
lighting, and other building systems for improved efficiency, and reduce utility
costs.

• HVAC Optimization: IoT-enabled thermostats and sensors regulate heating,


ventilation, and air conditioning (HVAC) systems based on occupancy levels,
weather conditions, and indoor air quality. Smart HVAC systems adjust
temperature and airflow settings dynamically to maintain comfort while

Dept of ECE, AITS, Tirupati Page 12


Internet of Things
minimizing energy consumption.

• Lighting Control: IoT-connected lighting systems use sensors and smart bulbs
to adjust lighting levels based on occupancy, natural light levels, and time of
day. Automated lighting schedules, occupancy sensors, and daylight harvesting
technology help reduce energy usage and improve lighting quality in buildings.
4. Shopping Malls:

• Foot Traffic Analysis: IoT sensors installed at entrances and throughout the
mall can track the movement of shoppers in real-time. This data can be used to
analyze foot traffic patterns, identify popular areas, and optimize the layout of
stores and amenities.

• Smart Parking Management: IoT-enabled parking systems can provide real-


time information on parking availability, guiding shoppers to vacant spots and
reducing congestion. Sensors installed in parking lots detect vehicleoccupancy
and transmit data to a centralized management system, which can then be
relayed to shoppers via mobile apps or digital signage.

5. Smart Home:

• Home Automation: IoT devices such as smart thermostats, lighting systems,


and security cameras enable homeowners to control and automate various
aspects of their home environment remotely.

• Energy Management: IoT-enabled energy monitoring systems help


homeowners track energy consumption, identify energy-saving opportunities,
and optimize energy usage for cost savings and sustainability.

• Smart Appliances: IoT-connected appliances such as smart refrigerators,


washing machines, and ovens offer enhanced functionality and convenience
through remote monitoring and control.
6. Agriculture Automation:

• Precision Irrigation: IoT sensors installed in the soil measure moisture levels,
temperature, and humidity in real-time. This data is then analyzed to optimize
irrigation schedules and deliver precise amounts of water to crops, reducing
water waste and enhancing crop yields.

Dept of ECE, AITS, Tirupati Page 13


Internet of Things
• Smart Crop Monitoring: IoT devices such as drones, satellites, and ground
sensors are used to monitor crop health, growth patterns, and pest infestations.
Farmers can remotely monitor their fields and receive alerts about any
abnormalities, enabling timely intervention and improved crop management.

Arduino UNO

The Arduino UNO is a standard board of Arduino. Here UNO means 'one' in Italian.
It was named as UNO to label the first release of Arduino Software. It was also the first
USB board released by Arduino. It is considered as the powerful board used in various
projects. Arduino.cc developed the Arduino UNO board.Arduino UNO is based on an
ATmega328P microcontroller. It is easy to use compared to other boards, such as the
Arduino Mega board, etc. The board consists of digital and analog Input/Output pins(I/O),
shields, and other circuits.
The Arduino UNO includes 6 analog pin inputs, 14 digital pins, a USB connector,
a power jack, and an ICSP (In-Circuit Serial Programming) header. It is programmed
based on IDE, which stands for Integrated Development Environment. It can run on both
online and offline platforms.

Fig.3.1 Arduino UNO

The components of Arduino UNO board are shown below:

➢ ATmega328 Microcontroller- It is a single chip Microcontroller of the ATmel


family. The processor code inside it is of 8-bit. It combines Memory (SRAM,
EEPROM, and Flash), Analog to Digital Converter, SPI serial ports, I/O
lines, registers, timer, external and internal interrupts, and oscillator.
➢ ICSP pin - The In-Circuit Serial Programming pin allows the user to program

using the firmware of the Arduino board.

➢ Power LED Indicator- The ON status of LED shows the power is activated.

Dept of ECE, AITS, Tirupati Page 14


Internet of Things
When the power is OFF, the LED will not light up.
➢ Digital I/O pins- The digital pins have the value HIGH or LOW. The pins

numbered from D0 to D13 are digital pins.

➢ TX and RX LED's- The successful flow of data is represented by the lighting


of these LED's.

➢ AREF- The Analog Reference (AREF) pin is used to feed a reference voltage to
the Arduino UNO board from the external power supply.
➢ Reset button- It is used to add a Reset button to the connection.

➢ USB- It allows the board to connect to the computer. It is essential for the
programming of the Arduino UNO board.
➢ Crystal Oscillator- The Crystal oscillator has a frequency of 16MHz, which

makes the Arduino UNO a powerful board.

➢ Voltage Regulator- The voltage regulator converts the input voltage to 5V.

➢ GND- Ground pins. The ground pin acts as a pin with zero voltage.

➢ Vin- It is the input voltage.

➢ Analog Pins- The pins numbered from A0 to A5 are analog pins. The functionof
Analog pins is to read the analog sensor used in the connection. It can also actas
GPIO (General Purpose Input Output) pins.

Figure 3.2 Components of Arduino UNO

Dept of ECE, AITS, Tirupati Page 15


Internet of Things

CHAPTER-4
BASIC PROJECT
Basic Level Projects

Task 1. Air pollution monitoring system using IoT

An air pollution monitoring system using IoT (Internet of Things) involves the deployment of
sensor networks and data analytics to measure, analyze, and manage air quality in real-time.

End Users:
▪ End users of the air pollution monitoring system could include government agencies,
environmental organizations, city planners, industries, and the general public.

▪ Government agencies may use the data for regulatory compliance and policy-making.
▪ Environmental organizations may utilize the data for advocacy and awareness
campaigns.

▪ City planners may integrate the data into urban planning initiatives to improve air
quality.

▪ Industries may implement the system for monitoring emissions and ensuring
compliance with environmental regulations.

▪ The general public could access the data to make informed decisions about outdoor
activities and health protection.

Solutions and its propositions

 The air pollution monitoring system would consist of IoT sensors deployed at various
locations to measure air quality parameters such as particulate matter (PM), nitrogen
dioxide (NO2), sulfur dioxide (SO2), carbon monoxide (CO), ozone (O3), and volatile
organic compounds (VOCs).
 These sensors would transmit real-time data to a centralized database or cloud
platform for storage, processing, and analysis.

 Data visualization tools and dashboards would provide stakeholders with access to
meaningful insights and trends in air quality.

 Alerts and notifications could be generated based on predefined thresholds to warn


users about hazardous pollution levels.
 The system could also incorporate predictive analytics to forecast air quality trends

Dept of ECE, AITS, Tirupati Page 16


Internet of Things
aanticipate potential pollution events.

Modelling the project

• The Project modeling involves defining the scope, objectives, requirements,


stakeholders, resources, and timeline for the development and implementation of the
air pollution monitoring system.
• It includes identifying suitable IoT sensors, communication protocols, data storage
solutions, and analytics tools.
• Project modeling also entails assessing the feasibility, scalability, and sustainability of
the system, as well as estimating costs and potential benefits.
• Stakeholder engagement and collaboration are crucial for gathering input, securing
funding, and ensuring the successful execution of the project.
• Additionally, risk assessment and mitigation strategies should be incorporated into the
project model to address potential challenges and uncertainties.

Table 1 Components of air pollution monitoring system using IoT

Name Quantity Component

U1 1 Arduino Uno R3

U2 1 LCD 16 x 2

R1 1 220 Ω Resistor

GAS1 1 Gas Sensor

R2 1 4.7 kΩ Resistor

Rpot4 1 10 kΩ Potentiometer

PIEZO1 1 Piezo

R3 1 1 kΩ Resistor

Dept of ECE, AITS, Tirupati Page 17


Internet of Things

Schematic View

Project source code

The project source code is written purely in C++ programming language due to it’s ease of
writing code.

C++ Program:
#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
int pin8 = 8;
int analogPin = A0;
int sensorValue = 0;
void setup() {
pinMode(analogPin, INPUT);
pinMode(pin8, OUTPUT);
lcd.begin(16,2);
lcd.print("What is the air");
lcd.print("quality today?");

Dept of ECE, AITS, Tirupati Page 18


Internet of Things

Serial.begin(9600);
lcd.display();
}
void loop()
{ delay(1000);
sensorValue = analogRead(analogPin);
Serial.print("Air Quality in PPM:");
Serial.println(sensorValue);
lcd.clear();
lcd.setCursor(0,0);
lcd.print ("Air Quality: ");
lcd.print (sensorValue);

if (sensorValue<=500)
{
Serial.print("Fresh Air ");
Serial.print ("\r\n");
lcd.setCursor(0,1);
lcd.print("Fresh Air");
}
else if ( sensorValue>=500 && sensorValue<=650 )
{
Serial.print("Poor Air");
Serial.print ("\r\n");
lcd.setCursor(0,1);
lcd.print("Poor Air");
}
else if (sensorValue>=650)
{
Serial.print("Very Poor Air");
Serial.print ("\r\n");
lcd.setCursor(0,1);

Dept of ECE, AITS, Tirupati Page 19


Internet of Things

lcd.print("Very Poor Air");


}
if (sensorValue >650)
{ digitalWrite(pin8, HIGH);
}
else {
digitalWrite(pin8, LOW);
}
}
Output:

Dept of ECE, AITS, Tirupati Page 20


Internet of Things

Task 2. Weather Reporting System using IoT

A Weather Reporting System using IoT involves the integration of sensor networks, data
analytics, and communication technologies to monitor and report weather conditions in real-
time.

1. End Users:

• End users of the Weather Reporting System could include meteorological


agencies, emergency responders, agriculture industries, aviation sector,outdoor
event organizers, and the general public.

• Meteorological agencies use the data for weather forecasting, climate research,
and issuing weather alerts.

• Emergency responders rely on accurate weather information to prepare for and


respond to natural disasters and extreme weather events.

• Agriculture industries use weather data for crop management, irrigation


scheduling, and pest control.

• The aviation sector requires weather information for flight planning,navigation,


and safety.

Dept of ECE, AITS, Tirupati Page 21


Internet of Things

• Outdoor event organizers use weather forecasts to plan and manage outdoor
activities.

• The general public accesses weather reports for daily planning, travel, and
outdoor recreation.

2. Solutions and Propositions:

• The Weather Reporting System utilizes IoT sensors deployed at various


locations to measure weather parameters such as temperature, humidity,
atmospheric pressure, wind speed, wind direction, rainfall, and solar radiation.

• These sensors transmit real-time data to a centralized database or cloud platform


using wireless communication technologies such as Wi-Fi, cellular networks, or
satellite communication.

• Data analytics techniques, including statistical analysis, machine learning, and


predictive modeling, are applied to process and analyze the collected data.

• Weather forecasts, alerts, and reports are generated based on the analyzed data
and made available to end users through web portals, mobile applications, and
other communication channels.

• The system may incorporate geospatial mapping and visualization tools to


display weather information on interactive maps and dashboards.

• Automated notifications and alerts are sent to end users to inform them about
significant weather events, such as storms, hurricanes, heatwaves, or floods.

3. Project Modeling:

• Project modeling involves defining the scope, objectives, requirements,


stakeholders, resources, and timeline for the development and implementation
of the Weather Reporting System.

• It includes identifying suitable IoT sensors, communication protocols, data


storage solutions, and analytics tools.

• Project modeling also entails assessing the feasibility, scalability, and


sustainability of the system, as well as estimating costs and potential benefits.

• Stakeholder engagement and collaboration are crucial for gathering input,


securing funding, and ensuring the successful execution of the project.

Dept of ECE, AITS, Tirupati Page 22


Internet of Things

Table 2 Components of Weather monitoring system using IoT

Name Quantity Component


U2 1 Arduino Uno R3
U4 1 LCD 16 x 2
Temperature Sensor
U5 1 [TMP36]
R1 1 Photoresistor
R3 1 1 kΩ Resistor
Rpot1 1 250 kΩ Potentiometer
R5 1 220 Ω Resistor

Schematic View

Dept of ECE, AITS, Tirupati Page 23


Internet of Things

Project source code

The project source code is written purely in C++ programming language due to it’s ease of
writing code.

C++ Program:
#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
void setup()
{
lcd.begin(16,2);
lcd.setCursor(4,0);
lcd.print("Reporting");
lcd.setCursor(7,1);
lcd.print("System");
delay(2000);
}
void loop()
{
lcd.clear();
float Voltage=analogRead(A0)*0.004882814;
float degrees = ( Voltage - 0.5) * 100;
lcd.setCursor(3,0);
lcd.print("Temp:");
lcd.setCursor(8,0);
lcd.print(degrees);
if (degrees<10)
{
lcd.setCursor(4,1);
lcd.print("-TOO COLD");
}
else if(degrees<18 &&degrees>10 )
{

Dept of ECE, AITS, Tirupati Page 24


Internet of Things

lcd.setCursor(4,1);
lcd.print("-COLD");
}
else if(degrees<30 &&degrees>18)
{
lcd.setCursor(4,1);
lcd.print("-Normal Temp");
}
else if(degrees<45 &&degrees>30)
{
lcd.setCursor(4,1);
lcd.print("-Hot");
}
else if(degrees>45 )
{
lcd.setCursor(4,1);
lcd.print("-TOO HOT");
}

delay(2000);
lcd.clear();
int ldr=analogRead(A1);

lcd.setCursor(1,0);
lcd.print("Intensity:");
lcd.setCursor(12,0);
lcd.print(ldr);
if (ldr<230)
{
lcd.setCursor(4,1);
lcd.print("-TOO BRIGHT");
}

Dept of ECE, AITS, Tirupati Page 25


Internet of Things

else if (ldr<460 && ldr>230 )


{
lcd.setCursor(2,1);
lcd.print("-Medium Light");
}

else if (ldr>460)
{
lcd.setCursor(4,1);
lcd.print("-TOO DARK");
}
delay(2000);
lcd.clear();
}

Output:

Dept of ECE, AITS, Tirupati Page 26


Internet of Things

Task 3. Smart Garage Door using IoT

A Smart Garage Door using IoT is a system that allows users to remotely monitor and control
their garage doors using connected devices and sensors.

1. End Users:

• End users of the Smart Garage Door system include homeowners, property
managers, and businesses with garages or parking facilities.

Dept of ECE, AITS, Tirupati Page 27


Internet of Things

• Homeowners can use the system to remotely open and close their garage
doors, receive alerts about garage activity, and monitor garage security.

• Property managers can implement the system to provide tenants with


convenient access to parking areas and enhance security measures.

• Businesses with parking facilities can use the system to manage access control
for employees and visitors, track parking usage, and improve overall security.

2. Solutions and Propositions:

• The Smart Garage Door system utilizes IoT sensors and actuators installed on
garage doors to detect their status (open or closed) and control their movement.

• Sensors such as proximity sensors, magnetic switches, or ultrasonic sensors


detect the position of the garage door and transmit this information to a
centralized control unit.

• A microcontroller or IoT gateway receives data from the sensors and


communicates with a cloud-based platform or mobile application.

• Users can remotely monitor the status of their garage doors and control them
using a smartphone app or web interface.

• The system may include additional features such as voice control integration
(e.g., with Amazon Alexa or Google Assistant), scheduling capabilities, and
activity logs.

• Alerts and notifications can be sent to users' devices to inform them about
garage door activity, unauthorized access attempts, or malfunctions.

3. Project Modeling:

• Project modeling involves defining the scope, objectives, requirements,


stakeholders, resources, and timeline for the development and implementation
of the Smart Garage Door system.

Dept of ECE, AITS, Tirupati Page 28


Internet of Things

• It includes selecting appropriate sensors, actuators, communication protocols,


and IoT platforms for the project.

• User interface design and user experience (UI/UX) considerations are essential
for creating an intuitive and user-friendly mobile app or web interface.

• Security measures such as encryption, authentication, and access control should be


implemented implemented to protect the system from unauthorized access and cyber
threats.

Table 3 Components of Smart garage door using IoT

Name Quantity Component


U2 1 Arduino Uno R3
PING1 1 Ultrasonic Distance Sensor
M1 1 DC Motor
BAT6 1 9V Battery
R3 1 10 kΩ Resistor
T1 1 nMOS Transistor (MOSFET)
D2 1 Diode

Schematic View

U2_5V BAT6+

U2

PING1 M1
D7 BAT6 D2

M
Arduino
A0 UNO D8 T1 R3
G NMOSFET
10k
9V

SDA

BAT6-

Project source code

The project source code is written purely in C++ programming language due to it’s ease of
writing code.

Dept of ECE, AITS, Tirupati Page 29


Internet of Things

C++ Program:
#include <Stepper.h>
const int pingPin =2;
const int motor Pin = 13;
void setup()
{ Serial.begin(9600);
pinMode(motorPin, OUTPUT);
}
void loop() {
int duration, cm;
pinMode(pingPin, OUTPUT);
digitalWrite(pingPin, LOW);
delayMicroseconds(2);
digitalWrite(pingPin, HIGH);
delayMicroseconds(5);
digitalWrite(pingPin, LOW);
pinMode(pingPin, INPUT);
duration = pulseIn(pingPin, HIGH);
cm = microsecondsTo Centimeters(duration);
Serial.print("Distance");
Serial.print(cm);
Serial.print("cm");
Serial.println();

if(cm < 329)


{ digitalWrite(motorPin, HIGH);
delay(4000);
}
else{
digitalWrite(motorPin, HIGH);
}
digitalWrite(motorPin, LOW);

Dept of ECE, AITS, Tirupati Page 30


Internet of Things

delay(1000);
}

long microsecondsToCentimeters(long
microseconds){return microseconds / 29 / 2;
}

Output:

Dept of ECE, AITS, Tirupati Page 31


Internet of Things
CHAPTER-5
INTERMEDIATE PROJECT
Intermediate Level Projects

Task 1. Smart Cradle System using IoT

A Smart Cradle System using IoT is designed to provide caregivers with remote monitoring
and control capabilities for infants' sleeping environments.

1. End Users:

• End users of the Smart Cradle System include parents, caregivers, and
childcare professionals.

• Parents can use the system to monitor their baby's sleeping patterns, receive
alerts for irregularities, and remotely soothe the baby.

• Caregivers in daycare centers or nurseries can implement the system to


monitor multiple infants simultaneously, ensuring their safety and well-being.

2. Solutions and Propositions:

• The Smart Cradle System comprises IoT sensors and actuators integrated into
a baby's cradle or crib.

• Sensors such as motion sensors, temperature sensors, and humidity sensors


monitor the baby's movements, temperature, and sleeping environment.

• Data from the sensors is transmitted wirelessly to a central control unit or a


cloud-based platform for processing and analysis.

• Machine learning algorithms and pattern recognition techniques are applied to


analyze the data and detect patterns associated with the baby's sleep behavior
and health status.

• The system may include features such as automatic rocking, white noise
generation, and temperature regulation to soothe the baby and promote sleep.

• Caregivers can remotely monitor the baby's sleeping environment and receive
alerts via a mobile app or web interface in case of abnormalities or emergencies.

Dept of ECE, AITS, Tirupati Page 32


Internet of Things

• Parents can also use the system to track sleep patterns over time and receive
recommendations for improving sleep quality and establishing healthy routines
for their baby.

3. Project Modeling:

• Project modeling involves defining the scope, objectives, requirements,


stakeholders, resources, and timeline for the development and implementation
of the Smart Cradle System.

• It includes selecting suitable sensors, actuators, communication protocols, and


IoT platforms for the project.

• User interface design and user experience (UI/UX) considerations are essential
for creating an intuitive and user-friendly mobile app or web interface.

• Security measures such as encryption, authentication, and access control should be


implemented implemented to protect the system's data and ensure user privacy.

Table 4 Components of Smart Cradle System using IoT

Name Quantity Component

SERVO2 1 Micro Servo

U1 1 Arduino Uno R3

R1 1 1 kΩ Resistor

U2 1 Temperature Sensor [TMP36]

PIEZO1 1 Piezo

SEN1 1 Soil Moisture Sensor

S2, S3 2 Slideswitch

Dept of ECE, AITS, Tirupati Page 33


Internet of Things

Schematic View

U1_5V

U1

IOREF
U2 SERVO2 SEN1

S2 S3
D8
UNO A0 R1
1
2

1k

SDA

U1_GND

Project source code

The project source code is written purely in C++ programming language due to it’s ease of
writing code.
C++ Program:
#include <Servo.h>
#define switchpin 0
#define TempPin 0
#define Buzzer 5
#define MoistPin 1
#define ServoPin 7
Servo Servo1;
int value;
double angle = 45;
int offtime=100;
float voltage =5.0;
void setup()
{
Servo1.attach(ServoPin);
Servo1.write(angle);
pinMode(switchpin, INPUT);
pinMode(TempPin,INPUT);
pinMode(Buzzer, OUTPUT);

Dept of ECE, AITS, Tirupati Page 34


Internet of Things

pinMode(MoistPin,INPUT);
Serial.begin(9600);
}

void loop()
{
//Switch control
value = digitalRead(switchpin);
if(value == HIGH) {
//SERVO movements
for(int angle=45; angle<90;
angle++){Servo1.write(angle);
delay(50);
}
for(int angle=90; angle>0; angle--
){Servo1.write(angle);
delay(50);
}
for(int angle=0; angle<45;
angle++){Servo1.write(angle);
delay(50);
}
delay(offtime);
}
else
{ Servo1.write(45);
delay(offtime);
}
//Temperature sensor code
int sensorRead = analogRead(TempPin);
float voltageOut = sensorRead * (voltage / 1024.0);
float temp = (voltageOut - 0.5) * 100;

Dept of ECE, AITS, Tirupati Page 35


Internet of Things

if(temp < 36.8 || temp > 37.3){


Serial.print("Not Normal temperature\n");
tone(Buzzer, 500);
}
else{
Serial.print("Normal Temperature\n");
noTone(Buzzer);
}
Serial.print("Temperature : ");
Serial.print(temp);
Serial.print("\n");
//Fluid detection code
int Moisture=analogRead(MoistPin);
if(Moisture>0)
tone(Buzzer, 220);
else
noTone(Buzzer);
Serial.print("Moisture val : ");
Serial.print(Moisture);
Serial.print("\n");
}
Output:

output 1:

Not Normal Temperature

Temperature : 24.71

moisture val : 0

output 2:

Not Normal Temperature

Dept of ECE, AITS, Tirupati Page 36


Internet of Things

Temperature : 60.84

moisture val : 99

output 3:

Not Normal Temperature

Temperature : 76.95

moisture val : 712

Dept of ECE, AITS, Tirupati Page 37


Internet of Things

Task 2. Smart Traffic Management System using IoT

A Smart Traffic Management System using IoT is designed to optimize traffic flow, enhance
road safety, and reduce congestion through the use of connected sensors, data analytics, and
real-time communication.

1. End Users:
• End users of the Smart Traffic Management System include commuters,
transportation authorities, city planners, law enforcement agencies, and
emergency responders.

• Commuters benefit from reduced travel times, improved predictability, and


safer road conditions.

• Transportation authorities and city planners use the system to monitor traffic
patterns, optimize signal timings, and plan infrastructure improvements.

• Law enforcement agencies utilize traffic data for enforcement activities,


accident investigations, and emergency response planning.

• Emergency responders rely on real-time traffic information to navigate


congested areas and reach incident scenes quickly.

2. Solutions and Propositions:


• The Smart Traffic Management System consists of IoT sensors deployed at key
locations such as intersections, highways, and major thoroughfares.

• Sensors measure traffic flow, vehicle speed, occupancy, and other relevant
parameters in real-time.

• Data from the sensors is transmitted wirelessly to a centralized control center or


cloud-based platform for processing and analysis.

• Advanced analytics techniques, including machine learning algorithms and


predictive modeling, are applied to analyze traffic data and identify patterns,
trends, and anomalies.

• Traffic signals can be dynamically adjusted based on real-time traffic conditions


to optimize traffic flow and reduce congestion.

• Dynamic message signs and mobile applications provide real-time traffic


information to commuters, allowing them to make informed decisions about

Dept of ECE, AITS, Tirupati Page 38


Internet of Things

3. Project Modeling:

• Project modeling involves defining the scope, objectives, requirements,


stakeholders, resources, and timeline for the development and implementation
of the Smart Traffic Management System.

• It includes selecting suitable sensors, communication protocols, data analytics


tools, and IoT platforms for the project.

• User interface design and user experience (UI/UX) considerations are essential
for creating intuitive dashboards and mobile applications for traffic
management personnel and commuters.

• Security measures such as encryption, authentication, and access control should be


implemented implemented to protect the system's data and ensure the integrity of
communication channels.

• Testing and validation are crucial stages in the project modeling process to
ensure the reliability, performance, and scalability of the Smart Traffic
Management System.

• Stakeholder engagement and collaboration are essential throughout the project


lifecycle to address user needs and preferences and ensure the successful
adoption of the system.

Table 5 Components of Smart traffic management system using IoT

Name Quantity Component

D1 1 Red LED

D2 1 Green LED

D3 1 YellowLED

R1, R2,R3
3 1 kΩ Resistor

U1 1 Arduino Uno R3

Dept of ECE, AITS, Tirupati Page 39


Internet of Things

Schematic View

U1
RX VIN
TX 5V
D2 3.3V
D3
D4 AREF
D5 IOREF
D6 RES
D7
D8 Arduino
R2 R3 A0 R1
A1
D10
1k D3 1k D2 A2 1k D1
D11 A3
YELLOW GREEN D12
RED
A4
D13 A5
SDA
SCL GND

U1_GND

Project source code

The project source code is written purely in C++ programming language due to it’s ease of
writing code.
C++ Program:
void setup()
{ pinMode(10,OUTPUT);
pinMode(11,OUTPUT);
pinMode(12,OUTPUT);
}
void loop()
{
digitalWrite(12,HIGH);
delay(500);

digitalWrite(12,LOW);
delay(1000);
digitalWrite(10,HIGH);
delay(1000);
digitalWrite(10,LOW);
delay(1000);
digitalWrite(8,HIGH);
delay(5000);

Dept of ECE, AITS, Tirupati Page 40


Internet of Things
digitalWrite(8,LOW);
delay(500);//o.5 sec

//blinking krao
digitalWrite(8,HIGH);
delay(500);
digitalWrite(8,LOW);
delay(500);//o.5 sec

digitalWrite(8,HIGH);
delay(500);
digitalWrite(8,LOW);
delay(500);//o.5 sec

digitalWrite(8,HIGH);
delay(500);
digitalWrite(8,LOW);
delay(500);//o.5 sec
}

Output:
By using smart traffic management system we successfully designed the iot project, it
manages traffic very efficiently.

Dept of ECE, AITS, Tirupati Page 41


Internet of Things

Dept of ECE, AITS, Tirupati Page 42


Internet of Things
CHAPTER-6
ADVANCED PROJECT
Advanced Level Project

Smart Baggage Tracker using IoT

A Smart Baggage Tracker using IoT is designed to provide travelers with real-time monitoring
and tracking capabilities for their luggage, ensuring security and peace of mind throughout
their journey.

1. End Users:

• End users of the Smart Baggage Tracker include travelers, airlines, airport
staff, and baggage handling companies.

• Travelers benefit from knowing the real-time location and status of their
luggage, reducing the risk of loss or theft.

• Airlines can use the system to streamline baggage handling processes,


improve customer satisfaction, and reduce liability for lost luggage claims.

• Airport staff can monitor baggage movements and identify potential issues or
delays in baggage handling operations.

• Baggage handling companies can enhance efficiency and accuracy in sorting,


tracking, and delivering luggage to its final destination.

2. Solutions and Propositions:

• The Smart Baggage Tracker system consists of IoT-enabled tracking devices


attached to luggage, equipped with GPS, Wi-Fi, Bluetooth, or cellular
connectivity.

• These tracking devices continuously transmit location data to a centralized


monitoring platform or mobile application.

• Travelers can access real-time updates on their luggage's whereabouts through


the mobile app or web interface, receiving notifications when their luggage

Dept of ECE, AITS, Tirupati Page 43


Internet of Things

reaches certain checkpoints or if there are any deviations from the planned
route.

• Airlines and baggage handling companies can use the tracking data to monitor
the movement of luggage through airport facilities, track loading and unloading
processes, and identify any irregularities or delays.

• The system may include features such as geofencing to alert travelers when their
luggage is approaching or leaving designated areas, as well as tamper detection
to notify users of unauthorized access or interference with their luggage.

• Integration with existing airline and airport systems allows for seamless
communication and coordination between different stakeholders involved in the
baggage handling process.

3. Project Modeling:

• Project modeling involves defining the scope, objectives, requirements,


stakeholders, resources, and timeline for the development and implementation
of the Smart Baggage Tracker system.

• It includes selecting suitable tracking devices, communication protocols, data


management solutions, and IoT platforms for the project.

• User interface design and user experience (UI/UX) considerations are essential
for creating intuitive and user-friendly mobile apps and web interfaces for
travelers and stakeholders.

• Security measures such as encryption, authentication, and access control should be


implemented implemented to protect travelers' data and ensure the integrity of
communication channels.

• Stakeholder engagement and collaboration are essential throughout the project


lifecycle to address user needs and preferences and ensure the successful
adoption of the system.

Dept of ECE, AITS, Tirupati Page 44


Internet of Things

Table 6 Components of smart baggage tracker using IoT

Name Quantity Component


U1 1 Arduino Uno R3
U2 1 Wifi Module (ESP8266)
R1, R5 2 1 kΩ Resistor
R2 1 2.2 kΩ Resistor
U3 1 LCD 16 x 2

Schematic View
U1_5V

U1
VIN RX

3.3V D2
D3

U2 AR EF D4

1 IOR EF D5 U3
2 RES D6 DB0 VC C
3 DB1 VO
A0
Ar duin D7
LED+
DB2
R2 R1
4 UNO D8
R5
A1 D9 DB3 LED-
5
6 A2
D10 DB4 LCD RS
2.2k 1k 1k
7
A3
A4
D11 DB5
16x2 RW

8 D12 DB6 EN A
A5 DB7 GND
D13

U1_GND

Project source code

The project source code is written purely in C++ programming language due to it’s ease of
writing code.

C++ Program:
#include<string.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd(5, 4, 3, 2, A4, A5);
String ssid = "Simulator Wifi";
String password = "";
String host = "api.thingspeak.com";
const int httpPort = 80;
String uri = “/channels/1212200/fields/1.jsonapi_key=C1L2SHVVMW3W6K24&results=2";
char str[70];
String gpsString;
char *test="$GPGGA";

Dept of ECE, AITS, Tirupati Page 45


Internet of Things

String latitude="No Range ";


String longitude="No Range ";
int temp=0,i;
boolean gps_status=0;
int setupESP8266(void) {

// Start our ESP8266 Serial Communication


Serial.begin(115200);
Serial.println("AT");
delay(10);
if (!Serial.find("OK")) return 1;
// Connect to 123D Circuits Simulator Wifi
Serial.println("AT+CWJAP=\"" + ssid + "\",\"" + password + "\"");
delay(10);
if (!Serial.find("OK")) return 2;
// Open TCP connection to the host:
Serial.println("AT+CIPSTART=\"TCP\",\"" + host + "\"," + httpPort);
delay(50);
if (!Serial.find("OK")) return 3;
return 0;
}
void anydata(void) {
//Construct our HTTP call
String httpPacket = "GET " + uri + " HTTP/1.1\r\nHost: " + host + "\r\n\r\n";
int length = httpPacket.length();
//String httpPacket = "GET https://api.thingspeak.com/channels/1104800/fields/1.json?
api_key=CX5ZHR91RBPV0RSW&results=2";
//int length = httpPacket.length();
// Send our message length
Serial.print("AT+CIPSEND=");
Serial.println(length);
delay(10);

Dept of ECE, AITS, Tirupati Page 46


Internet of Things

// Send our http request


Serial.print(httpPacket);
delay(10);
String ch;
ch = Serial.readString();
Serial.println(ch);
for(int i=369;i<453;i++)
{
gpsString += ch[i];
}
Serial.println(gpsString);
gps_status=0;
int x=0;
while(gps_status==0)
{
int str_lenth=81;
latitude="";
longitude="";
int comma=0;
while(x<81)
{
if(gpsString[x]==','){comma
++;
}
if(comma==2)
latitude+=gpsString[x+1];
else if(comma==4)
longitude+=gpsString[x+1]
x++;
}
int l1=latitude.length();
latitude[l1-1]=' ';

Dept of ECE, AITS, Tirupati Page 47


Internet of Things

l1=longitude.length();
longitude[l1-1]=' ';
lcd.clear();
lcd.print("Lat:");
lcd.print(latitude);
lcd.setCursor(0,1);
lcd.print("Long:");
lcd.print(longitude);
Serial.print("Lat: ");
Serial.print(latitude);
Serial.print("\tLong: ");
Serial.println(longitude);
i=0;x=0;
str_lenth=0;
delay(2000);
}
if (!Serial.find("SEND OK\r\n")) return;
}
void setup() {
//Serial.println(gpsString);
lcd.begin(16,2);
Serial.begin(9600);
lcd.print("Baggage Tracking");
lcd.setCursor(0,1);
lcd.print(" System ");
delay(4000);
lcd.clear();
delay(2000);
setupESP8266();
anydata();
}
void loop() {

Dept of ECE, AITS, Tirupati Page 48


Internet of Things

anydata();
}

Output:
lat:5106.9792 long:11402.3003

lat:5117.5643 long:11678.7855

Dept of ECE, AITS, Tirupati Page 49


Internet of Things

CHAPTER-7
RESULT AND CONCLUSIONS

Result

 Real-time monitoring of air quality parameters like PM, NO2, CO, etc. Significant
data collection and analysis capabilities.
 The Weather Reporting System using IoT facilitates precise and punctual gathering,
prediction, and distribution of weather data.
 The Smart Door using IoT enables remote monitoring and control of garage doors
while offering enhanced security features.
 By utilizing the Smart Cradle System using IoT, real-time monitoring of infants'
sleeping environment and remote soothing capabilities are enabled.
 By employing the Smart Traffic Management System using IoT, traffic flow is
optimized, congestion is reduced, and road safety is improved.
 Through the utilization of the Smart Baggage Tracker using IoT, real-time tracking
and monitoring of luggage are facilitated, leading to enhanced efficiency in baggage
handling.

Conclusions
➢ Conclusion of Slashmark
In conclusion, my internship experience at Slashmark has been invaluable in several
aspects. Firstly, working with Slashmark has provided me with a profound
understanding of the startup ecosystem and the challenges and opportunities it presents.
I have witnessed firsthand the dedication and vision of the team, contributing to the
company's growth trajectory.

➢ Skill Development

Moreover, this internship has been instrumental in my skill development. Through


hands-on projects and mentorship from experienced professionals, I have honed my
technical abilities and gained proficiency in various tools and technologies relevant to
the industry. This has not only bolstered my confidence but also prepared me for future
endeavors in the field.

Dept of ECE, AITS, Tirupati Page 50


Internet of Things

➢ Teamwork and Collaboration


Teamwork and collaboration have been integral to the success of Slashmark, and I am
grateful for the opportunity to be part of such a dynamic and supportive team. Working
closely with colleagues from diverse backgrounds has taught me the importance of
effective communication, cooperation, and mutual respect in achieving common goals.

➢ Adaptability and Innovation


Adaptability and innovation are core values at Slashmark, and I have embraced these
principles throughout my internship. In an ever-evolving landscape, I have learned to
navigate challenges with resilience and creativity, constantly seeking new solutions and
approaches to drive progress and innovation within the company.

➢ Professional Growth
On a personal level, this internship has been a catalyst for my professional growth. The
exposure to real-world projects and the guidance of mentors have allowed me to expand
my horizons, explore my interests, and carve out a path for my future career aspirations.

➢ Networking and Mentorship


Lastly, the networking opportunities and mentorship provided by Slashmark have been
invaluable. Engaging with industry experts, attending workshops, and building
connections within the startup community have broadened my perspective and opened
doors to new opportunities for learning and growth.

In conclusion, my internship at Slashmark has been a transformative experience,


equipping me with the skills, knowledge, and confidence to thrive in the dynamic world of
startups. I am grateful for the support and guidance I have received and look forward to
applying the lessons learned to my future endeavors. I would like to express my heartfelt
appreciation to the entire Slashmark team for providing me with such an exceptional
experience. Thank you for the invaluable knowledge, the meaningful friendships, and the
abundant growth opportunities. This internship has truly been a pivotal chapter in my
professional journey, and I am eagerly looking forward to carrying forward the lessons and
experiences gained here as I step into the next phase of my career.

Dept of ECE, AITS, Tirupati Page 51


Internet of Things

CHAPTER-8
VERIFIABLE CREDENTIALS

Link for Certificate


https://drive.google.com/file/d/1DnjI9qYMLMMo20rHPWwZAoUs4xM9su3E/view?usp=drivesdk
Basic Project GitHub Repository Link

https://github.com/Kaif-g/Air-pollution-monitoring-system-using-IoT

https://github.com/Kaif-g/Weather-Reporting-System-using-IoT

https://github.com/Kaif-g/-Smart-Garage-Door-using-IoT

Intermediate Project GitHub Repository Link

https://github.com/Kaif-g/Smart-Cradle-System-using-IoT

https://github.com/Kaif-g/Smart-Traffic-Management-System-using-IoT

Advanced Project GitHub Repository Link


https://github.com/Kaif-g/Smart-Baggage-Tracker-using-IoT
CODE QR

Dept of ECE, AITS, Tirupati Page 52

You might also like