Distance Sensor GPIO cont'd - Raspberry Pi and Python tutorials p.7

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=kqJ8WYQu68w



Category:
Tutorial
Duration: 6:11
117,386 views
1,067


In this Raspberry Pi tutorial, we're going to introduce a new sensor, the HC-SR04 ultrasonic distance sensor, along with handling GPIO input.

The HC-SR04 distance sensor measures distance based on emitting a sound burst, and timing how long it takes to receive the echo back. Using the known constant that is the speed of sound, we can mathmematically determine the distance of any object in front of this sensor by simply measuring how much time passed while the sound waves were emitted, hit the object in front of the sensor, bounced back, and came back to the sensor.

Text-based version of this series: https://pythonprogramming.net/introduction-raspberry-pi-tutorials/
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex




Other Videos By sentdex


2017-04-18Next steps for self-driving vehicles - Python plays GTA p.8
2017-04-18Neural Network Training Data for self-driving - Python plays GTA p.9
2017-04-10Self-driving Car - Python plays Grand Theft Auto 5 p.7
2017-04-10Lane Finding - Python plays Grand Theft Auto 5 p.6
2017-04-10Line Finding with Hough Lines - Python plays Grand Theft Auto 5 p.5
2017-04-10ROI - Python plays Grand Theft Auto 5 p.4
2017-04-10Direct Input - Python plays Grand Theft Auto 5 p.3
2017-04-10OpenCV - Python plays Grand Theft Auto 5 p.2
2017-04-10Intro and Screen reading - Python plays Grand Theft Auto V p.1
2017-04-04Garage Stop Light GPIO project - Raspberry Pi and Python tutorials p.8
2017-04-04Distance Sensor GPIO cont'd - Raspberry Pi and Python tutorials p.7
2017-04-03GPIO Basics with LED light - Raspberry Pi and Python tutorials p.6
2017-04-03Camera Module - Raspberry Pi and Python tutorials p.5
2017-04-03Terminal Commands and Navigation - Raspberry Pi and Python tutorials p.4
2017-04-03Remote Access with SSH and Remote Desktop - Raspberry Pi and Python tutorials p.3
2017-04-03Installation and Setup of Operating System (Raspbian) - Raspberry Pi and Python tutorials p.2
2017-04-03Introduction and Parts - Raspberry Pi and Python tutorials p.1
2017-03-21Translation API - Google Cloud Python Tutorials p.5
2017-03-21Natural Language API - Google Cloud Python Tutorials p.4
2017-03-21Vision API cont'd - Google Cloud Python Tutorials p.3
2017-03-21Setting up API and Vision Intro - Google Cloud Python Tutorials p.2



Tags:
HC-SR04
distance sensor
GPIO
General Purpose Input Output
Raspberry Pi
mini computer
tutorial
Python
setup
Raspbian
robotics
arduino