
Ultrasonic Sensor
Presentation
•
Physics
•
9th Grade
•
Practice Problem
•
Hard
Reynaldo Miranda
Used 9+ times
FREE Resource
21 Slides • 0 Questions
1
LEARNING TARGETS:
1. I can define the term sensor.
2. I can identify the different parts of ultrasonic sensor.
3. I can install ultrasonic sensorwith ease and accuracy
3. I can write a code involving sensors
2
ESSENTIAL QUESTION:
How can the mastery of the common competencies in
Robotics help us be better citizens of our community?
3
WHAT DOES ELECTRONIC SENSOR MEAN?
❑ A
sensor
is
a
device
that
measures physical input from its
environment and converts it into
data that can be interpreted by
either a human or a machine. Most
sensors are electronic (the data is
converted into electronic data), but
some are more simple, such as a
glass thermometer, which presents
visual data.
4
5
HOW THE HC-SR04 ULTRASONIC DISTANCE SENSOR
WORKS?
❑It emits an ultrasound at 40
000 Hz which travels through
the air and if there is an object
or obstacle on its path It will
bounce back to the module.
Considering the travel time and
the speed of the sound you can
calculate the distance.
6
HOW THE HC-SR04 ULTRASONIC DISTANCE SENSOR
WORKS?
❑In
order
to
generate
the
ultrasound we need to set the Trig
pin on a High State for 10 µs. That
will send out an 8 cycle ultrasonic
burst which will travel at the speed
of sound. The Echo pins goes high
right away after that 8 cycle
ultrasonic burst is sent, and it starts
listening or waiting for that wave
to be reflected from an object.
7
HOW THE HC-SR04 ULTRASONIC DISTANCE SENSOR
WORKS?
❑If
there
is
no
object
or
reflected pulse, the Echo pin will
time-out after 38ms and get
back to low state.
8
HOW THE HC-SR04 ULTRASONIC DISTANCE SENSOR
WORKS?
❑If we receive a reflected pulse,
the Echo pin will go down sooner
than those 38ms. According to the
amount of time the Echo pin was
HIGH,
we
can
determine
the
distance the sound wave traveled,
thus the distance from the sensor to
the object.
9
HOW THE HC-SR04 ULTRASONIC DISTANCE SENSOR
WORKS?
❑If
there
is
no
object
or
reflected pulse, the Echo pin will
time-out after 38ms and get
back to low state.
10
HOW THE HC-SR04 ULTRASONIC DISTANCE SENSOR
WORKS?
❑For that purpose we are using
the following basic formula for
calculating distance:
❑Distance = Speed x Time
11
HOW THE HC-SR04 ULTRASONIC DISTANCE SENSOR
WORKS?
❑We actually know both the speed and the
time values. The time is the amount of time
the Echo pin was HIGH, and the speed is the
speed of sound which is 340m/s. There’s
one additional step we need to do, and
that’s divide the end result by 2. and that’s
because we are measuring the duration the
sound wave needs to travel to the object
and bounce back.
❑Distance = Speed x Time
12
13
Let’s say the Echo pin was HIGH for 2ms. If we want
the get the distance result in cm, we can convert the
speed of sound value from 340m/s to 34cm/ms.
Distance = (Speed x Time) / 2 = (34cm/ms x 1.5ms)
/ 2 = 25.5cm.
So, if the Echo pin was HIGH for 2ms (which we
measure using the pulseIn() function), the distance
from the sensor to the object is 34cm.
14
15
https://www.youtube.c
om/watch?v=HynLoCtU
VtU
16
https://create.arduino.cc/e
ditor/mertarduinotech/b70
22e05-f709-4003-b2a7-
5c487ee25007/preview
17
18
19
20
LEARNING TARGETS:
1. I can define the term sensor.
2. I can identify the different parts of ultrasonic sensor.
3. I can install ultrasonic sensorwith ease and accuracy
3. I can write a code involving sensors
Show answer
Auto Play
Slide 1 / 21
SLIDE
Similar Resources on Wayground
16 questions
Polynomials: Vocabulary & Classifying
Lesson
•
9th Grade
16 questions
Saber vs Conocer
Lesson
•
9th Grade
16 questions
Multiplying Binomials
Lesson
•
9th Grade
16 questions
Colons and Semicolons
Lesson
•
9th Grade
15 questions
Velocity Time Graphs
Lesson
•
10th Grade
18 questions
Measuring mass
Lesson
•
9th - 10th Grade
16 questions
Position time Graphs, Distance and Displacement
Lesson
•
9th - 10th Grade
18 questions
Refraction and Reflection
Lesson
•
8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
13 questions
SMS Cafeteria Expectations Quiz
Quiz
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
SMS Restroom Expectations Quiz
Quiz
•
6th - 8th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
10 questions
Pi Day Trivia!
Quiz
•
6th - 9th Grade