SlideShare uma empresa Scribd logo
© Kalasalingam academy of research and education
IoT – Sensors and
Devices
© Kalasalingam academy of research and education
Course Outline
IOT – SENSORS AND DEVICES
CO2: Analyze the optimal usage of
microcontroller.
CO3: Demonstrate the usage of sensors and
actuators for specific requirements
CO4: Analyze the communication protocols for
different devices and its applications.
CO5: Inspect the various cloud services in alignment
with the corresponding IoT devices.
CO6: Work effectively in as team and individual in doing the
experiments following the safety procedures and ethics and
document effectively the experiments carried out in the
laboratory.
CO1: : Distinguish between the different concepts of
IoT for its applications.
Course description:
To expose the students to the fundamental
concepts of Microcontrollers and its interfacing,
that will help them put a strong foundation for the
implementation of Internet of things in real time.
© Kalasalingam academy of research and education
Unit-2: Sensors & Actuators
Syllabus – Lecture contents
❖ Introduction to Sensors and Actuators and their
types
❖ Overview of Sensors and Actuators working
❖ Specifications
❖ Temperature - Humidity
❖ Touch – Flex
❖ Pressure - Accelerometer / Gyroscope - proximity
- IR - PIR
❖ Ultrasonic sensors - Relays - Solenoids - LCD
❖ Motor Drivers.
Unit 3
Sensors & Actuators
© Kalasalingam academy of research and education COURSENAME: IOT: SENSORS AND DEVICES
© Kalasalingam academy of research and education
Sensors
❖Sensor as an input device which provides an output (signal) with respect to a specific physical quantity
(input).
❖The term “input device” in the definition of a Sensor means that it is part of a bigger system which
provides input to a main control system (like a Processor or a Microcontroller).
❖Another unique definition : It is a device that converts signals from one energy domain to electrical
domain. The definition of the Sensor can be better understood if we take an example into
consideration.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education IOT – SENSORS AND DEVICES
Sensor : Example
❖The simplest example of a sensor is an LDR or a Light Dependent Resistor. It is a device, whose
resistance varies according to intensity of light it is subjected to. When the light falling on an LDR is
more, its resistance becomes very less and when the light is less, well, the resistance of the LDR
becomes very high.
❖When a light level of 1000 lux (bright light) is directed towards it, the resistance is 400R (ohms).
❖When a light level of 10 lux (very low light level) is directed towards it, the resistance has risen
dramatically to 10.43M(10430000ohms).
© Kalasalingam academy of research and education IOT – SENSORS AND DEVICES
Sensor : Example
Source : https://technologystudent.com/
© Kalasalingam academy of research and education
Actuators
❖An actuator is a device that produces a motion by converting energy and signals going into the
system. The motion it produces can be either rotary or linear.
❖Electric linear actuators, as the name implies, produce linear motion.
❖This means that linear actuators can move forward or backwards on a set linear plane – a set distance
they can travel in either direction before they must stop.
❖Rotary actuators on the other hand produce rotary motion, meaning that the actuator revolves on a
circular plane.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education IOT – SENSORS AND DEVICES
Actuator : Examples
❖electric motors
❖stepper motors
❖Jackscrews
❖electric muscular stimulators in robots, etc.
© Kalasalingam academy of research and education IOT – SENSORS AND DEVICES
Difference between Sensor & Actuator
© Kalasalingam academy of research and education IOT – SENSORS AND DEVICES
Difference between Sensor & Actuator
© Kalasalingam academy of research and education
Active and Passive Sensors
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education IOT – SENSORS AND DEVICES
Sensors Classifications
❖In the first classification of the sensors, they are divided in to Active and Passive.
❖Active Sensors, on the other hand, do not require any external power signal and directly generates output
response.
❖Passive Sensors are those which require an external excitation signal or a power signal.
© Kalasalingam academy of research and education IOT – SENSORS AND DEVICES
Examples for Active and passive sensors
Source : https://realpars.com/
© Kalasalingam academy of research and education
Sensor classifications
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Sensors Classifications
❖The other type of classification is based on the means of detection used in the sensor.
❖Some of the means of detection are Electric, Biological, Chemical, Radioactive etc.
❖The next classification is based on conversion phenomenon i.e., the input and the output.
❖Some of the common conversion phenomena are
✓Photoelectric,
✓Thermoelectric,
✓Electrochemical,
✓Electromagnetic,
✓Thermo-optic etc.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Sensors Classifications
❖The final classification of the sensors are Analog and Digital Sensors.
❖Analog Sensors produce an analog output i.e., a continuous output signal (usually voltage but sometimes
other quantities like Resistance etc.) with respect to the quantity being measured.
❖Digital Sensors, in contrast to Analog Sensors, work with discrete or digital data.
❖The data in digital sensors, which is used for conversion and transmission, is digital in nature.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Different Types of Sensors
❖The following is a list of different types of sensors that are commonly used in various applications. All these
sensors are used for measuring one of the physical properties like Temperature, Resistance, Capacitance,
Conduction, Heat Transfer etc.
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Temperature / Humidity Sensors
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity - Sensor
❖The DHT-22 (also named as AM2302) is a digital-output, relative humidity, and temperature sensor.
❖It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and sends a digital
signal on the data pin.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity - Sensor
The ranges and accuracy of the DHT11 are:
❖ Humidity Range: 20-90% RH
❖ Humidity Accuracy: ±5% RH
❖ Temperature Range: 0-50 °C
❖ Temperature Accuracy: ±2% °C
❖ Operating Voltage: 3V to 5.5V
Source: https://www.circuitbasics.com///
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity Sensor
❖All humidity sensors measure relative humidity (a ratio
of water content in air to maximum potential of air to
hold water). Since relative humidity is dependent on
temperature of air, almost all Humidity Sensors can also
measure Temperature.
❖Humidity Sensors are classified into Capacitive Type,
Resistive Type and Thermal Conductive Type. DHT11 and
DHT22 are two of the frequently used Humidity Sensors
in DIY Community (the former is a resistive type while the
latter is capacitive type).
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity - Sensor
Source: https://create.arduino.cc/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity - Sensor
Technical Details:
❖Power − 3-5V
❖Max Current − 2.5mA
❖Humidity − 0-100%, 2-5% accuracy
❖Temperature − 40 to 80°C, ±0.5°C accuracy
Source: https://www.tutorialspoint.com//
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity – Sensor connection with Arduino
Source: https://create.arduino.cc/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity Sensor
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity Sensor
HOW TO SET UP THE DHT11 ON AN ARDUINO?
❖Wiring the DHT11 to the Arduino is really easy, but the connections are different depending on which type you
have.
Source: https://www.circuitbasics.com///
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Humidity
DISPLAY HUMIDITY ON THE SERIAL MONITOR:
❖Before you can use the DHT11 on the Arduino, you’ll need to install the DHTLib library.
❖It has all the functions needed to get the humidity and temperature readings from the sensor.
❖It’s easy to install, just download the DHTLib.zip file below and open up the Arduino IDE.
❖Then go to Sketch>Include Library>Add .ZIP Library and select the DHTLib.zip file.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Touch Sensor
❖Touch Sensors, as the name
suggests, detect touch of a finger or a
stylus.
❖Often touch sensors are classified
into Resistive and Capacitive type.
❖ Almost all modern touch sensors
are of Capacitive Types as they are
more accurate and have better signal
to noise ratio.
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
Source: http://www.touchsemi.com/
© Kalasalingam academy of research and education COURSE NAME
Flex Sensor
❖A flex sensor, also known as a bend
sensor, is a low-cost, simple-to-use sensor
used to measure the amount of deflection
or bending.
❖It is used to measure joint movement, a
door sensor, a bumper switch to detect
walls, and a pressure sensor on robotic
grippers.
https://lastminuteengineers.com/flex-sensor
© Kalasalingam academy of research and education COURSE NAME
Flex Sensor
❖A flex sensor is basically a variable resistor,
whose resistance varies when bent. Because the
resistance is directly proportional to the amount
of bending, it is often referred to as a Flexible
Potentiometer.
❖Flex sensors are typically available in two sizes:
2.2′′ (5.588cm) long and 4.5′′ (11.43cm) long.
❖A conductive ink based flex sensor is made of a
phenolic resin substrate onto which conductive
ink is applied. A segmented conductor is then
placed on top to create a flexible potentiometer.
© Kalasalingam academy of research and education COURSE NAME
How Do Flex Sensors Work?
❖The conductive ink on the sensor serves as a
resistor. When the sensor is straight, this
resistance is around 25k.
❖When the sensor is bent, the conductive
layer is stretched, resulting in a reduced cross
section (imagine stretching a rubber band)
and increased resistance. At a 90° angle, this
resistance is approximately 100K.
❖When the sensor is straightened out again,
the resistance returns to its original value. By
measuring the resistance, you can determine
how much the sensor is bent.
© Kalasalingam academy of research and education
Light Sensor
❖Sometimes also known as Photo Sensors, Light Sensors are one of
the important sensors. A simple Light Sensor available today is the
Light Dependent Resistor or LDR.
❖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, its resistance decreases and vise-versa.
❖By using LDR is a circuit, we can calibrate the changes in its
resistance to measure the intensity of Light.
❖There are two other Light Sensors (or Photo Sensors) which are
often used in complex electronic system design. They are Photo
Diode and Photo Transistor. All these are Analog Sensors.
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Light Sensor
❖There are also Digital Light Sensors like BH1750, TSL2561, etc., which can calculate intensity of light and
provide a digital equivalent value.
IOT – SENSORS AND DEVICES
Source :http://electronicsgurukulam.blogspot.com/
© Kalasalingam academy of research and education
Accelerometer
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Accelerometer
❖An accelerometer is an electronic sensor that
measures the acceleration forces acting on an
object, in order to determine the object’s
position in space and monitor the object’s
movement.
❖Acceleration, which is a vector quantity, is
the rate of change of an object’s velocity.
❖(velocity being the displacement of the
object divided by the change in time.
❖There are two types of acceleration forces:
static forces and dynamic forces.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Accelerometer
❖Static forces are forces that are constantly being applied to the object (such as friction or gravity).
❖Dynamic forces are “moving” forces applied to the object at various rates (such as vibration, or the force
exerted on a cue ball in a game of pool).
❖This is why accelerometers are used in automobile collision safety systems, for example:
❖When a car is acted on by a powerful dynamic force, the accelerometer (sensing a rapid deceleration) sends an
electronic signal to an embedded computer, which in turn deploys the airbags.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT
Accelerometer
❑There are three different types of accelerometers, and they are each designed to efficiently function in their
intended environments. The three types are:
❖A Piezoelectric accelerometer utilizes the piezoelectric effect (piezoelectric materials produce electricity
when put under physical stress) to sense change in acceleration. Piezoelectric accelerometers are most
commonly used in vibration and shock measurement.
❖Piezoresistance accelerometers are much less sensitive than piezoelectric accelerometers, and they are
better suited to vehicle crash testing. A piezoresistance accelerometer increases its resistance in proportion to
the amount of pressure applied to it.
❖Capacitive accelerometers use change in electrical capacitance to determine an object’s acceleration. When
the sensor undergoes acceleration, the distance between its capacitor plates changes as the diaphragm of the
sensor moves.
© Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT
Accelerometer – Example- ADXL335
Source : https://www.javatpoint.com/arduino-accelerometer
© Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT
Accelerometer : ADXL335 Connection Diagram to Arduino
Source : https://www.javatpoint.com/arduino-accelerometer
© Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT
Accelerometer : ADXL335 Connection to Arduino
Connections:
❖ Accelerometer X to Pin A3 of Arduino
❖ Accelerometer y to Pin A2 of Arduino
❖ Accelerometer Z to Pin A1 of Arduino
❖ Accelerometer VCC to Pin A5 of Arduino
❖ Accelerometer GND to Pin A4 of Arduino
❖ Accelerometer ST to Pin A0 of Arduino
© Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT
Accelerometer : ADXL335 Connection to Arduino
Source : https://circuitdigest.com/
© Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT
Accelerometer - Applications
Applications:
❖Detection of Earthquake.
❖For the protection of hard drive of the laptop.
❖Uphill movement of the object.
❖Any customized project.
© Kalasalingam academy of research and education
Gyroscope
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Gyroscope - Sensor
What is a gyroscope sensor?
❖The gyroscope measures rotational velocity or rate of change of the angular position over time, along the X, Y
and Z axis.
❖The outputs of the gyroscope are in degrees per second, so in order to get the angular position, we just need
to integrate the angular velocity.
❖Briefly, it can measure gravitational acceleration along the 3 axes and using some trigonometry math we can
calculate the angle at which the sensor is positioned
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Gyroscope - Sensor
How does an Arduino gyroscope sensor work?
❖The accelerometer measures the acceleration along one direction, while the gyroscope measures the angular
acceleration on one axis.
❖The analogic pins are not set on INPUT because it's their default setting.
❖The values read by the analogic pins will be sent to the serial port.
❖Open the Serial Monitor, move the sensor and try to see how the values change.
❖Accelerometers can be used for fun projects, for example, to realize a game controller.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Gyroscope - Sensor
How to use an Arduino Gyroscope sensor?
❖To operate with a gyroscope sensor, you need to connect four wires to your Arduino.
❖You need wires to be connected to the ground (Gnd) from the gyroscope's Gnd pin and a second wire from the
VCC pin of the gyroscope to the 5v pin of the Arduino.
❖Then, you need another two wires to be connected to two analog inputs of the Arduino.
❖The first one of these wires goes from the SCL pin of the gyroscope, and the second wire goes from the
gyroscope's SDA pin.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Gyroscope – Arduino Connection
IOT – SENSORS AND DEVICES
Source : https://www.circuitstoday.com/
© Kalasalingam academy of research and education
Gyroscope – GY521 Module
IOT – SENSORS AND DEVICES
❖ It is a 3- axis gyroscope and accelerometer module .
❖ It has six built in 16- bit ADC channels, 3 for the gyroscope outputs and 3 for the accelerometer outputs.
❖ It communicates using the I2C protocol.
❖ Operating voltage is from 2.37v to 3.46V.
❖ A low drop out regulator is provided with the GY521 board for providing this voltage.
© Kalasalingam academy of research and education
Gyroscope – GY521 Module
IOT – SENSORS AND DEVICES
Source : https://www.circuitstoday.com/
© Kalasalingam academy of research and education
Gyroscope – Sensor- Interfacing with Arduino
Source: https://www.ozeki.hu/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Proximity Sensor (IR Sensor)
❖A Proximity Sensor is a non-contact type sensor that detects the presence of an object. Proximity Sensors
can be implemented using different techniques like Optical (like Infrared or Laser), Sound (Ultrasonic),
Magnetic (Hall Effect), Capacitive, etc.
❖Some of the applications of Proximity Sensors are
❖Mobile Phones, Cars (Parking Sensors),
❖ industries (object alignment),
❖Ground Proximity in Aircrafts, etc.
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Proximity Sensor (IR Sensor)
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
• A Proximity Sensor is a non-contact type
sensor that detects the presence of an
object. Proximity Sensors can be
implemented using different techniques
like Optical (like Infrared or Laser), Sound
(Ultrasonic), Magnetic (Hall Effect),
Capacitive, etc.
• Some of the applications of Proximity
Sensors are Mobile Phones, Cars
(Parking Sensors), industries (object
alignment), Ground Proximity in
Aircrafts, etc.
© Kalasalingam academy of research and education
Proximity Sensor (IR Sensor)
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Proximity Sensor
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Proximity Sensor (IR Sensor)
Source: https://www.smlease.com/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Infrared Sensor (IR Sensor)
❖There are two types of Infrared or IR Sensors:
Transmissive Type and Reflective Type.
❖In Transmissive Type IR Sensor, the IR
Transmitter (usually an IR LED) and the IR
Detector (usually a Photo Diode) are positioned
facing each other so that when an object passes
between them, the sensor detects the object.
Source: https://instrumentationtools.com/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Infrared Sensor (IR Sensor)
❖The other type of IR Sensor is a Reflective Type IR Sensor.
In this, the transmitter and the detector are positioned
adjacent to each other facing the object.
❖When an object comes in front of the sensor, the infrared
light from the IR Transmitter is reflected from the object
and is detected by the IR Receiver and thus the sensor
detects the object.
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Infrared Sensor (IR Sensor)
IOT – SENSORS AND DEVICES
Source: https://www.keyence.com/
© Kalasalingam academy of research and education
Ultrasonic sensor
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Ultrasonic Sensor
❖An Ultrasonic Sensor is a non-contact type device that
can be used to measure distance as well as velocity of an
object.
❖An Ultrasonic Sensor works based on the properties of
the sound waves with frequency greater than that of the
human audible range.
❖Using the time of flight of the sound wave, an Ultrasonic
Sensor can measure the distance of the object (similar to
SONAR).
❖The Doppler Shift property of the sound wave is used to
measure the velocity of an object.
Source: https://www.electronicshub.org/
© Kalasalingam academy of research and education COURSE NAME
Ultrasonic Sensor : Example
Source: https://www.electronicshub.org/
© Kalasalingam academy of research and education
Relays
COURSE NAME : IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Relay
IOT – SENSORS AND DEVICES
❖ Whenever we need to connect any AC Appliance in our embedded circuits, we use a Relay.
❖ Here we are not using any Relay Driver IC like ULN2003 and will only use an NPN transistor to control relay.
❖ Relay is an electromagnetic switch, which is controlled by small current, and used to switch ON and OFF relatively
much larger current.
❖ Means by applying small current we can switch ON the relay which allows much larger current to flow.
❖ A relay is a good example of controlling the AC (alternate current) devices, using a much smaller DC current.
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
Commonly used Relay is Single Pole Double Throw (SPDT) Relay, it has five terminals as below:
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
❖ When there is no voltage applied to the coil, COM (common) is connected to NC (normally closed contact).
❖ When there is some voltage applied to the coil, the electromagnetic field produced, which attracts the Armature
(lever connected to spring), and COM and NO (normally open contact) gets connected, which allow a larger
current to flow.
❖ Relays are available in many ratings, here we used 6V operating voltage relay, which allows 7A-250VAC current to
flow.
❖ The relay is always configured by using a small Driver circuit which consists a Transistor, Diode and a resistor.
❖ Transistor is used to amplify the current so that full current (from the DC source – 9v battery) can flow through a
coil to fully energies it.
❖ The resistor is used to provide biasing to the transistor.
❖ And Diode is used to prevent reverse current flow, when the transistor is switched OFF.
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
❖ Every Inductor coil produces equal and opposite EMF when switched OFF suddenly, this may cause permanent
damage to components, so Diode must be used to prevent reverse current.
❖ A Relay module is easily available in the market with all its Driver circuit on the board or you can create it on perf
board or PCB like below.
❖ Here we have used 6V Relay module.
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
❖ Here to turn on the Relay with Arduino we just need to make that Arduino Pin High (A0 in our case) where Relay
module is connected.
❖ Below given is Relay Driver Circuit to build your own Relay module:
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
Arduino Relay Control Code
#define relay A0
#define interval 1000
void setup() {
pinMode(relay, OUTPUT);
}
void loop()
{
digitalWrite(relay, HIGH);
delay(interval);
digitalWrite(relay, LOW);
delay(interval);
}
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
❖ Controlling a relay module with the Arduino is as simple as controlling
any other output.
❖ This relay module has two channels (those blue cubes).
❖ There are other models with one, four and eight channels.
❖ This module should be powered with 5V, which is appropriate to use
with an Arduino.
❖ There are other relay modules that are powered using 3.3V, which is
ideal for ESP32, ESP8266, and other microcontrollers.
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
❖ The six pins on the left side of the relay module connect high voltage,
and the pins on the right side connect the component that requires low
voltage—the Arduino pins.
© Kalasalingam academy of research and education
Interfacing of Relay
IOT – SENSORS AND DEVICES
❖ The high-voltage side has two connectors, each with three sockets: common
(COM), normally closed (NC), and normally open (NO).
❖ COM: common pin
❖ NC (Normally Closed): the normally closed configuration is used when you
want the relay to be closed by default, meaning the current is flowing unless
you send a signal from the Arduino to the relay module to open the circuit
and stop the current.
❖ NO (Normally Open): the normally open configuration works the other way
around: the relay is always open, so the circuit is broken unless you send a
signal from the Arduino to close the circuit.
❖ If you just want to light up a lamp occasionally, it is better to use a normally-
open circuit configuration.
© Kalasalingam academy of research and education COURSE NAME
Solenoids
❖It uses electromagnetism to convert electrical
energy into mechanical motion.
❖The pulling and pushing strength is
determined by the number of turns on the coil.
© Kalasalingam academy of research and education COURSE NAME
LCD (Liquid Crystal Display)
❖It is a thin display device that offers support for large
resolutions and better picture quality.
❖An LCD contains a backlight rather than the firing electrons
at a glass screen, which offers light to individual pixels
arranged in a rectangular grid.
❖As compared to CRT technology, LCD consumes much less
power and allows displays to be much thinner that also
makes them very less heavy.
❖Instead of emitting light, LCDs work on the principle of
blocking light.
© Kalasalingam academy of research and education COURSE NAME
LCD (Liquid Crystal Display)
Advantages of LCD
❖Takes less Space
❖Low Power Consumption
❖Sufficient Brightness in low lit areas
❖Low Screen Flickering rate
Disadvantages of LCD
❖Expensive for their size
❖Inconsistent Interfacing
❖Small viewing Angle
❖Limited brightness
❖Poor reproduction of blacks
https://www.javatpoint.com/what-is-lcd
© Kalasalingam academy of research and education COURSE NAME
Motor Drivers (L298N)
We can only have full control over a DC motor if we can control its speed and spinning direction.
This is possible by combining these two techniques.
➢PWM – to control speed
➢H-Bridge – to control the spinning direction
© Kalasalingam academy of research and education COURSE NAME
Motor Drivers (L298N)
H-Bridge – to control the spinning direction
❖The spinning direction of a DC motor can
be controlled by changing the polarity of its
input voltage.
❖An H-bridge circuit is made up of four
switches arranged in a H shape, with the
motor in the center.
❖Closing two specific switches at the same
time reverses the polarity of the voltage
applied to the motor. This causes a change in
the spinning direction of the motor.
© Kalasalingam academy of research and education COURSE NAME
L298N Motor Driver Module
https://lastminuteengineers.com/l298n-dc-stepper-driver-arduino-tutorial/
© Kalasalingam academy of research and education
Other Sensors
COURSE NAME : IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Smoke and Gas Sensors
❖One of the very useful sensors in safety related
applications are Smoke and Gas Sensors. Almost all offices
and industries are equipped with several smoke detectors,
which detect any smoke (due to fire) and sound an alarm.
❖Gas Sensors are more common in laboratories, large scale
kitchens and industries. They can detect different gases like
LPG, Propane, Butane, Methane (CH4), etc.
❖Now-a-days, smoke sensors (which often can detect
smoke as well as gas) are also installed in most homes as a
safety measure.
❖The “MQ” series of sensors are a bunch of cheap sensors
for detecting CO, CO2, CH4, Alcohol, Propane, Butane, LPG
etc. You can use these sensors to build your own Smoke
Sensor Application.
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Smoke and Gas Sensors
Source: https://create.arduino.cc/
IOT – SENSORS AND DEVICES
© Kalasalingam academy of research and education
Alcohol Sensor
❖As the name suggests, an Alcohol Sensor detects alcohol.
Usually, alcohol sensors are used in breathalyzer devices, which
determine whether a person is drunk or not.
❖Law enforcement personnel uses breathalyzers to catch drunk-
and-drive culprits.
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES
Source : https://lastminuteengineers.com/
© Kalasalingam academy of research and education
Color Sensor
❖A Color Sensor is an useful device in building color
sensing applications in the field of image processing,
color identification, industrial object tracking etc.
❖ The TCS3200 is a simple Color Sensor, which can detect
any color and output a square wave proportional to the
wavelength of the detected color.
Source: https://www.electronicshub.org/
© Kalasalingam academy of research and education
Tilt Sensor
❖Often used to detect inclination or orientation, Tilt Sensors are one of the simplest and inexpensive
sensors out there.
❖Previously, tilt sensors are made up of Mercury (and hence they are sometimes called as Mercury
Switches) but most modern tilt sensors contain a roller ball.
Source: https://www.electronicshub.org/
IOT – SENSORS AND DEVICES Source: https://instrumentationtools.com/
© Kalasalingam academy of research and education
Thank You!
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere,
magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna.
IOT – SENSORS AND DEVICES

Mais conteúdo relacionado

Mais procurados

SDN( Software Defined Network) and NFV(Network Function Virtualization) for I...
SDN( Software Defined Network) and NFV(Network Function Virtualization) for I...SDN( Software Defined Network) and NFV(Network Function Virtualization) for I...
SDN( Software Defined Network) and NFV(Network Function Virtualization) for I...
Sagar Rai
 
Signals and Systems: Energy and Power Signals
Signals and Systems: Energy and Power SignalsSignals and Systems: Energy and Power Signals
Signals and Systems: Energy and Power Signals
nishtha97
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
Maryala Srinivas
 
Digital electronics
Digital electronicsDigital electronics
Information theory
Information theoryInformation theory
Information theory
Madhumita Tamhane
 
Signals & Systems PPT
Signals & Systems PPTSignals & Systems PPT
Signals & Systems PPT
Jay Baria
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
Sudhanshu Janwadkar
 
Digital to Analog conversion
Digital to Analog conversionDigital to Analog conversion
Digital to Analog conversion
Mariam Butt
 
IoT material revised edition
IoT material revised editionIoT material revised edition
IoT material revised edition
pavan penugonda
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
Manoj Kumar
 
Morris mano digital logic design
Morris mano  digital logic designMorris mano  digital logic design
Morris mano digital logic design
MayankCool19
 
Adc interfacing
Adc interfacingAdc interfacing
Adc interfacing
Monica Gunjal
 
OSI Model
OSI ModelOSI Model
OSI Model
Rahul Bandhe
 
Registers siso, sipo
Registers siso, sipoRegisters siso, sipo
Registers siso, sipo
DEPARTMENT OF PHYSICS
 
Intel 8051 Programming in C
Intel 8051 Programming in CIntel 8051 Programming in C
Intel 8051 Programming in C
Sudhanshu Janwadkar
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
manishpatel_79
 
555 Timer (detailed presentation)
555 Timer (detailed presentation)555 Timer (detailed presentation)
555 Timer (detailed presentation)
Tanish Gupta
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
mubashir farooq
 
Comparison of Amplitude Modulation Techniques.pptx
Comparison of Amplitude Modulation Techniques.pptxComparison of Amplitude Modulation Techniques.pptx
Comparison of Amplitude Modulation Techniques.pptx
ArunChokkalingam
 
TWO STAGE NETWORKS
TWO STAGE NETWORKSTWO STAGE NETWORKS
TWO STAGE NETWORKS
AakankshaR
 

Mais procurados (20)

SDN( Software Defined Network) and NFV(Network Function Virtualization) for I...
SDN( Software Defined Network) and NFV(Network Function Virtualization) for I...SDN( Software Defined Network) and NFV(Network Function Virtualization) for I...
SDN( Software Defined Network) and NFV(Network Function Virtualization) for I...
 
Signals and Systems: Energy and Power Signals
Signals and Systems: Energy and Power SignalsSignals and Systems: Energy and Power Signals
Signals and Systems: Energy and Power Signals
 
Verilog tutorial
Verilog tutorialVerilog tutorial
Verilog tutorial
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Information theory
Information theoryInformation theory
Information theory
 
Signals & Systems PPT
Signals & Systems PPTSignals & Systems PPT
Signals & Systems PPT
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Digital to Analog conversion
Digital to Analog conversionDigital to Analog conversion
Digital to Analog conversion
 
IoT material revised edition
IoT material revised editionIoT material revised edition
IoT material revised edition
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Morris mano digital logic design
Morris mano  digital logic designMorris mano  digital logic design
Morris mano digital logic design
 
Adc interfacing
Adc interfacingAdc interfacing
Adc interfacing
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Registers siso, sipo
Registers siso, sipoRegisters siso, sipo
Registers siso, sipo
 
Intel 8051 Programming in C
Intel 8051 Programming in CIntel 8051 Programming in C
Intel 8051 Programming in C
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
 
555 Timer (detailed presentation)
555 Timer (detailed presentation)555 Timer (detailed presentation)
555 Timer (detailed presentation)
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Comparison of Amplitude Modulation Techniques.pptx
Comparison of Amplitude Modulation Techniques.pptxComparison of Amplitude Modulation Techniques.pptx
Comparison of Amplitude Modulation Techniques.pptx
 
TWO STAGE NETWORKS
TWO STAGE NETWORKSTWO STAGE NETWORKS
TWO STAGE NETWORKS
 

Semelhante a Unit 3 Sensors and Actuators.pdf

International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
IJERD Editor
 
Sensors - Aniket.pptx
Sensors - Aniket.pptxSensors - Aniket.pptx
Sensors - Aniket.pptx
AniketKuanra
 
Proximity Sensors ppt.pptx
Proximity Sensors ppt.pptxProximity Sensors ppt.pptx
Proximity Sensors ppt.pptx
Mohanakrishna40
 
INTRODUCTION TO SENSORS - ARUN 9819110096
INTRODUCTION TO SENSORS - ARUN 9819110096INTRODUCTION TO SENSORS - ARUN 9819110096
INTRODUCTION TO SENSORS - ARUN 9819110096
Dr. Arun Shridharan Pillai
 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdf
Sweta Kumari Barnwal
 
internet of things about sensors technology.pptx
internet of things about sensors technology.pptxinternet of things about sensors technology.pptx
internet of things about sensors technology.pptx
OmChouksey3
 
Gaurav seminar
Gaurav seminarGaurav seminar
Gaurav seminar
Akshay Malik
 
PPT_IIIT_IOT (informationof technology).pptx
PPT_IIIT_IOT (informationof technology).pptxPPT_IIIT_IOT (informationof technology).pptx
PPT_IIIT_IOT (informationof technology).pptx
Rizwan408930
 
Sensing & Actuation.pptx
Sensing & Actuation.pptxSensing & Actuation.pptx
Sensing & Actuation.pptx
taruian
 
Introduction to sensors & transducers by Bapi Kumar Das
Introduction to sensors & transducers by Bapi Kumar DasIntroduction to sensors & transducers by Bapi Kumar Das
Introduction to sensors & transducers by Bapi Kumar Das
B.k. Das
 
Sensors in IOT
Sensors in IOTSensors in IOT
Sensors in IOT
ATS SBGI MIRAJ
 
Robotics unit3 sensors
Robotics unit3 sensorsRobotics unit3 sensors
Robotics unit3 sensors
Janarthanan B
 
introduction to transducer
introduction to transducerintroduction to transducer
introduction to transducer
Yasir Hashmi
 
Emerging Trends in Sensor Application in Industrial Scenario.pptx
Emerging Trends in Sensor Application in Industrial Scenario.pptxEmerging Trends in Sensor Application in Industrial Scenario.pptx
Emerging Trends in Sensor Application in Industrial Scenario.pptx
BikashDas76792
 
IRJET - Prisoners Surveillance System
IRJET - Prisoners Surveillance SystemIRJET - Prisoners Surveillance System
IRJET - Prisoners Surveillance System
IRJET Journal
 
MBCPS 425_163_2122_22_26062022_679.pdf
MBCPS 425_163_2122_22_26062022_679.pdfMBCPS 425_163_2122_22_26062022_679.pdf
MBCPS 425_163_2122_22_26062022_679.pdf
JosephDanquah6
 
control lab 3.docx
control lab 3.docxcontrol lab 3.docx
control lab 3.docx
Mahamad Jawhar
 
Module 2.pptx
Module 2.pptxModule 2.pptx
Module 2.pptx
ssuserb7947f
 
Robotic Sensor
Robotic SensorRobotic Sensor
Robotic Sensor
Faisal Ahmed Bappi
 
roboticsunit3sensors and -201013084413.pptx
roboticsunit3sensors and -201013084413.pptxroboticsunit3sensors and -201013084413.pptx
roboticsunit3sensors and -201013084413.pptx
DrPArivalaganASSTPRO
 

Semelhante a Unit 3 Sensors and Actuators.pdf (20)

International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Sensors - Aniket.pptx
Sensors - Aniket.pptxSensors - Aniket.pptx
Sensors - Aniket.pptx
 
Proximity Sensors ppt.pptx
Proximity Sensors ppt.pptxProximity Sensors ppt.pptx
Proximity Sensors ppt.pptx
 
INTRODUCTION TO SENSORS - ARUN 9819110096
INTRODUCTION TO SENSORS - ARUN 9819110096INTRODUCTION TO SENSORS - ARUN 9819110096
INTRODUCTION TO SENSORS - ARUN 9819110096
 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdf
 
internet of things about sensors technology.pptx
internet of things about sensors technology.pptxinternet of things about sensors technology.pptx
internet of things about sensors technology.pptx
 
Gaurav seminar
Gaurav seminarGaurav seminar
Gaurav seminar
 
PPT_IIIT_IOT (informationof technology).pptx
PPT_IIIT_IOT (informationof technology).pptxPPT_IIIT_IOT (informationof technology).pptx
PPT_IIIT_IOT (informationof technology).pptx
 
Sensing & Actuation.pptx
Sensing & Actuation.pptxSensing & Actuation.pptx
Sensing & Actuation.pptx
 
Introduction to sensors & transducers by Bapi Kumar Das
Introduction to sensors & transducers by Bapi Kumar DasIntroduction to sensors & transducers by Bapi Kumar Das
Introduction to sensors & transducers by Bapi Kumar Das
 
Sensors in IOT
Sensors in IOTSensors in IOT
Sensors in IOT
 
Robotics unit3 sensors
Robotics unit3 sensorsRobotics unit3 sensors
Robotics unit3 sensors
 
introduction to transducer
introduction to transducerintroduction to transducer
introduction to transducer
 
Emerging Trends in Sensor Application in Industrial Scenario.pptx
Emerging Trends in Sensor Application in Industrial Scenario.pptxEmerging Trends in Sensor Application in Industrial Scenario.pptx
Emerging Trends in Sensor Application in Industrial Scenario.pptx
 
IRJET - Prisoners Surveillance System
IRJET - Prisoners Surveillance SystemIRJET - Prisoners Surveillance System
IRJET - Prisoners Surveillance System
 
MBCPS 425_163_2122_22_26062022_679.pdf
MBCPS 425_163_2122_22_26062022_679.pdfMBCPS 425_163_2122_22_26062022_679.pdf
MBCPS 425_163_2122_22_26062022_679.pdf
 
control lab 3.docx
control lab 3.docxcontrol lab 3.docx
control lab 3.docx
 
Module 2.pptx
Module 2.pptxModule 2.pptx
Module 2.pptx
 
Robotic Sensor
Robotic SensorRobotic Sensor
Robotic Sensor
 
roboticsunit3sensors and -201013084413.pptx
roboticsunit3sensors and -201013084413.pptxroboticsunit3sensors and -201013084413.pptx
roboticsunit3sensors and -201013084413.pptx
 

Último

Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 

Último (20)

Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 

Unit 3 Sensors and Actuators.pdf

  • 1. © Kalasalingam academy of research and education IoT – Sensors and Devices
  • 2. © Kalasalingam academy of research and education Course Outline IOT – SENSORS AND DEVICES CO2: Analyze the optimal usage of microcontroller. CO3: Demonstrate the usage of sensors and actuators for specific requirements CO4: Analyze the communication protocols for different devices and its applications. CO5: Inspect the various cloud services in alignment with the corresponding IoT devices. CO6: Work effectively in as team and individual in doing the experiments following the safety procedures and ethics and document effectively the experiments carried out in the laboratory. CO1: : Distinguish between the different concepts of IoT for its applications. Course description: To expose the students to the fundamental concepts of Microcontrollers and its interfacing, that will help them put a strong foundation for the implementation of Internet of things in real time.
  • 3. © Kalasalingam academy of research and education Unit-2: Sensors & Actuators Syllabus – Lecture contents ❖ Introduction to Sensors and Actuators and their types ❖ Overview of Sensors and Actuators working ❖ Specifications ❖ Temperature - Humidity ❖ Touch – Flex ❖ Pressure - Accelerometer / Gyroscope - proximity - IR - PIR ❖ Ultrasonic sensors - Relays - Solenoids - LCD ❖ Motor Drivers. Unit 3 Sensors & Actuators © Kalasalingam academy of research and education COURSENAME: IOT: SENSORS AND DEVICES
  • 4. © Kalasalingam academy of research and education Sensors ❖Sensor as an input device which provides an output (signal) with respect to a specific physical quantity (input). ❖The term “input device” in the definition of a Sensor means that it is part of a bigger system which provides input to a main control system (like a Processor or a Microcontroller). ❖Another unique definition : It is a device that converts signals from one energy domain to electrical domain. The definition of the Sensor can be better understood if we take an example into consideration. IOT – SENSORS AND DEVICES
  • 5. © Kalasalingam academy of research and education IOT – SENSORS AND DEVICES Sensor : Example ❖The simplest example of a sensor is an LDR or a Light Dependent Resistor. It is a device, whose resistance varies according to intensity of light it is subjected to. When the light falling on an LDR is more, its resistance becomes very less and when the light is less, well, the resistance of the LDR becomes very high. ❖When a light level of 1000 lux (bright light) is directed towards it, the resistance is 400R (ohms). ❖When a light level of 10 lux (very low light level) is directed towards it, the resistance has risen dramatically to 10.43M(10430000ohms).
  • 6. © Kalasalingam academy of research and education IOT – SENSORS AND DEVICES Sensor : Example Source : https://technologystudent.com/
  • 7. © Kalasalingam academy of research and education Actuators ❖An actuator is a device that produces a motion by converting energy and signals going into the system. The motion it produces can be either rotary or linear. ❖Electric linear actuators, as the name implies, produce linear motion. ❖This means that linear actuators can move forward or backwards on a set linear plane – a set distance they can travel in either direction before they must stop. ❖Rotary actuators on the other hand produce rotary motion, meaning that the actuator revolves on a circular plane. IOT – SENSORS AND DEVICES
  • 8. © Kalasalingam academy of research and education IOT – SENSORS AND DEVICES Actuator : Examples ❖electric motors ❖stepper motors ❖Jackscrews ❖electric muscular stimulators in robots, etc.
  • 9. © Kalasalingam academy of research and education IOT – SENSORS AND DEVICES Difference between Sensor & Actuator
  • 10. © Kalasalingam academy of research and education IOT – SENSORS AND DEVICES Difference between Sensor & Actuator
  • 11. © Kalasalingam academy of research and education Active and Passive Sensors IOT – SENSORS AND DEVICES
  • 12. © Kalasalingam academy of research and education IOT – SENSORS AND DEVICES Sensors Classifications ❖In the first classification of the sensors, they are divided in to Active and Passive. ❖Active Sensors, on the other hand, do not require any external power signal and directly generates output response. ❖Passive Sensors are those which require an external excitation signal or a power signal.
  • 13. © Kalasalingam academy of research and education IOT – SENSORS AND DEVICES Examples for Active and passive sensors Source : https://realpars.com/
  • 14. © Kalasalingam academy of research and education Sensor classifications IOT – SENSORS AND DEVICES
  • 15. © Kalasalingam academy of research and education Sensors Classifications ❖The other type of classification is based on the means of detection used in the sensor. ❖Some of the means of detection are Electric, Biological, Chemical, Radioactive etc. ❖The next classification is based on conversion phenomenon i.e., the input and the output. ❖Some of the common conversion phenomena are ✓Photoelectric, ✓Thermoelectric, ✓Electrochemical, ✓Electromagnetic, ✓Thermo-optic etc. IOT – SENSORS AND DEVICES
  • 16. © Kalasalingam academy of research and education Sensors Classifications ❖The final classification of the sensors are Analog and Digital Sensors. ❖Analog Sensors produce an analog output i.e., a continuous output signal (usually voltage but sometimes other quantities like Resistance etc.) with respect to the quantity being measured. ❖Digital Sensors, in contrast to Analog Sensors, work with discrete or digital data. ❖The data in digital sensors, which is used for conversion and transmission, is digital in nature. IOT – SENSORS AND DEVICES
  • 17. © Kalasalingam academy of research and education Different Types of Sensors ❖The following is a list of different types of sensors that are commonly used in various applications. All these sensors are used for measuring one of the physical properties like Temperature, Resistance, Capacitance, Conduction, Heat Transfer etc. Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES
  • 18. © Kalasalingam academy of research and education Temperature / Humidity Sensors IOT – SENSORS AND DEVICES
  • 19. © Kalasalingam academy of research and education Humidity - Sensor ❖The DHT-22 (also named as AM2302) is a digital-output, relative humidity, and temperature sensor. ❖It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and sends a digital signal on the data pin. IOT – SENSORS AND DEVICES
  • 20. © Kalasalingam academy of research and education Humidity - Sensor The ranges and accuracy of the DHT11 are: ❖ Humidity Range: 20-90% RH ❖ Humidity Accuracy: ±5% RH ❖ Temperature Range: 0-50 °C ❖ Temperature Accuracy: ±2% °C ❖ Operating Voltage: 3V to 5.5V Source: https://www.circuitbasics.com/// IOT – SENSORS AND DEVICES
  • 21. © Kalasalingam academy of research and education Humidity Sensor ❖All humidity sensors measure relative humidity (a ratio of water content in air to maximum potential of air to hold water). Since relative humidity is dependent on temperature of air, almost all Humidity Sensors can also measure Temperature. ❖Humidity Sensors are classified into Capacitive Type, Resistive Type and Thermal Conductive Type. DHT11 and DHT22 are two of the frequently used Humidity Sensors in DIY Community (the former is a resistive type while the latter is capacitive type). Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES
  • 22. © Kalasalingam academy of research and education Humidity - Sensor Source: https://create.arduino.cc/ IOT – SENSORS AND DEVICES
  • 23. © Kalasalingam academy of research and education Humidity - Sensor Technical Details: ❖Power − 3-5V ❖Max Current − 2.5mA ❖Humidity − 0-100%, 2-5% accuracy ❖Temperature − 40 to 80°C, ±0.5°C accuracy Source: https://www.tutorialspoint.com// IOT – SENSORS AND DEVICES
  • 24. © Kalasalingam academy of research and education Humidity – Sensor connection with Arduino Source: https://create.arduino.cc/ IOT – SENSORS AND DEVICES
  • 25. © Kalasalingam academy of research and education Humidity Sensor Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES
  • 26. © Kalasalingam academy of research and education Humidity Sensor HOW TO SET UP THE DHT11 ON AN ARDUINO? ❖Wiring the DHT11 to the Arduino is really easy, but the connections are different depending on which type you have. Source: https://www.circuitbasics.com/// IOT – SENSORS AND DEVICES
  • 27. © Kalasalingam academy of research and education Humidity DISPLAY HUMIDITY ON THE SERIAL MONITOR: ❖Before you can use the DHT11 on the Arduino, you’ll need to install the DHTLib library. ❖It has all the functions needed to get the humidity and temperature readings from the sensor. ❖It’s easy to install, just download the DHTLib.zip file below and open up the Arduino IDE. ❖Then go to Sketch>Include Library>Add .ZIP Library and select the DHTLib.zip file. IOT – SENSORS AND DEVICES
  • 28. © Kalasalingam academy of research and education Touch Sensor ❖Touch Sensors, as the name suggests, detect touch of a finger or a stylus. ❖Often touch sensors are classified into Resistive and Capacitive type. ❖ Almost all modern touch sensors are of Capacitive Types as they are more accurate and have better signal to noise ratio. Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES Source: http://www.touchsemi.com/
  • 29. © Kalasalingam academy of research and education COURSE NAME Flex Sensor ❖A flex sensor, also known as a bend sensor, is a low-cost, simple-to-use sensor used to measure the amount of deflection or bending. ❖It is used to measure joint movement, a door sensor, a bumper switch to detect walls, and a pressure sensor on robotic grippers. https://lastminuteengineers.com/flex-sensor
  • 30. © Kalasalingam academy of research and education COURSE NAME Flex Sensor ❖A flex sensor is basically a variable resistor, whose resistance varies when bent. Because the resistance is directly proportional to the amount of bending, it is often referred to as a Flexible Potentiometer. ❖Flex sensors are typically available in two sizes: 2.2′′ (5.588cm) long and 4.5′′ (11.43cm) long. ❖A conductive ink based flex sensor is made of a phenolic resin substrate onto which conductive ink is applied. A segmented conductor is then placed on top to create a flexible potentiometer.
  • 31. © Kalasalingam academy of research and education COURSE NAME How Do Flex Sensors Work? ❖The conductive ink on the sensor serves as a resistor. When the sensor is straight, this resistance is around 25k. ❖When the sensor is bent, the conductive layer is stretched, resulting in a reduced cross section (imagine stretching a rubber band) and increased resistance. At a 90° angle, this resistance is approximately 100K. ❖When the sensor is straightened out again, the resistance returns to its original value. By measuring the resistance, you can determine how much the sensor is bent.
  • 32. © Kalasalingam academy of research and education Light Sensor ❖Sometimes also known as Photo Sensors, Light Sensors are one of the important sensors. A simple Light Sensor available today is the Light Dependent Resistor or LDR. ❖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, its resistance decreases and vise-versa. ❖By using LDR is a circuit, we can calibrate the changes in its resistance to measure the intensity of Light. ❖There are two other Light Sensors (or Photo Sensors) which are often used in complex electronic system design. They are Photo Diode and Photo Transistor. All these are Analog Sensors. Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES
  • 33. © Kalasalingam academy of research and education Light Sensor ❖There are also Digital Light Sensors like BH1750, TSL2561, etc., which can calculate intensity of light and provide a digital equivalent value. IOT – SENSORS AND DEVICES Source :http://electronicsgurukulam.blogspot.com/
  • 34. © Kalasalingam academy of research and education Accelerometer IOT – SENSORS AND DEVICES
  • 35. © Kalasalingam academy of research and education Accelerometer ❖An accelerometer is an electronic sensor that measures the acceleration forces acting on an object, in order to determine the object’s position in space and monitor the object’s movement. ❖Acceleration, which is a vector quantity, is the rate of change of an object’s velocity. ❖(velocity being the displacement of the object divided by the change in time. ❖There are two types of acceleration forces: static forces and dynamic forces. IOT – SENSORS AND DEVICES
  • 36. © Kalasalingam academy of research and education Accelerometer ❖Static forces are forces that are constantly being applied to the object (such as friction or gravity). ❖Dynamic forces are “moving” forces applied to the object at various rates (such as vibration, or the force exerted on a cue ball in a game of pool). ❖This is why accelerometers are used in automobile collision safety systems, for example: ❖When a car is acted on by a powerful dynamic force, the accelerometer (sensing a rapid deceleration) sends an electronic signal to an embedded computer, which in turn deploys the airbags. IOT – SENSORS AND DEVICES
  • 37. © Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT Accelerometer ❑There are three different types of accelerometers, and they are each designed to efficiently function in their intended environments. The three types are: ❖A Piezoelectric accelerometer utilizes the piezoelectric effect (piezoelectric materials produce electricity when put under physical stress) to sense change in acceleration. Piezoelectric accelerometers are most commonly used in vibration and shock measurement. ❖Piezoresistance accelerometers are much less sensitive than piezoelectric accelerometers, and they are better suited to vehicle crash testing. A piezoresistance accelerometer increases its resistance in proportion to the amount of pressure applied to it. ❖Capacitive accelerometers use change in electrical capacitance to determine an object’s acceleration. When the sensor undergoes acceleration, the distance between its capacitor plates changes as the diaphragm of the sensor moves.
  • 38. © Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT Accelerometer – Example- ADXL335 Source : https://www.javatpoint.com/arduino-accelerometer
  • 39. © Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT Accelerometer : ADXL335 Connection Diagram to Arduino Source : https://www.javatpoint.com/arduino-accelerometer
  • 40. © Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT Accelerometer : ADXL335 Connection to Arduino Connections: ❖ Accelerometer X to Pin A3 of Arduino ❖ Accelerometer y to Pin A2 of Arduino ❖ Accelerometer Z to Pin A1 of Arduino ❖ Accelerometer VCC to Pin A5 of Arduino ❖ Accelerometer GND to Pin A4 of Arduino ❖ Accelerometer ST to Pin A0 of Arduino
  • 41. © Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT Accelerometer : ADXL335 Connection to Arduino Source : https://circuitdigest.com/
  • 42. © Kalasalingam academy of research and education COURSE NAME : INTRODUCTION TO IOT Accelerometer - Applications Applications: ❖Detection of Earthquake. ❖For the protection of hard drive of the laptop. ❖Uphill movement of the object. ❖Any customized project.
  • 43. © Kalasalingam academy of research and education Gyroscope IOT – SENSORS AND DEVICES
  • 44. © Kalasalingam academy of research and education Gyroscope - Sensor What is a gyroscope sensor? ❖The gyroscope measures rotational velocity or rate of change of the angular position over time, along the X, Y and Z axis. ❖The outputs of the gyroscope are in degrees per second, so in order to get the angular position, we just need to integrate the angular velocity. ❖Briefly, it can measure gravitational acceleration along the 3 axes and using some trigonometry math we can calculate the angle at which the sensor is positioned IOT – SENSORS AND DEVICES
  • 45. © Kalasalingam academy of research and education Gyroscope - Sensor How does an Arduino gyroscope sensor work? ❖The accelerometer measures the acceleration along one direction, while the gyroscope measures the angular acceleration on one axis. ❖The analogic pins are not set on INPUT because it's their default setting. ❖The values read by the analogic pins will be sent to the serial port. ❖Open the Serial Monitor, move the sensor and try to see how the values change. ❖Accelerometers can be used for fun projects, for example, to realize a game controller. IOT – SENSORS AND DEVICES
  • 46. © Kalasalingam academy of research and education Gyroscope - Sensor How to use an Arduino Gyroscope sensor? ❖To operate with a gyroscope sensor, you need to connect four wires to your Arduino. ❖You need wires to be connected to the ground (Gnd) from the gyroscope's Gnd pin and a second wire from the VCC pin of the gyroscope to the 5v pin of the Arduino. ❖Then, you need another two wires to be connected to two analog inputs of the Arduino. ❖The first one of these wires goes from the SCL pin of the gyroscope, and the second wire goes from the gyroscope's SDA pin. IOT – SENSORS AND DEVICES
  • 47. © Kalasalingam academy of research and education Gyroscope – Arduino Connection IOT – SENSORS AND DEVICES Source : https://www.circuitstoday.com/
  • 48. © Kalasalingam academy of research and education Gyroscope – GY521 Module IOT – SENSORS AND DEVICES ❖ It is a 3- axis gyroscope and accelerometer module . ❖ It has six built in 16- bit ADC channels, 3 for the gyroscope outputs and 3 for the accelerometer outputs. ❖ It communicates using the I2C protocol. ❖ Operating voltage is from 2.37v to 3.46V. ❖ A low drop out regulator is provided with the GY521 board for providing this voltage.
  • 49. © Kalasalingam academy of research and education Gyroscope – GY521 Module IOT – SENSORS AND DEVICES Source : https://www.circuitstoday.com/
  • 50. © Kalasalingam academy of research and education Gyroscope – Sensor- Interfacing with Arduino Source: https://www.ozeki.hu/ IOT – SENSORS AND DEVICES
  • 51. © Kalasalingam academy of research and education Proximity Sensor (IR Sensor) ❖A Proximity Sensor is a non-contact type sensor that detects the presence of an object. Proximity Sensors can be implemented using different techniques like Optical (like Infrared or Laser), Sound (Ultrasonic), Magnetic (Hall Effect), Capacitive, etc. ❖Some of the applications of Proximity Sensors are ❖Mobile Phones, Cars (Parking Sensors), ❖ industries (object alignment), ❖Ground Proximity in Aircrafts, etc. IOT – SENSORS AND DEVICES
  • 52. © Kalasalingam academy of research and education Proximity Sensor (IR Sensor) Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES • A Proximity Sensor is a non-contact type sensor that detects the presence of an object. Proximity Sensors can be implemented using different techniques like Optical (like Infrared or Laser), Sound (Ultrasonic), Magnetic (Hall Effect), Capacitive, etc. • Some of the applications of Proximity Sensors are Mobile Phones, Cars (Parking Sensors), industries (object alignment), Ground Proximity in Aircrafts, etc.
  • 53. © Kalasalingam academy of research and education Proximity Sensor (IR Sensor) Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES
  • 54. © Kalasalingam academy of research and education Proximity Sensor IOT – SENSORS AND DEVICES
  • 55. © Kalasalingam academy of research and education Proximity Sensor (IR Sensor) Source: https://www.smlease.com/ IOT – SENSORS AND DEVICES
  • 56. © Kalasalingam academy of research and education Infrared Sensor (IR Sensor) ❖There are two types of Infrared or IR Sensors: Transmissive Type and Reflective Type. ❖In Transmissive Type IR Sensor, the IR Transmitter (usually an IR LED) and the IR Detector (usually a Photo Diode) are positioned facing each other so that when an object passes between them, the sensor detects the object. Source: https://instrumentationtools.com/ IOT – SENSORS AND DEVICES
  • 57. © Kalasalingam academy of research and education Infrared Sensor (IR Sensor) ❖The other type of IR Sensor is a Reflective Type IR Sensor. In this, the transmitter and the detector are positioned adjacent to each other facing the object. ❖When an object comes in front of the sensor, the infrared light from the IR Transmitter is reflected from the object and is detected by the IR Receiver and thus the sensor detects the object. Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES
  • 58. © Kalasalingam academy of research and education Infrared Sensor (IR Sensor) IOT – SENSORS AND DEVICES Source: https://www.keyence.com/
  • 59. © Kalasalingam academy of research and education Ultrasonic sensor IOT – SENSORS AND DEVICES
  • 60. © Kalasalingam academy of research and education Ultrasonic Sensor ❖An Ultrasonic Sensor is a non-contact type device that can be used to measure distance as well as velocity of an object. ❖An Ultrasonic Sensor works based on the properties of the sound waves with frequency greater than that of the human audible range. ❖Using the time of flight of the sound wave, an Ultrasonic Sensor can measure the distance of the object (similar to SONAR). ❖The Doppler Shift property of the sound wave is used to measure the velocity of an object. Source: https://www.electronicshub.org/
  • 61. © Kalasalingam academy of research and education COURSE NAME Ultrasonic Sensor : Example Source: https://www.electronicshub.org/
  • 62. © Kalasalingam academy of research and education Relays COURSE NAME : IOT – SENSORS AND DEVICES
  • 63. © Kalasalingam academy of research and education Relay IOT – SENSORS AND DEVICES ❖ Whenever we need to connect any AC Appliance in our embedded circuits, we use a Relay. ❖ Here we are not using any Relay Driver IC like ULN2003 and will only use an NPN transistor to control relay. ❖ Relay is an electromagnetic switch, which is controlled by small current, and used to switch ON and OFF relatively much larger current. ❖ Means by applying small current we can switch ON the relay which allows much larger current to flow. ❖ A relay is a good example of controlling the AC (alternate current) devices, using a much smaller DC current.
  • 64. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES Commonly used Relay is Single Pole Double Throw (SPDT) Relay, it has five terminals as below:
  • 65. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES ❖ When there is no voltage applied to the coil, COM (common) is connected to NC (normally closed contact). ❖ When there is some voltage applied to the coil, the electromagnetic field produced, which attracts the Armature (lever connected to spring), and COM and NO (normally open contact) gets connected, which allow a larger current to flow. ❖ Relays are available in many ratings, here we used 6V operating voltage relay, which allows 7A-250VAC current to flow. ❖ The relay is always configured by using a small Driver circuit which consists a Transistor, Diode and a resistor. ❖ Transistor is used to amplify the current so that full current (from the DC source – 9v battery) can flow through a coil to fully energies it. ❖ The resistor is used to provide biasing to the transistor. ❖ And Diode is used to prevent reverse current flow, when the transistor is switched OFF.
  • 66. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES ❖ Every Inductor coil produces equal and opposite EMF when switched OFF suddenly, this may cause permanent damage to components, so Diode must be used to prevent reverse current. ❖ A Relay module is easily available in the market with all its Driver circuit on the board or you can create it on perf board or PCB like below. ❖ Here we have used 6V Relay module.
  • 67. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES ❖ Here to turn on the Relay with Arduino we just need to make that Arduino Pin High (A0 in our case) where Relay module is connected. ❖ Below given is Relay Driver Circuit to build your own Relay module:
  • 68. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES
  • 69. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES Arduino Relay Control Code #define relay A0 #define interval 1000 void setup() { pinMode(relay, OUTPUT); } void loop() { digitalWrite(relay, HIGH); delay(interval); digitalWrite(relay, LOW); delay(interval); }
  • 70. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES ❖ Controlling a relay module with the Arduino is as simple as controlling any other output. ❖ This relay module has two channels (those blue cubes). ❖ There are other models with one, four and eight channels. ❖ This module should be powered with 5V, which is appropriate to use with an Arduino. ❖ There are other relay modules that are powered using 3.3V, which is ideal for ESP32, ESP8266, and other microcontrollers.
  • 71. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES ❖ The six pins on the left side of the relay module connect high voltage, and the pins on the right side connect the component that requires low voltage—the Arduino pins.
  • 72. © Kalasalingam academy of research and education Interfacing of Relay IOT – SENSORS AND DEVICES ❖ The high-voltage side has two connectors, each with three sockets: common (COM), normally closed (NC), and normally open (NO). ❖ COM: common pin ❖ NC (Normally Closed): the normally closed configuration is used when you want the relay to be closed by default, meaning the current is flowing unless you send a signal from the Arduino to the relay module to open the circuit and stop the current. ❖ NO (Normally Open): the normally open configuration works the other way around: the relay is always open, so the circuit is broken unless you send a signal from the Arduino to close the circuit. ❖ If you just want to light up a lamp occasionally, it is better to use a normally- open circuit configuration.
  • 73. © Kalasalingam academy of research and education COURSE NAME Solenoids ❖It uses electromagnetism to convert electrical energy into mechanical motion. ❖The pulling and pushing strength is determined by the number of turns on the coil.
  • 74. © Kalasalingam academy of research and education COURSE NAME LCD (Liquid Crystal Display) ❖It is a thin display device that offers support for large resolutions and better picture quality. ❖An LCD contains a backlight rather than the firing electrons at a glass screen, which offers light to individual pixels arranged in a rectangular grid. ❖As compared to CRT technology, LCD consumes much less power and allows displays to be much thinner that also makes them very less heavy. ❖Instead of emitting light, LCDs work on the principle of blocking light.
  • 75. © Kalasalingam academy of research and education COURSE NAME LCD (Liquid Crystal Display) Advantages of LCD ❖Takes less Space ❖Low Power Consumption ❖Sufficient Brightness in low lit areas ❖Low Screen Flickering rate Disadvantages of LCD ❖Expensive for their size ❖Inconsistent Interfacing ❖Small viewing Angle ❖Limited brightness ❖Poor reproduction of blacks https://www.javatpoint.com/what-is-lcd
  • 76. © Kalasalingam academy of research and education COURSE NAME Motor Drivers (L298N) We can only have full control over a DC motor if we can control its speed and spinning direction. This is possible by combining these two techniques. ➢PWM – to control speed ➢H-Bridge – to control the spinning direction
  • 77. © Kalasalingam academy of research and education COURSE NAME Motor Drivers (L298N) H-Bridge – to control the spinning direction ❖The spinning direction of a DC motor can be controlled by changing the polarity of its input voltage. ❖An H-bridge circuit is made up of four switches arranged in a H shape, with the motor in the center. ❖Closing two specific switches at the same time reverses the polarity of the voltage applied to the motor. This causes a change in the spinning direction of the motor.
  • 78. © Kalasalingam academy of research and education COURSE NAME L298N Motor Driver Module https://lastminuteengineers.com/l298n-dc-stepper-driver-arduino-tutorial/
  • 79. © Kalasalingam academy of research and education Other Sensors COURSE NAME : IOT – SENSORS AND DEVICES
  • 80. © Kalasalingam academy of research and education Smoke and Gas Sensors ❖One of the very useful sensors in safety related applications are Smoke and Gas Sensors. Almost all offices and industries are equipped with several smoke detectors, which detect any smoke (due to fire) and sound an alarm. ❖Gas Sensors are more common in laboratories, large scale kitchens and industries. They can detect different gases like LPG, Propane, Butane, Methane (CH4), etc. ❖Now-a-days, smoke sensors (which often can detect smoke as well as gas) are also installed in most homes as a safety measure. ❖The “MQ” series of sensors are a bunch of cheap sensors for detecting CO, CO2, CH4, Alcohol, Propane, Butane, LPG etc. You can use these sensors to build your own Smoke Sensor Application. Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES
  • 81. © Kalasalingam academy of research and education Smoke and Gas Sensors Source: https://create.arduino.cc/ IOT – SENSORS AND DEVICES
  • 82. © Kalasalingam academy of research and education Alcohol Sensor ❖As the name suggests, an Alcohol Sensor detects alcohol. Usually, alcohol sensors are used in breathalyzer devices, which determine whether a person is drunk or not. ❖Law enforcement personnel uses breathalyzers to catch drunk- and-drive culprits. Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES Source : https://lastminuteengineers.com/
  • 83. © Kalasalingam academy of research and education Color Sensor ❖A Color Sensor is an useful device in building color sensing applications in the field of image processing, color identification, industrial object tracking etc. ❖ The TCS3200 is a simple Color Sensor, which can detect any color and output a square wave proportional to the wavelength of the detected color. Source: https://www.electronicshub.org/
  • 84. © Kalasalingam academy of research and education Tilt Sensor ❖Often used to detect inclination or orientation, Tilt Sensors are one of the simplest and inexpensive sensors out there. ❖Previously, tilt sensors are made up of Mercury (and hence they are sometimes called as Mercury Switches) but most modern tilt sensors contain a roller ball. Source: https://www.electronicshub.org/ IOT – SENSORS AND DEVICES Source: https://instrumentationtools.com/
  • 85. © Kalasalingam academy of research and education Thank You! Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna. IOT – SENSORS AND DEVICES