218R1A0433
218R1A0433
Internship Report On
“INTERNET OF THINGS”
BACHELOR OF TECHNOLOGY
In
By
Nandhini Gudime
218R1A0433
Submitted to
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
2024-25
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
SAI RAJESWARI INSTITUTE OF TECHNOLOGY
(Affiliated To J.N.T.A University, Anantapuramu ,PRODDATUR – 516 362
CERTIFICATE
SRIT SRIT
ACKLOWLEDGEMENT
An Endeavour of a long period can be successful only with the advice of many well wishers. I take
this opportunity to express my deep gratitude and appreciation to all those who encouraged for
successful completion of the Internship work.
I would like to thank Director of EXCELR Company for giving me the opportunity to do an internship within the
organization.
I deeply express my heartily gratitude and thanks to Mr. H Raghunatha Rao ,Internship Co-
Ordinator and all the faculty members of E.C.E for their valuable guidance, enriching thoughts and profound
knowledge, which brought my internship work completion.
My Special thanks to Dr. D SIVA M.Tech,,Ph.D, Head of Electronics & Communication Engineering
Department, Sai Rajeswari Institute of Technology, Proddatur. During the progress of Internship work, for
his timely suggestions and help inspite of his busy schedule.
I wish to express my sincere gratitude to Dr. PANDURANGAN RAVI Ph. D, Principal of Sai
Rajeswari Institute of Technology, Proddatur for his consistent help and encouragement to complete
I am very much thankful to Sri. B VEERA KALYAN REDDY, Hon’ Secretary and Correspondent
of Sai Rajeswari Educational trust for their help in providing good facilities in our college
Finally, I wish to convey my gratitude and express sincere thanks to all I.R.C (Internship Review
Committee) members, friends and lab technicians, one and all who have helped to complete the
Internship work successful.
INTERNSHIP ASSOCIATE
Nandhini Gudime
218R1A0433
ABSTRACT
The Internet of Things (IoT) refers to a network of interconnected devices that communicate and share
data with each other through the internet. These devices can range from everyday household items like
smart thermostats and home security systems to complex industrial machinery and medical equipment.
The core idea of IoT is to enhance the functionality and automation of devices by enabling them to
collect, exchange, and analyze data.
IoT technology relies on sensors, actuators, and communication protocols to transmit data. This data
can be used for various applications, such as improving energy efficiency, automating processes,
enhancing health monitoring, and optimizing logistics. With the integration of IoT, systems can make
intelligent decisions based on real-time data, leading to more efficient, responsive, and user-centric
experiences.
The significance of IoT lies in its potential to transform industries by enabling predictive maintenance,
smart cities, precision agriculture, and remote patient monitoring, among others. Despite its numerous
benefits, IoT faces challenges such as security vulnerabilities, data privacy concerns, and the need for
standardized protocols to ensure compatibility between devices. As IoT technology continues to evolve,
its role in shaping a connected and automated future becomes more prominent, promising enhanced
convenience, efficiency, and innovation across multiple sectors.
INDEX
S No Title Page No
ABSTRACT
Learning Objectives/Internship Objectives
CHAPTER-13
13 Setting up Raspberry Pi 24-25
CHAPTER-14
14 MQTT and Mosquitto 26
15 Conclusion 27
16 Reference 28
INTERNET OF THINGS
CHAPTER – 1
Fig 1: IOT
and a vast ecosystem of libraries and resources, even those with minimal
programming experience can quickly bring their IoT ideas to life. This accessibility
lowers the barrier to entry for IoT innovation, empowering individuals from diverse
backgrounds to participate in the burgeoning field.
In IoT applications, proximity sensors find diverse uses across various industries and
scenarios:
Smart Home Automation: Proximity sensors are employed in smart home devices to detect
human presence and activity. For instance, they can automatically turn on lights when
someone enters a room or adjust thermostats based on occupancy, enhancing energy
efficiency and user convenience.
Security Systems: In security systems, proximity sensors serve as a crucial component for
intrusion detection. They can trigger alarms or notifications when unauthorized individuals
approach restricted areas, helping to deter potential threats and enhance safety.
CHAPTER – 4
These sensors enable devices to monitor and respond to changes in environmental conditions,
ensuring optimal performance, comfort, and safety. Here's how humidity and temperature
Indoor Climate Control: In smart homes and buildings, humidity and temperature sensors
play a key role in climate control systems. By continuously monitoring indoor conditions,
these sensors enable HVAC (Heating, Ventilation, and Air Conditioning) systems to adjust
energy efficiency.
and processing facilities. They help ensure that perishable goods are stored at the correct
temperature and humidity levels to prevent spoilage and maintain product quality.
CHAPTER – 5
Sensor Data Transmission: Arduino boards equipped with sensors, such as temperature,
humidity, or motion sensors, can collect data from the environment and transmit it
wirelessly via Bluetooth. This allows real-time monitoring and analysis of environmental
conditions in IoT applications such as smart homes, environmental monitoring, and
industrial automation.
Control and Actuation: Bluetooth communication enables remote control and actuation
of Arduino-based devices. For example, Arduino-controlled actuators or motors can be
wirelessly controlled from a smartphone app or computer using Bluetooth commands.
This capability is useful in IoT applications like home automation, robotics, and smart
agriculture.
User Interface: Bluetooth connection facilitates interaction with Arduino devices
through user-friendly interfaces on Bluetooth-enabled devices such as smartphones or
tablets. Users can configure settings, monitor data, and receive notifications from
Arduino-based
Data Logging and Visualization: Arduino boards can transmit sensor data to
Bluetoothenabled devices for logging and visualization. This allows users to analyse
historical data trends, generate reports, and make informed decisions based on real-time and
historical data. Data logging and visualization are essential for IoT applications like
environmental monitoring, energy management, and healthcare.
Bluetooth connection and character communication with Arduino boards enhance the
capabilities of IoT systems by providing wireless connectivity, sensor data transmission,
remote control, user interaction, data logging, and prototyping support. By leveraging
Bluetooth technology, Arduino-based IoT projects can be more versatile, accessible, and
userfriendly, opening up opportunities for innovation and deployment in various domains.
CHAPTER – 6
User Interface: Android applications provide a user-friendly interface for interacting with
IoT devices. Through well-designed layouts, intuitive navigation, and interactive elements,
users can easily access device controls, view real-time data, and configure settings.
Device Integration: Android applications facilitate the integration of IoT devices into a
unified ecosystem. By leveraging APIs (Application Programming Interfaces) and SDKs
(Software Development Kits) provided by device manufacturers or IoT platforms,
developers can enable seamless communication between Android devices and IoT devices,
allowing for data exchange and command execution.
Remote Control: Android applications enable users to remotely control IoT devices from
anywhere with an internet connection. Whether it's turning on smart lights, adjusting
thermostat settings, or monitoring security cameras, users can perform actions on their IoT
devices conveniently from their Android devices.
Data Visualization: Android applications allow users to visualize data collected from IoT
devices in meaningful ways. Through charts, graphs, and dashboards, users can gain insights
into environmental conditions, energy usage, or other relevant metrics, empowering them to
make informed decisions and optimize device settings.
Notifications and Alerts: Android applications can send notifications and alerts to users
based on events or conditions detected by IoT devices. Whether it's detecting motion,
monitoring temperature thresholds, or alerting about low battery levels, notifications keep
users informed and enable timely responses to potential issues.
CHAPTER – 7
Selecting the DHT Sensor: Choose a DHT sensor suitable for your project requirements.
DHT11 and DHT22 are common options, offering varying levels of accuracy and operating
ranges.
Hardware Setup: Connect the DHT sensor to your microcontroller according to its pinout.
Typically, the sensor requires connections for power (VCC), ground (GND), and data (OUT).
For Arduino, connect the VCC pin of the DHT sensor to the 5V pin of the Arduino, the GND
pin to the ground (GND) pin of the Arduino, and the data pin to any digital input/output
(GPIO) pin of the Arduino.
Coding: Write a firmware program for the microcontroller to read data from the DHT
sensor. For Arduino, you can use the DHT library, which provides functions to read
humidity and temperature data from the sensor. Install the library if you haven't already.
Initialize the sensor in your Arduino sketch and specify the pin connected to the sensor. Use
library functions to read humidity and temperature values from the sensor. Optionally, you
can display the sensor data on an LCD display or serial monitor for testing purposes.
Testing: Upload the firmware code to your microcontroller. Verify that the sensor is
functioning correctly by monitoring the serial output or any connected display for humidity
and temperature readings. Ensure that the sensor readings are within expected ranges and
respond appropriately to changes in environmental conditions.
Integration with IoT Platform: Once the sensor is reading data reliably, integrate it with
your chosen IoT platform or application. Establish communication between the
microcontroller and the IoT platform using suitable communication protocols such as Wi-Fi,
Ethernet, or GSM.
Send the sensor data to the IoT platform at regular intervals or in response to specific events.
Configure the IoT platform to receive, process, and visualize the sensor data, enabling
realtime monitoring and analysis.
By following these steps, you can successfully connect a DHT sensor in an IoT
project, enabling you to monitor humidity and temperature levels remotely and take
appropriate actions based on the sensor data.
INTERNET OF THINGS
Dept.of ECE, SRIT, PDTR Page 10
CHAPTER – 8
Introduction to HTML
HTML (Hypertext Markup Language) serves as the foundation for creating web pages in the
interface of IoT (Internet of Things) applications, providing structure and content to webbased
user interfaces. Here's an introduction to HTML for creating web pages in the interface of
IoT:
Structure: HTML defines the structure of a web page using elements such as <html>,
<head>, and <body>. These elements encapsulate different parts of the page, including
metadata, scripts, and content.
Content: HTML allows you to add various types of content to your web pages, including
text, images, videos, and hyperlinks. Content is enclosed within appropriate HTML tags, such
as <p> for paragraphs, <img> for images, and <a> for links.
Forms: HTML provides form elements (<form>, <input>, <button>, etc.) for capturing user
input. Forms are essential for IoT applications, allowing users to interact with devices by
entering data or selecting options.
Styling: While HTML defines the structure and content of a web page, styling is achieved
using CSS (Cascading Style Sheets). CSS allows you to control the appearance and layout of
HTML elements, including colors, fonts, margins, and positioning.
Scripting: HTML can incorporate client-side scripting languages like JavaScript to add
interactivity and dynamic behavior to web pages. JavaScript enables features such as form
validation, event handling, and asynchronous communication with IoT devices or servers.
Responsive Design: With the proliferation of various devices and screen sizes, it's crucial to
create web pages that adapt to different viewport sizes. HTML supports responsive design
INTERNET OF THINGS
principles, allowing you to create flexible and adaptive layouts using techniques like media
queries and flexible grid systems.
In the context of IoT, HTML is used to create user interfaces for monitoring and
controlling connected devices through web browsers. These interfaces enable users to interact
with IoT systems, view sensor data, adjust settings, and receive notifications. By leveraging
HTML, CSS, and JavaScript, IoT applications can deliver intuitive and responsive web
interfaces that enhance user experiences and facilitate seamless integration with IoT devices
and services. HTML serves as the backbone of web-based interfaces in IoT applications,
providing the necessary structure, content, and interactivity to create engaging and functional
user experiences. Combined with CSS and JavaScript, HTML enables the creation of
powerful and versatile interfaces that bridge the gap between users and IoT systems.
CHAPTER – 9
Setup Arduino IDE: Download and install the Arduino IDE from the official
website: https://www.arduino.cc/en/software
In the "Additional Board Manager URLs" field, add the following URL:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Install ESP8266 Board Package: Navigate to Tools > Board > Boards
Manager. Search for "esp8266" and install the "esp8266" board package by
ESP8266 Community.
Select ESP8266 Board: After installing the board package, navigate to Tools >
Board and select the appropriate ESP8266 board variant. Common options
include Node MCU .
Connect ESP8266 Module: Connect your ESP8266 module to your computer via
adapter.
Verify Connection: Select the correct COM port for your ESP8266 module
under Tools > Port. To verify that the ESP8266 module is connected and
recognized by the Arduino IDE, select Tools > Get Board Info. You should see
information about the ESP8266 module displayed in the console.
Write and Upload Sketch: Write your Arduino sketch (program) using the
Arduino IDE. You can use familiar Arduino functions and libraries, as well as
specific ESP8266 libraries for Wi-Fi connectivity. Once your sketch is ready,
click the "Upload" button (right arrow icon) in the Arduino IDE to compile and
upload the sketch to the ESP8266 module. Monitor the upload progress in the
console, and ensure that the process completes successfully.
Serial Monitor: After uploading the sketch, you can open the Serial Monitor
(Tools > Serial Monitor) to view debug messages and output from the ESP8266
module
Test the Program: Once uploaded, the program will start running on the
ESP8266 module. Test the functionality of your program and ensure that it
behaves as expected.
By following these steps, you can program the ESP8266 module through
the Arduino IDE and develop a wide range of IoT applications leveraging its
WiFi capabilities and the Arduino framework.
CHAPTER – 10
Integration with IoT Platforms: NODEMCU can be easily integrated with popular IoT
platforms and services, such as MQTT (Message Queuing Telemetry Transport), Blynk, and
ThingSpeak, enabling seamless communication with cloud-based applications and data
storage services.
Low Cost and Accessibility: NODEMCU is an affordable and accessible platform, making
it suitable for hobbyists, students, and professionals alike. Its low cost and ease of use make
it an attractive option for prototyping IoT projects and exploring the possibilities of
connected devices.
NODEMCU is a versatile and powerful open-source IoT platform that simplifies the
development of Wi-Fi-enabled IoT applications. With its Lua scripting environment,
comprehensive development framework, extensibility, and active community support,
NODEMCU empowers developers to create innovative IoT solutions with ease.
CHAPTER - 11
Interfacing DHT11 with ESP8266 NodeMCU Using
Web Server
Interfacing a DHT11 sensor with an ESP8266 NodeMCU and creating a web server to display
the temperature and humidity readings is a popular IoT project. Below is a stepbystep guide to
accomplish this:
Hardware Setup:
Install Necessary Libraries: In the Arduino IDE, go to Sketch > Include Library > Manage
Libraries.
Code:
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <DHT.h>
"YourWiFiPassword";
Serial.begin(115200);
delay(10);
// Connect to Wi-Fi
Serial.println();
Serial.print("Connecting to ");
Serial.println("");
Serial.println("WiFi connected");
server.on("/", handleRoot);
server.begin();
} void loop()
{ server.handleClient
();
Access the Web Server: Once the upload is successful, open the serial monitor to view the IP
address of the NodeMCU board. Enter the IP address in a web browser on any device
connected to the same network. You should see a webpage displaying the temperature and
humidity readings from the DHT11 sensor. By following these steps, you can create a web
server using an ESP8266 NodeMCU and interface it with a DHT11 sensor to display
temperature and humidity readings in real-time.
Fig 7: Raspberry Pi
Beyond its cost-effectiveness, Raspberry Pi's versatility is one of its most compelling
features. These diminutive yet mighty boards serve as the cornerstone for a plethora of
projects across various domains. In classrooms, Raspberry Pi serves as an educational
catalyst, empowering students to delve into the realms of computer science, programming,
and electronics through hands-on experimentation. Its adaptability extends far beyond the
classroom, finding applications in home automation, IoT (Internet of Things) systems,
robotics, media centers, and beyond.
The strength of Raspberry Pi lies not only in its hardware capabilities but also in its
vibrant community. Fueled by enthusiasts, developers, educators, and makers from around
the globe, the Raspberry Pi community thrives on collaboration, knowledge sharing, and
collective ingenuity. Online forums, social media groups, and dedicated websites serve as
hubs of inspiration, providing a wealth of resources, tutorials, and project ideas for users of
all skill levels.
Chapter – 13
Setting up Raspberry Pi
Setting up a Raspberry Pi for the first time is an exciting journey into the world of
affordable computing. To begin, gather all the necessary hardware including a Raspberry Pi board,
a microSD card (8GB or larger), a power supply, HDMI cable, keyboard, mouse, and a monitor or
TV with an
With your Raspberry Pi set up and ready to go, the possibilities are endless. Whether
you're interested in programming, electronics, home automation, or gaming, there's a wealth
of resources and communities to support your Raspberry Pi journey. Explore various projects
and tutorials available online, and customize your Raspberry Pi to suit your needs and
interests. From educational endeavours to creative experiments, your Raspberry Pi opens
doors to a world of innovation and discovery.
CHAPTER – 14
Together, MQTT and Mosquitto form a powerful combination for building scalable
and reliable IoT systems. MQTT enables efficient communication between devices, while
Mosquitto acts as the intermediary that facilitates the exchange of messages between MQTT
clients. With its lightweight design and support for various platforms, Mosquitto is widely
CONCLUSION
REFERENCES
• https://www.raspberrypi.org/
• https://projects.raspberrypi.org/en/projects/raspberry-pi-getting-started
• https://mosquitto.org/
• https://www.raspberrypi.org/
• https://nodemcu.readthedocs.io/en/release/
• https://arduino-esp8266.readthedocs.io/en/latest/
• https://www.arduino.cc/
CERTIFICATE