IoT Intership Report
IoT Intership Report
Chapter 1
COMPANY PROFILE
Robosap Innovations Private Limited is a Bootstrapped startup incorporated
in 2017, located in Nipani, Belagavi, Karnataka focused on IOT, Robotics
and Electronics for DIY makers and Hackers. Robosap Innovations Private
Limited aims at building smart Gadgets for Smart People. Robosap
Innovation is a Bootstrapped Technology Start-Up with prime focus on
building smart IOT hardware and software, CNC's, 3D printing, Robots and
beyond that. Since its Incorporation Robosap has worked on number of
industrial projects including hardware as well as software related to Robotics,
Automation and 3D printing. Robosap Innovations Launched its software
wing in the name of 6Software which focuses on web Application
development, Mobile Development and Game development. Robosap
Innovations Pvt Ltd has also delivered number of technical talks and
workshops on Arduino, Raspberry pi etc. To School, College and
Engineering Graduates. In 2018 Robosap Innovations Launched its own E-
commerce venture www.robosap.in, A robotic and Electronic Super store;
which deals with Robotics Components, Self-Learning Kits for students and
Makers, CNC, 3D printing and all electronic components. At present
Robosap Innovations is working on own product development in IOT space
focused on making Day to Day living smart and easier with IOT and
Robotics. Some of the upcoming Products of Robosap Innovations are
Waterbot: IOT Water Management device. Optimum: A humanoid
framework for Everyone etc.
Chapter 2
INTRODUCTION
As a part of internship we performed different projects including basics
of IoT . We performed tasks such as Visitor Counter, Soil Moisture Indicator,
LCD display Interfacing and Counting, Web Application Development and
Complete IOT based Home Automation system development. Before we
started with our internship activities, we were to perform a deep literature
review on internet of things. The literature review is given in this chapter.
standard infrastructure so that they can communicate between each other and
all these objects/things can be monitored and controlled by anywhere and
anytime using internet then it can be called as Internet-of-Things (IoT). In
system architecture all the things such as objects in smart homes, vehicle,
electronic gadgets, etc. are connected to internet. Internet of Things is
maturing and continues to be the latest, most hyped concept in the IT world.
Over the last decade the term Internet of Things (IoT) has attracted attention
by projecting the vision of a global infra- structure of networked physical
objects, enabling anytime, anyplace connectivity for anything and not only
for anyone. The Internet of Things can also be considered as a global network
which allows the communication between human-to-human, human-to-things
and things-to-things, which is anything in the world by providing unique
identity to each and every object [5]. IoT describes a world where just about
anything can be connected and communicates in an intelligent fashion that
ever before. Most of us think about “being connected” in terms of electronic
devices such as servers, computers, tablets, telephones and smart phones. In
what’s called the In- Internet of Things, sensors and actuators embedded in
physical objects—from roadways to pacemakers—are linked through wired
and wireless networks, often using the same Internet IP that connects the
Internet.
Chapter 3
ARCHITECTURE OF IoT
So. here in this article we will discuss basic fundamental architecture of IoT i.e., 4 Stage
IoT architecture.
So, from the above image it is clear that there is 4 layers are present that can be divided
as follows: Sensing Layer, Network Layer, Data processing Layer, and Application
Layer.
These are explained as following below.
1. Sensing Layer –
Sensors, actuators, devices are present in this Sensing layer. These Sensors or
Actuators accepts data (physical/environmental parameters), processes data and
emits data over network.
2. Network Layer –
Internet/Network gateways, Data Acquisition System (DAS) are present in
this layer. DAS performs data aggregation and conversion function
(Collecting data and aggregating data then converting analog data of sensors
to digital data etc). Advanced gateways which mainly opens up connection
between Sensor networks and Internet also performs many basic gateway
functionalities like malware protection, and filtering also sometimes decision
making based on inputted data and data management services, etc.
3. Data processing Layer –
This is processing unit of IoT ecosystem. Here data is analysed and pre-
processed before sending it to data centre from where data is accessed by
software applications often termed as business applications where data is
monitored and managed and further actions are also prepared. So here Edge
IT or edge analytics comes into picture.
4. Application Layer –
This is last layer of 4 stages of IoT architecture. Data centres or cloud is
management stage of data where data is managed and is used by end-user
applications like agriculture, health care, aerospace, farming, defence, etc.
Chapter 4
SYSTEM REQUIREMENTS,
SPECIFICATIONS AND ANALYSIS
4.1 HARDWARE REQUIREMENTS:
Some microcontrollers may use four-bit words and operate at clock rate
frequencies as low as 4 kHz, for low power consumption (single-digit
milliwatts or microwatts). They will generally have the ability to retain
functionality while waiting for an event such as a button press or other
interrupt; power consumption while sleeping (CPU clock and most
peripherals off) may be just nanowatts, making many of them well suited for
long lasting battery applications. Other microcontrollers may serve
performance-critical roles, where they may need to act more like a digital
signal processor (DSP), with higher clock speeds and power consumption.
Relay Board:
Relays are electromechanical switches. They have very high current rating
and both AC and DC motors can be controlled through them because motor
Normally Open (NO): contacts connect the circuit when the relay is
activated; the circuit is disconnected when the relay is inactive.
Normally Closed(NC): contacts disconnect the circuit when the relay is
activated; the circuit is connected when the relay is inactive.
Change Over (CO): It is the common contact.
COIL: It is the electromagnet coil inside relay.
Relay ratings:
Coil rating: It is the Voltage at which the coil gets fully activated. Some also
have coil resistance mentioned on them. Relay coil voltage rated 6V and 12V
are the most commonly available.
Contact rating: It depends on whether AC or DC current is passing through
the contacts. The blue coloured relay shown in the start of this page has a
rating of 12A at 120V AC, 5A at 250V AC and 10A at 24V DC.
Depending upon a relay's coil rating, some may require current greater than
100mA. If an IC cannot provide this much current, a transistor is used as a
switch to trigger the relay as shown below. Don't avoid the protection diode
(D1 shown in circuit) as it will protect transistor from back emf induced in
relay coil.
Switching speed of a relay is slow, around 10ms. Relays are used to drive an
AC load from a small DC circuit, or to drive a high current consuming motor.
A sound of tic -tic while car wiper is on, this is the sound of relay inside the
car that drives the wiper motor.
Buzzer
Buzzers can be both fun and useful in electric circuits. We’ll use them a lot
in Make Crate projects, so let’s take a look at what is going on inside a buzzer
to produce sound.The buzzer consists of an outside case with two pins to
attach it to power and ground. Inside is a piezo element, which consists of a
central ceramic disc surrounded
by a metal (often bronze) vibration disc. When current is applied to the buzzer
it causes the ceramic disk to contract or expand. Changing this then causes
the surrounding disc to vibrate. That’s the sound that you hear. By changing
the frequency of the buzzer, the speed of the vibration’s changes, which
changes the pitch of the resulting sound.
IR Sensors
Feature summary
operating voltage: 4.5 V to 5.5 V
average current consumption: 33 mA (typical)
distance measuring range: 20 cm to 150 cm (8″ to 60″)
output type: analog voltage
output voltage differential over distance range: 2.0 V (typical)
update period: 38 ± 10 ms
package size: 29.5 × 13.0 × 21.5 mm (1.16″ × 0.5″ × 0.85″)
weight: 4.8 g (0.17 oz)
Arduino IDE:
Chapter 5
IOT PROTOCOLS
The two major protocols are MQTT and HTTP.
5.1 MQTT
MQTT clients include publishers and subscribers, terms that refer to whether
the client is publishing messages or subscribed to receive messages. These
two functions can be implemented in the same MQTT client. When a device
(or client) wants to send data to a server (or broker) it is called a publish.
When the operation is reversed, it is called a subscribe. Under the pub/sub
model, multiple clients can connect to a broker and subscribe to topics in
which they are interested.
An IBM writeup describes the pub/sub model: "Publishers send the messages,
subscribers receive the messages they are interested in, and brokers pass the
messages from the publishers to the subscribers. Publishers and subscribers
are MQTT clients, which only communicate with an MQTT broker. MQTT
clients can be any device or application (from microcontrollers like the
Arduino to a full application server hosted in the Cloud) that runs an MQTT
library."
Hyper Text Transfer Protocol is the best example of IoT network protocol.
This protocol has formed the foundation of data communication over the web.
It is the most common protocol that is used for IoT devices when there is a
lot of data to be published. However, the HTTP protocol is not preferred
because of its cost, battery-life, energy saving, and more constraints.
Chapter 6
Advantages
1. Cost reduction.
2. Efficiency and productivity.
3. Business opportunities.
4. Customer experience.
5. Mobility and agility
Disadvantages
1. Security and privacy. Keeping the data gathered and transmitted by IoT
devices safe is challenging, as they evolve and expand in use. ...
2. Technical complexity. ...
3. Connectivity and power dependence. ...
4. Integration. ...
5. Higher costs (time and money
Chapter 7
APPLICATIONS
1. Health care: IoT has applications in healthcare that benefit patients, families,
physicians, hospitals and insurance companies. IoT for Patients - Devices in
the form of wearables like fitness bands and other wirelessly connected
devices like blood pressure and heart rate monitoring cuffs, glucometer etc.
2. Industrial automation: Connecting industrial equipment (e.g., PLC, robots,
actuators, sensors) to the cloud - and sharing real-time data - can drastically
impact the efficiency, production and uptime and helps to develop next
generation machines. Getting started with IoT is only the basis for
improvement.
3. Smart city: Not just internet access to people in a city but to the devices in it
as well – that’s what smart cities are supposed to be made of. And we can
proudly say that we’re going towards realizing this dream. Efforts are being
made to incorporate connected technology into infrastructural requirements
and some vital concerns like Traffic Management, Waste Management,
Water Distribution, Electricity Management, and more. All these work
towards eliminating some day-to-day challenges faced by people and bring in
added convenience.
4. Smart grids: One of the many useful IoT examples, a smart grid, is a holistic
solution that applies an extensive range of Information Technology resources
that enable existing and new gridlines to reduce electricity waste and cost. A
future smart grid improves the efficiency, reliability, and economics of
electricity.
5. Industrial internet: The Industrial Internet of Things consists of
interconnected sensors, instruments, and other devices connected with
computers’ industrial applications like manufacturing, energy management,
etc. While still being unpopular in comparison to IoT wearables and other
uses, market researches like Gartner, Cisco, etc., believe the industrial
internet to have the highest overall potential.
6. Smart farming: Farming is one sector that will benefit the most from the
Internet of Things. With so many developments happening on tools farmers
can use for agriculture, the future is sure promising. Tools are being
developed for Drip Irrigation, understanding crop patterns, Water
Distribution, drones for Farm Surveillance, and more. These will allow
farmers to come up with a more productive yield and take care of the concerns
better
7. Smart supply chain: Supply-chains have stuck around in the market for a
while now. A common example can be Solutions for tracking goods while
they are on the road. Backed with IoT technology, they are sure to stay in the
market for the long run.
Chapter 8
Soil moisture is basically the content of water present in the soil. The
soil moisture sensor consists of two conducting plates which function as a
probe. This sensor is used to measure the volumetric content of water.
It can measure the moisture content in the soil based on the change in
resistance between these two conducting plates. It uses capacitance to
measure the dielectric constant of the soil. Dielectric constant can be called
as the ability of soil to transmit electricity.
1. Arduino UNO
2. Soil Moisture Sensor Module
3. 16×2 LCD Display
4. 10KΩ Potentiometer (for LCD)
5. Breadboard
6. Connecting wires
7. Power Supply
8. Test setup with 3 cups of soil
Soil Moisture Sensor Module: The main component of the project (apart
from the Arduino UNO) is the Soil Moisture Sensor. It consists of two parts:
The main Sensor and the Control Board. Sensor part of the Soil Moisture
Sensor consists of a couple of conductive probes that can be used to measure
the volumetric content of water in soil.
16×2 LCD Display: A 16x2 LCD means it can display 16 characters per line
and there are 2 such lines. In this LCD each character is displayed in 5x7 pixel
matrix. The 16 x 2 intelligent alphanumeric dot matrix display is capable of
displaying 224 different characters and symbols.
ATmega328P
Soil Moisture
Sensor LCD Display
Fig. 8.1: Block diagram of Soil Moisture Indicator Using Arduino Uno.
Fig. 8.2: Circuit diagram of Smart Soil Moisture Indicator Using Arduino Uno.
The design of the circuit is very simple. Connect the probe to the board and
provide power supply to the board. Take the analog out pin from the board
and connect it to Analog IN pinA0 of the Arduino.
To view the results, I have used a 16×2 LCD Display, where I have connected
its data pins D4 – D7 to Arduino Pins 5 – 2. All the additional connections
are mentioned in the circuit diagram.
Make the connections as per the circuit diagram and upload the code to
Arduino.
Place the soil moisture probe in a “dry” pot and check for readings. In my
case, it was around 13%.
Similarly, place the probe in other pots (after properly cleaning the probe) and
check for readings.
You can adjust the sensitivity of the sensor with the help of the potentiometer
on the board of the sensor.
8.5 Code:
#include <LiquidCrystal.h>
const int rs = 7, en = 6, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
int j=0;
int prev=0;
int pres=0;
void setup()
{
lcd.begin(16, 2);
lcd.setCursor(0,0);
lcd.print(" Soil Moisture ");
Serial.begin(9600);
}
void loop()
{
j=analogRead(A0);
j=map(j,0,982,148,0);
pres=j;
if(j>100)
Chapter 9
CONCLUSION
From the internship activity performed we can conclude that the
internship training has helped us to understand in deep the concepts of the
Internet of things. Through the period of internship, we were given a deep
exposure to the internet of things theory as well as practical application of the
same. We were able to get the knowledge of the industry standard IOT
protocols and were able to implement the same in the tasks provided. We
were able to perform hardware interfacing as well as develop the software
required for interfacing and controlling the hardware using IOT.
REFERENCES
[1] Dr. V. Bhuvaneswari, Dr. R Porkodi, “The Internet of Things (IoT)
Applications and Communication Enabling Technology Standards: An
Overview”, International Conference on Intelligent Computing Applications,
2014, pp. 324-329.
[3] Nunberg, G. (2012) The Advent of the Internet: 12th April, Courses.
[5] Aggarwal, R. and Lal Das, M. (2012) RFID Security in the Context of
“Internet of Things”. First International Confe- rence on Security of Internet
of Things, Kerala, 17-19 August 2012, 51-56.
http://dx.doi.org/10.1145/2490428.2490435