
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
Scatter Plots & Correlation
Presentation
•
9th Grade
16 questions
Evaluating Functions - Algebra
Presentation
•
9th Grade
15 questions
Solve Linear Inequalities
Presentation
•
9th Grade
19 questions
Net Forces
Presentation
•
9th Grade
16 questions
Energy Transformations
Presentation
•
8th Grade
16 questions
Newton's First Law of Motion...
Presentation
•
8th Grade
15 questions
Magnets
Presentation
•
8th Grade
16 questions
Grade 9 Advanced Revision
Presentation
•
9th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Physics
20 questions
Position vs. Time Graphs
Quiz
•
9th Grade
10 questions
Exit Check 5.1 - Forms of Energy
Quiz
•
9th Grade
11 questions
Electricity Explained
Interactive video
•
9th - 12th Grade
87 questions
25-26 Unit 1.2 Review - Radioactivity & Earth's Age
Quiz
•
8th - 10th Grade
18 questions
Quiz #8 Practice: Forces on an Incline
Quiz
•
9th Grade
25 questions
Newton's Laws of Motion
Quiz
•
9th Grade