Report Demo
Report Demo
Report Demo
SUBMITTED BY :
MR. SHAHEBAZ AJMER PATHAN
(BCA TY STUDENT)
Roll no 218
Seat no
REW2453029
UNDER GUIDANCE OF :
PROF. DR . S. V. PATIL
Firstly, I would like to thank Dr. S.V. Patil ,My seminar guide, for their
invaluable guidance, constant support, and encouragement throughout this
project. Their deep knowledge and insightful suggestions have been
instrumental in shaping the direction and depth of this report.
Thank you all for your contributions and assistance in making this seminar
report a success.
---
2. Introduction 6
3. Hardware 9
4. Sensors 10
5. Software 15
6. Ardiuno 18
7. Programming 22
8. Example Project 30
9. Conclusion 34
10. References 36
Aims:
Objectives:
The concept of IoT is not entirely new; the idea of connecting objects and
devices has been around for several decades. However, it is only in the last
decade that IoT has gained significant traction, largely due to the
convergence of multiple technological advancements. These include the
proliferation of low-cost sensors and actuators, the widespread availability
of high-speed internet, advancements in cloud computing, and the
development of robust data analytics and machine learning algorithms.
Together, these technologies have created a fertile ground for the growth of
IoT, enabling the development of smart, interconnected systems that can
monitor, analyze, and respond to their surroundings in real time.
One of the key characteristics of IoT programming is the need for efficiency
and optimization. IoT devices often operate in resource-constrained
environments, with
IoT − Sensors
The most important hardware in IoT might be its sensors. These devices
consist of energy modules, power management modules, RF modules, and
sensing modules. RF modules manage communications through their signal
processing, WiFi, ZigBee, Bluetooth, radio transceiver, duplexer, and BAW.
1. Static characteristics :
Range: Gives the highest and the lowest value of the physical quantity
within which the sensor can actually sense. Beyond these values, there is no
sense or no kind of response.
Provide the smallest changes in the input that a sensor is able to sense.
Zero-order system: The output shows a response to the input signal with no
delay. It does not include energy-storing elements.
The response of the sensor depends on the magnitude of the direction and
orientation of input parameter. Example – Accelerometer, gyroscope,
magnetic field and motion detector sensors.
Types of sensors –
1.Electrical sensor :
2.Light sensor:
Light sensor is also known as photo sensors and one of the important
sensor. Light dependent resistor or LDR is a simple light sensor
available today.
The property of LDR is that its resistance is inversely proportional to the
intensity of the ambient light i.e when the intensity of light increases, it’s
resistance decreases and vise versa.
3.Touch sensor:
4.Resistive type
5.Capacitive type
6.Range sensing:
Range sensing concerns detecting how near or far a component is from the
sensing position, although they can also be used as proximity sensors.
7.Mechanical sensor:
8.Pneumatic sensor:
9.Optical sensor:
Sensor used for detecting the speed of any object or vehicle which is in
motion is known as speed sensor .For example – Wind Speed
Sensors, Speedometer ,UDAR ,Ground Speed Radar .
PIR stands for passive infrared sensor and it is an electronic sensor that is
used for the tracking and measurement of infrared (IR) light radiating from
objects in its field of view and is also known as Pyroelectric sensor .It is
mainly used for detecting human motion and movement detection .
1.Device Firmware
3.Middleware
4.Communication Protocols
5.Cloud Platforms
6.Edge Computing
7.Security Software
8.Application Software
Official boards
Further information: List of Arduino boards and compatible systems
The original Arduino hardware was manufactured by the Italian
company Smart Projects.[37] Some Arduino-branded boards have
been designed by the American companies SparkFun Electronics
and Adafruit Industries.[38] As of 2016, 17 versions of the
Arduino hardware have been commercially produced.
Arduino
Nano[48] (DIP-
30 footprint)
programming.
Brackets
There are two types of brackets used in the Arduino coding, which
are listed below:
o Parentheses ( )
o Curly Brackets { }
Parentheses ( )
Curly Brackets { }
There are two types of line comments, which are listed below:
The text that is written after the two forward slashes are
considered as a single line comment. The compiler ignores the
code written after the two forward slashes. The comment will not
be displayed in the output. Such text is specified for a better
understanding of the code or for the explanation of any code
statement.
The // (two forward slashes) are also used to ignore some extra
lines of code without deleting it.
Coding Screen
void setup ( )
{
Coding statement 1;
Coding statement 2;
.
.
.
Coding statement n;
}
void loop ( )
{
Coding statement 1;
Coding statement 2;
.
.
.
Coding statement n;
}
Time in Arduino
Example:
example are:
pinMode ( )
The specific pin number is set as the INPUT or OUTPUT in the pinMode
() function.
Where,
pin: It is the pin number. We can select the pin number according to
the requirements.
The high current and short circuit of a pin can damage the ATmel
chip. So, it is recommended to set the mode as OUTPUT.
digitalWrite( )
Where,
HIGH: It sets the value of the voltage. For the 5V board, it will set
the value of 5V, while for 3.3V, it will set the value of 3.3V.
Example:
The HIGH will ON the LED and LOW will OFF the LED connected to
pin number 13.
The digitalRead () function will read the HIGH/LOW value from the
digital pin, and the digitalWrite () function is used to set the
HIGH/LOW value of the digital pin.
delay ( )
Where, 1 sec =
1000millisecond
seconds. Code:
Code:
void setup ()
{
pinMode ( 13, OUTPUT); // to set the OUTPUT mode of pin number 13.
}
void loop ()
{
digitalWrite (13, HIGH);
delay (4000); // 4 seconds = 4 x 1000 milliseconds
digitalWrite (13, LOW);
delay (1500); // 1.5 seconds = 1.5 x 1000 milliseconds
}
Components Required
1 × Breadboard
1 × Arduino Uno R3
1 × LED
1 × 330Ω Resistor
2 × Jumper
Procedure
Arduino Code
/*
Blink
Turns on an LED on for one second, then off for one second,
repeatedly.
*/
// the setup function runs once when you press reset or power the
board void setup() { // initialize digital pin 13 as an output.
pinMode(2, OUTPUT);}
// the loop function runs over and over again forever
Code to Note
Result
You should see your LED turn on and off. If the required output is
not seen, make sure you have assembled the circuit correctly,
and verified and uploaded the code to your board.