SlideShare a Scribd company logo
1 of 15
What are sensors???
A device which provides a usable output in response to
a specified measurand.
A sensor acquires a physical parameter
and converts it into a signal suitable for
processing (e.g. optical, electrical,
mechanical).
Real
world
Senso
r
Intelligent
system
Working:
Physical quantity
Electrical Signals
Microcontroller
Need for Sensors
 Sensors are omnipresent. They embedded
in our bodies, automobiles, airplanes,
cellular telephones, radios, chemical plants,
industrial plants and countless other
applications.
 Without the use of sensors, there would be
no automation !!
Criteria to choose a sensor:
1.Accuracy
2.Environmental Condition
3.Range
4.Resolution
5.Cost
6.Sensitivity
7.Availability
8.Lifetime
Types of Robotics sensors:
1. Environment sensors
2. Motion sensors
3. Touch sensors
4. Proximity sensors
5. IR sensors
Environmental sensors:
1.Temperature Sensors:
Temperature sensors appear in building, chemical
process plants, engines, appliances, computers, and many
other devices that require temperature monitoring
2.Pressure Sensors:
A pressure sensor measures pressure, typically of gases
or liquids.
3.Humidity Sensors:
Humidity sensing is very important in control systems
for industrial processes and human comfort.
Circuit diagram of IR sersor:
I R led
Photodiode
I R SENSOR
-
OPAMP
POT
GND
TO
MICROCONTROLLER
PIN
(LOGIC1)
1
+
vcc
Black line
I R led Photodiode
I R SENSOR
-
OPAMP
POT
GND
0
+
White line line
TO
MICROCONTROLLER
PIN
(LOGIC 0)
vcc
Instructions
 bit_is_set(PINx , Pin no.);
 bit_is_clear(PINx , Pin no.);
 Header File:
compat/deprecated.h
Before going into programming mode
lets learn to interface SWITCH :
 Instructions :
1. sbi(PORTX , Pin no.);
2. cbi(PORTX , Pin no.);
Ex : sbi ( PORTD, 7);
cbi ( PORTD, 7);
1. bit_is_set(PINX ,Pin no.);
2. bit_is_clear(PINX ,Pin no.);
Ex: bit_is_set(PIND,2);
bit_is_clear(PIND,2);
VCC
D2
VCC
Program:
 #define F_CPU 16000000
 #include <avr/io.h>
 #include <util/delay.h>
 #include<compat/deprecated.h>
int main(void)
 {
 DDRD=0b11110000;
 PORTD=0b00001111;
 while(1)
 {
 if(bit_is_clear(PIND,2))
 sbi(PORTD,6);
else
if(bit_is_clear(PIND,3))
sbi(PORTD,7);
else
cbi(PORTD,6);
cbi(PORTD,7);
}
}
else if(bit_is_clear(PIND,3))
sbi(PORTD,7);
else
cbi(PORTD,6);
cbi(PORTD,7);
}
}

More Related Content

What's hot

Working Principals of Various Sensors
Working Principals of Various SensorsWorking Principals of Various Sensors
Working Principals of Various SensorsMuhammad Irtiza
 
All Types of sensor in power point presentation
All Types of sensor in power point presentation All Types of sensor in power point presentation
All Types of sensor in power point presentation karansansare
 
Sensors and their applications
Sensors and their applicationsSensors and their applications
Sensors and their applicationsnitigga92
 
Basic electronics final presentation
Basic electronics final presentationBasic electronics final presentation
Basic electronics final presentationVijendrasingh Rathor
 
Temperature Sensors – Types
Temperature Sensors – TypesTemperature Sensors – Types
Temperature Sensors – Typeselprocus
 
Basic electronics for technicians
Basic electronics for techniciansBasic electronics for technicians
Basic electronics for techniciansEmmanuel Kajange
 
Electronic Measurement - Insulation Resistance Measurement - Megger
Electronic Measurement - Insulation Resistance Measurement - MeggerElectronic Measurement - Insulation Resistance Measurement - Megger
Electronic Measurement - Insulation Resistance Measurement - MeggerBurdwan University
 
UNIT II - MOTION, PROXIMITY AND RANGING SENSORS
UNIT II - MOTION, PROXIMITY AND RANGING SENSORSUNIT II - MOTION, PROXIMITY AND RANGING SENSORS
UNIT II - MOTION, PROXIMITY AND RANGING SENSORSA R SIVANESH M.E., (Ph.D)
 
Input - Output Devices for PLC
Input - Output Devices for PLCInput - Output Devices for PLC
Input - Output Devices for PLCArko Saha
 
Analog and Digital Multimeters
Analog and Digital MultimetersAnalog and Digital Multimeters
Analog and Digital MultimetersDinesh Sharma
 
Basic electronics component
Basic electronics componentBasic electronics component
Basic electronics componentABHISHEK MAURYA
 
Presentation by ICA on limit switches and proximity sensors.pptx
Presentation by ICA on limit switches and proximity sensors.pptxPresentation by ICA on limit switches and proximity sensors.pptx
Presentation by ICA on limit switches and proximity sensors.pptxMmekaJoshua
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlleDharmaraj Morle
 
Electrical measuring instruments
Electrical measuring instrumentsElectrical measuring instruments
Electrical measuring instrumentsSuhail Ahmed
 

What's hot (20)

Working Principals of Various Sensors
Working Principals of Various SensorsWorking Principals of Various Sensors
Working Principals of Various Sensors
 
Multimeter basics
Multimeter   basicsMultimeter   basics
Multimeter basics
 
Electronic Measurement and Instrumentation
Electronic Measurement and InstrumentationElectronic Measurement and Instrumentation
Electronic Measurement and Instrumentation
 
All Types of sensor in power point presentation
All Types of sensor in power point presentation All Types of sensor in power point presentation
All Types of sensor in power point presentation
 
RTD
RTDRTD
RTD
 
Sensors and their applications
Sensors and their applicationsSensors and their applications
Sensors and their applications
 
Basic electronics final presentation
Basic electronics final presentationBasic electronics final presentation
Basic electronics final presentation
 
Sensors and transducers.
Sensors and transducers.Sensors and transducers.
Sensors and transducers.
 
Temperature Sensors – Types
Temperature Sensors – TypesTemperature Sensors – Types
Temperature Sensors – Types
 
Types of sensors
Types of sensorsTypes of sensors
Types of sensors
 
Basic electronics for technicians
Basic electronics for techniciansBasic electronics for technicians
Basic electronics for technicians
 
Electronic Measurement - Insulation Resistance Measurement - Megger
Electronic Measurement - Insulation Resistance Measurement - MeggerElectronic Measurement - Insulation Resistance Measurement - Megger
Electronic Measurement - Insulation Resistance Measurement - Megger
 
UNIT II - MOTION, PROXIMITY AND RANGING SENSORS
UNIT II - MOTION, PROXIMITY AND RANGING SENSORSUNIT II - MOTION, PROXIMITY AND RANGING SENSORS
UNIT II - MOTION, PROXIMITY AND RANGING SENSORS
 
Input - Output Devices for PLC
Input - Output Devices for PLCInput - Output Devices for PLC
Input - Output Devices for PLC
 
Analog and Digital Multimeters
Analog and Digital MultimetersAnalog and Digital Multimeters
Analog and Digital Multimeters
 
Megger
MeggerMegger
Megger
 
Basic electronics component
Basic electronics componentBasic electronics component
Basic electronics component
 
Presentation by ICA on limit switches and proximity sensors.pptx
Presentation by ICA on limit switches and proximity sensors.pptxPresentation by ICA on limit switches and proximity sensors.pptx
Presentation by ICA on limit switches and proximity sensors.pptx
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlle
 
Electrical measuring instruments
Electrical measuring instrumentsElectrical measuring instruments
Electrical measuring instruments
 

Similar to Sensors and Switches

VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003Journal For Research
 
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 DevelopmentIJERD Editor
 
What is sensor and what are the types of sensor?
What is sensor and what are the types of sensor?What is sensor and what are the types of sensor?
What is sensor and what are the types of sensor?Sage Automation
 
What is Sensor and what arethe types of Sensor?
What is Sensor and what arethe types of Sensor?What is Sensor and what arethe types of Sensor?
What is Sensor and what arethe types of Sensor?Sage Automation
 
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.pptxBikashDas76792
 
What is Sensor and what are types of Sensor?
What is Sensor and what are types of Sensor?What is Sensor and what are types of Sensor?
What is Sensor and what are types of Sensor?Justengg1
 
What is sensor and what are the types of sensor?
What is sensor and what are the types of sensor?What is sensor and what are the types of sensor?
What is sensor and what are the types of sensor?Justengg1
 
Vehicle Sensor Technology Presentation
Vehicle Sensor Technology PresentationVehicle Sensor Technology Presentation
Vehicle Sensor Technology PresentationSouravPadhi5
 
SENSORS A DISCUSSION
SENSORS A DISCUSSIONSENSORS A DISCUSSION
SENSORS A DISCUSSIONPraveen Kumar
 
Sensors.pptx
Sensors.pptxSensors.pptx
Sensors.pptxRoky002
 
AUTOMATION SENSORY DEVICES-group 5.pptx
AUTOMATION SENSORY DEVICES-group 5.pptxAUTOMATION SENSORY DEVICES-group 5.pptx
AUTOMATION SENSORY DEVICES-group 5.pptxGelmelinaLeaLepitenH
 
Robotics unit3 sensors
Robotics unit3 sensorsRobotics unit3 sensors
Robotics unit3 sensorsJanarthanan B
 
Presentation on type of sensor in electronics
Presentation on type of sensor in electronicsPresentation on type of sensor in electronics
Presentation on type of sensor in electronicsrishuuuu26
 
Sensor Transmitter & Its types 22.pptx
Sensor Transmitter & Its types  22.pptxSensor Transmitter & Its types  22.pptx
Sensor Transmitter & Its types 22.pptxAshwin180668
 

Similar to Sensors and Switches (20)

VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
VARIOUS SENSOR USED IN ROBOTICS WITH APPLICATIONS | J4RV3I12003
 
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
 
Basic Sensors Technology
Basic Sensors TechnologyBasic Sensors Technology
Basic Sensors Technology
 
What is sensor and what are the types of sensor?
What is sensor and what are the types of sensor?What is sensor and what are the types of sensor?
What is sensor and what are the types of sensor?
 
What is Sensor and what arethe types of Sensor?
What is Sensor and what arethe types of Sensor?What is Sensor and what arethe types of Sensor?
What is Sensor and what arethe types of Sensor?
 
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
 
What is Sensor and what are types of Sensor?
What is Sensor and what are types of Sensor?What is Sensor and what are types of Sensor?
What is Sensor and what are types of Sensor?
 
What is sensor and what are the types of sensor?
What is sensor and what are the types of sensor?What is sensor and what are the types of sensor?
What is sensor and what are the types of sensor?
 
Vehicle Sensor Technology Presentation
Vehicle Sensor Technology PresentationVehicle Sensor Technology Presentation
Vehicle Sensor Technology Presentation
 
SENSORS A DISCUSSION
SENSORS A DISCUSSIONSENSORS A DISCUSSION
SENSORS A DISCUSSION
 
Sensors in IOT
Sensors in IOTSensors in IOT
Sensors in IOT
 
Sensors.pptx
Sensors.pptxSensors.pptx
Sensors.pptx
 
AUTOMATION SENSORY DEVICES-group 5.pptx
AUTOMATION SENSORY DEVICES-group 5.pptxAUTOMATION SENSORY DEVICES-group 5.pptx
AUTOMATION SENSORY DEVICES-group 5.pptx
 
control lab 3.docx
control lab 3.docxcontrol lab 3.docx
control lab 3.docx
 
Sensors
SensorsSensors
Sensors
 
Robotics unit3 sensors
Robotics unit3 sensorsRobotics unit3 sensors
Robotics unit3 sensors
 
Presentation on type of sensor in electronics
Presentation on type of sensor in electronicsPresentation on type of sensor in electronics
Presentation on type of sensor in electronics
 
MEC_UNIT1.pptx
MEC_UNIT1.pptxMEC_UNIT1.pptx
MEC_UNIT1.pptx
 
Sensors
SensorsSensors
Sensors
 
Sensor Transmitter & Its types 22.pptx
Sensor Transmitter & Its types  22.pptxSensor Transmitter & Its types  22.pptx
Sensor Transmitter & Its types 22.pptx
 

More from Varad Manglekar

Basic concepts of practical electronics
Basic concepts of practical electronicsBasic concepts of practical electronics
Basic concepts of practical electronicsVarad Manglekar
 
Introduction to Embedded System
Introduction to Embedded System Introduction to Embedded System
Introduction to Embedded System Varad Manglekar
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systemsVarad Manglekar
 
Basic components in Embedded System
Basic components in Embedded SystemBasic components in Embedded System
Basic components in Embedded SystemVarad Manglekar
 
Controlling Motors for Robot
Controlling Motors for RobotControlling Motors for Robot
Controlling Motors for RobotVarad Manglekar
 
Basic interfacing of LEDs
Basic interfacing of LEDsBasic interfacing of LEDs
Basic interfacing of LEDsVarad Manglekar
 

More from Varad Manglekar (10)

Cross Helmet
Cross HelmetCross Helmet
Cross Helmet
 
Basic concepts of practical electronics
Basic concepts of practical electronicsBasic concepts of practical electronics
Basic concepts of practical electronics
 
Motors
MotorsMotors
Motors
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Introduction to Embedded System
Introduction to Embedded System Introduction to Embedded System
Introduction to Embedded System
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systems
 
Basic components in Embedded System
Basic components in Embedded SystemBasic components in Embedded System
Basic components in Embedded System
 
simple ADC Interfacing
simple ADC Interfacingsimple ADC Interfacing
simple ADC Interfacing
 
Controlling Motors for Robot
Controlling Motors for RobotControlling Motors for Robot
Controlling Motors for Robot
 
Basic interfacing of LEDs
Basic interfacing of LEDsBasic interfacing of LEDs
Basic interfacing of LEDs
 

Recently uploaded

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 

Sensors and Switches

  • 1.
  • 2. What are sensors??? A device which provides a usable output in response to a specified measurand. A sensor acquires a physical parameter and converts it into a signal suitable for processing (e.g. optical, electrical, mechanical). Real world Senso r Intelligent system
  • 4. Need for Sensors  Sensors are omnipresent. They embedded in our bodies, automobiles, airplanes, cellular telephones, radios, chemical plants, industrial plants and countless other applications.  Without the use of sensors, there would be no automation !!
  • 5. Criteria to choose a sensor: 1.Accuracy 2.Environmental Condition 3.Range 4.Resolution 5.Cost 6.Sensitivity 7.Availability 8.Lifetime
  • 6. Types of Robotics sensors: 1. Environment sensors 2. Motion sensors 3. Touch sensors 4. Proximity sensors 5. IR sensors
  • 7. Environmental sensors: 1.Temperature Sensors: Temperature sensors appear in building, chemical process plants, engines, appliances, computers, and many other devices that require temperature monitoring 2.Pressure Sensors: A pressure sensor measures pressure, typically of gases or liquids. 3.Humidity Sensors: Humidity sensing is very important in control systems for industrial processes and human comfort.
  • 8. Circuit diagram of IR sersor:
  • 9. I R led Photodiode I R SENSOR - OPAMP POT GND TO MICROCONTROLLER PIN (LOGIC1) 1 + vcc Black line
  • 10. I R led Photodiode I R SENSOR - OPAMP POT GND 0 + White line line TO MICROCONTROLLER PIN (LOGIC 0) vcc
  • 11. Instructions  bit_is_set(PINx , Pin no.);  bit_is_clear(PINx , Pin no.);  Header File: compat/deprecated.h
  • 12.
  • 13. Before going into programming mode lets learn to interface SWITCH :  Instructions : 1. sbi(PORTX , Pin no.); 2. cbi(PORTX , Pin no.); Ex : sbi ( PORTD, 7); cbi ( PORTD, 7); 1. bit_is_set(PINX ,Pin no.); 2. bit_is_clear(PINX ,Pin no.); Ex: bit_is_set(PIND,2); bit_is_clear(PIND,2); VCC D2 VCC
  • 14. Program:  #define F_CPU 16000000  #include <avr/io.h>  #include <util/delay.h>  #include<compat/deprecated.h> int main(void)  {  DDRD=0b11110000;  PORTD=0b00001111;  while(1)  {  if(bit_is_clear(PIND,2))  sbi(PORTD,6); else if(bit_is_clear(PIND,3)) sbi(PORTD,7); else cbi(PORTD,6); cbi(PORTD,7); } }