Home
Explore
Submit Search
Upload
Login
Signup
Advertisement
Lecture 4 - Sensors and Peripherals
Report
Alexandru Radovici
Follow
Jan. 24, 2018
•
0 likes
1 likes
×
Be the first to like this
Show More
•
4,459 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Check these out next
Home Automation Using IoT
Ashutosh Kumar
Temperature Sensor
EnricVentosa
Smart door lock
aswin5432
Humidity and Temperature Measurement Using Arduino
dollonhaider
Fire Alarm System Project
RinkuNahar
Home Automation using Internet of Things | IOT Project
Nagendra Chaudhary
Arduino Thermometer
Mahmoud Salheen
Oop2018 tutorial-stal-mo2-io t-arduino-en
Michael Stal
1
of
33
Top clipped slide
Lecture 4 - Sensors and Peripherals
Jan. 24, 2018
•
0 likes
1 likes
×
Be the first to like this
Show More
•
4,459 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Download Now
Download to read offline
Report
Education
Sensors and actuators that are used in the field of Internet of Things. Analog and digital sensors.
Alexandru Radovici
Follow
Advertisement
Advertisement
Advertisement
Recommended
Sensors and Peripherals
Alexandru Radovici
1.9K views
•
36 slides
Lecture 2 - Electronics for the Internet of Things
Alexandru Radovici
6.2K views
•
37 slides
Electronics for the Internet of Things
Alexandru Radovici
2.3K views
•
36 slides
DHT11 with Arduino
yeokm1
3.4K views
•
7 slides
DHT11 Digital Temperature and Humidity Sensor
Raghav Shetty
7.9K views
•
14 slides
Final Presentation - Edan&Itzik
itzik cohen
260 views
•
23 slides
More Related Content
Slideshows for you
(20)
Home Automation Using IoT
Ashutosh Kumar
•
601 views
Temperature Sensor
EnricVentosa
•
1K views
Smart door lock
aswin5432
•
27.1K views
Humidity and Temperature Measurement Using Arduino
dollonhaider
•
6.3K views
Fire Alarm System Project
RinkuNahar
•
1.1K views
Home Automation using Internet of Things | IOT Project
Nagendra Chaudhary
•
7.1K views
Arduino Thermometer
Mahmoud Salheen
•
914 views
Oop2018 tutorial-stal-mo2-io t-arduino-en
Michael Stal
•
560 views
Victim tracker ppt
Ritika Garg
•
160 views
Smart Digital Door Lock
shakil2604
•
4.7K views
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ajit kumar singh
•
3.5K views
Es project sensor
Waed Shagareen
•
431 views
Automatic Room Light Controller Using Arduinom & PIR Sensor
Ankit Chaudhary
•
5.2K views
CCTV INSTALLATIONS CHICAGO
Ramesh Garg
•
1.5K views
Automatic Room Lights Controller Using Arduino & PIR Sensor
Ankit Chaudhary
•
14.3K views
Smart Lock Systems
Priyanka Botny
•
2.8K views
Traffic Congestion using IOT
SayantanGhosh58
•
62 views
Presentation group 1
anteneh nebyu
•
1.2K views
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ajit kumar singh
•
4K views
MIT App Inventor + Arduino + Bluetooth
mike parks
•
21.4K views
Similar to Lecture 4 - Sensors and Peripherals
(20)
MP PPT.pdf
SachinNagavath
•
5 views
ECT 363 Project 1 Dr. Alaa Al GhazoSamuel I. Ward Dep.docx
budabrooks46239
•
2 views
Remote ashok
Ashokkumar sekar
•
155 views
Hướng dẫn sử dụng máy đo tốc độ gió, nhiệt độ Extech 407123
Tenmars Việt Nam
•
61 views
weather monitoiring system.pptx
PranayBathini1
•
184 views
Automatic room temperature controlled fan using arduino uno microcontroller
Mohammod Al Emran
•
19.7K views
Lab2ppt
Zhentao Xu
•
610 views
Smart Home System - Soumya.pptx
SritamDash6
•
12 views
Real Life Application of Digital Electronics
Taslima Yasmin Tarin
•
13.2K views
Introduction to Arduino
yeokm1
•
1.9K views
Arduino
Geet Patel
•
3.5K views
Autel Powerscan PS100 User Manual
obddeal
•
1.5K views
Personal Convection Air Device Alpha Design Document
Tao Jiang
•
459 views
Intro to Arduino
Qtechknow
•
2.6K views
ANTI SLEEP ALARM
JagannathDansana
•
81 views
Speed controller for fan
Rifatkhasru009
•
4.5K views
Arduino workshop sensors
Jhonny Wladimir Peñaloza Cabello
•
59 views
Password based door locking system
Arjun Singh
•
50.2K views
Iqc incoming quality control
AshutoshKumar1262
•
520 views
ARDUINO.pptx
venu822659
•
6 views
Advertisement
More from Alexandru Radovici
(20)
SdE2 - Pilot Tock
Alexandru Radovici
•
224 views
SdE2 - Systèmes embarquées
Alexandru Radovici
•
110 views
SdE2 - Planification, IPC
Alexandru Radovici
•
178 views
ALF1 - Introduction
Alexandru Radovici
•
397 views
SdE2 - Introduction
Alexandru Radovici
•
477 views
MDAD 6 - AIDL and Services
Alexandru Radovici
•
283 views
MDAD 5 - Threads
Alexandru Radovici
•
217 views
MDAD 4 - Lists, adapters and recycling
Alexandru Radovici
•
335 views
MDAD 3 - Basics of UI Applications
Alexandru Radovici
•
361 views
MDAD 2 - Introduction to the Android Framework
Alexandru Radovici
•
615 views
MDAD 1 - Hardware
Alexandru Radovici
•
699 views
MDAD 0 - Introduction
Alexandru Radovici
•
462 views
SdE 11 - Reseau
Alexandru Radovici
•
344 views
SdE 10 - Threads
Alexandru Radovici
•
56 views
SdE 8 - Synchronisation de execution
Alexandru Radovici
•
426 views
SdE 8 - Memoire Virtuelle
Alexandru Radovici
•
297 views
SdE 7 - Gestion de la Mémoire
Alexandru Radovici
•
516 views
SdE 6 - Planification
Alexandru Radovici
•
203 views
SdE 5 - Planification
Alexandru Radovici
•
294 views
ALF 6 - Parser
Alexandru Radovici
•
331 views
Recently uploaded
(20)
fun and game
ssuser2a9155
•
0 views
PRESENT PERFECT YET ALREADY FOR & SINCE.pptx
DianaBravo80
•
0 views
ROAD TRAFFIC ACCIDENT Final.pptx
BilyaminuAnas
•
0 views
BATALLAS GRIEGAS.pptx
BIBLIOTECACOLEGIOLOU
•
0 views
Tourism.pptx
ssuser808448
•
0 views
pptx_20230529_224533_0000.pptx
UmmEHabiba150785
•
0 views
Social Institutions.pptx
ssuserd527bb
•
0 views
Lesson 1 The Ecosystem.pptx
PrincesEuniceDenosta
•
0 views
GP-lecture.pptx
shafaat hussain
•
0 views
The Art of Persuasion.pdf
JahnaviVempati1
•
0 views
1. The Ancient Bengal (1) (1).ppt
MonowarHossainAfsar
•
0 views
Lecture 8 (1).pptx
MuhammadAbubakar680442
•
0 views
liver_function_test_.pptx
GPBelwal
•
0 views
HCI Lecture # 2 (2).pptx
ZohairMughal1
•
0 views
Punctuations and capitalization.pdf
usha kaushik
•
0 views
Powerpoint.pptx
DanielVargas155883
•
0 views
Role and Status (1).pptx
ssuserd527bb
•
0 views
Civic all pdf file .pdf
SebehadinKedir
•
0 views
Social Stratification (1).pptx
ssuserd527bb
•
0 views
Occupation.pptx
Minato'z Choco
•
0 views
Advertisement
Lecture 4 - Sensors and Peripherals
Sensors and Peripherals
Outline Sensors ◦ Button ◦ Potentiometer ◦
Light Sensor ◦ Temperature Sensor ◦ Distance ◦ Gas Sensor ◦ Digital Sensors Peripherals ◦ LED ◦ 7 Segment ◦ 74595 ◦ LCD Questions 2
Sensors 3 Image from http://energia.nu/rapid-prototyping-made-easy-with-the-grove-base-boosterpack-starter-kit-from-seeedstudio/
Types 4 Analog ◦ Two pins ◦ There pins ◦
Use pin functions Digital ◦ Use some digital protocol ◦ Use libraries Two pins Three pins
Measuring Analog Voltage divider We measure the voltage in Vout We have errors ◦ Read many values and average them 5 Image from https://learn.sparkfun.com/tutorials/voltage-dividers/applications
Button “Analog Sensor” Resistance ◦ Infinite if released ◦ 0 if pressed 6
Button Debounce When the button is pressed ◦ Signal is bouncing ◦ Fast reading results in 0s and 1s Solutions ◦
Read more values and average them ◦ Use a trigger 7 Image from http://www.engscope.com/pic-example-codes/basic-io-button-debounce/
Potentiometer Variable resistance Connect the ◦ middle pin ◦ One Side pin 8
Potentiometer is a voltage divider Variable resistance Connect the three pins ◦ One side pin to Vcc ◦ The middle pin the analog ◦
One Side pin to the ground 9
Light Sensor Photo Resistor ◦ 2 pins ◦ R inverse proportional
with the light Sensor ◦ Photo Resistor ◦ Voltage divider ◦ Three pins 10 Image from https://inventrom.wordpress.com/2014/11/27/the-thing-in-internet-of-things/
Photo Resistor 11 Image from https://inventrom.wordpress.com/2014/11/27/the-thing-in-internet-of-things/
Temperature Sensor Thermistor ◦ Resistance Parameters ◦ R25
resistance - 25 degrees ◦ B – constant 12 measuredV = pin 5 1023 TR = 5 measuredV R ratio = 1 B ln( TR 25R ) Temperature = 1 1 298 +ratio
Temperature Sensor LM35 Temperature Sensor 13 measuredV = pin 5 1023 Temperature
= mesuredV *100
Gas Sensor Gas Sensor ◦ Heats up ◦ Three pins ◦
Vcc ◦ Signal ◦ Ground 14
Distance Sensor SRF04 ◦ Ultrasonic ◦ Sends a pulse ◦
Real time system ◦ Works on microcontrollers 15 Image from http://www.robot-electronics.co.uk/htm/srf04tech.htm
Distance Sensor Infrared ◦ Analog ◦ Measure voltage 16
Digital Sensors Use protocols ◦ SPI ◦ I2C 17
SPI Master / Slave ◦ One Master ◦ Several slaves ◦
Master always initiates communication Wires ◦ MOSI – Master Out Slave In ◦ MISO – Master In Slave Out ◦ SCLK – SPI Clock ◦ SSn – Slave Select Speeds 18
SPI 19 Image from http://dlnware.com/theory/SPI-Transfer-Modes
I2C Master / Slave ◦ One or more masters ◦ Several slaves ◦
Master always initiates communication ◦ Each device has an address Wires ◦ SDA – Serial Data Line ◦ SCL – Serial Clock Line Speeds ◦ Standard 100 Kbit ◦ Up to 3.4 Mbit 20
I2C 21 Image from http://opencores.org/project,openmsp430,downloads
Microcontrollers and Computers MICROCONTROLLERS SPI ◦ Slave or master ◦ Hardware ◦
Software I2C ◦ Slave or master ◦ Hardware ◦ Software COMPUTERS SPI ◦ Master ◦ Hardware I2C ◦ Master ◦ Hardware 22
Peripherals 23
LED LED ◦ Diode ◦ Two legs ◦
Anode (+) ◦ Cathode (-) ◦ Start lighting up if it has more than 0.6V ◦ Infinite resistance up to 0.6 V ◦ 0 resistance when it lights up 24
7 Segment Display Seven LEDS ◦ Common Cathode ◦
Common Anode ◦ Who many pins do we need for a digit? 25
7 Segment Display Seven LEDS ◦ Common Cathode ◦
Common Anode ◦ Who many pins do we need for a digit? ◦ Multiplexing ◦ Microcontrollers 26
Shift Register Serial to Parallel Register Pins are limited ◦ Use expanders ◦ Shift register QA
.. QH – data stored OE – enable (if 0) SEN – Serial input SRCLK – Serial clock RCLK – register clock (outputs) SRCLR – clear QH’ – shift output bit 27
Shift Register Serial to Parallel Register QA .. QH –
data stored OE – Output enable SEN – Shift In SRCLK – Shift clock RCLK – Latch clock SRCLR – clear QH’ – Shift out 28
Shift Register 29 Image from http://makeyourownchip.tripod.com/74hc595.html
LCD LCD ◦ 16 pins ◦ Two data protocols ◦
4 bit ◦ 8 bit ◦ Microcontroller ◦ I2C version (with an adapter) ◦ How many pins? 30
Arduino Firmata 31
Standard Firmata Standard Firmata https://pastebin.com/uVgsFvD0 32
Questions? 33
Advertisement