Skip to Content
Learning Robotics using Python - Second Edition
book

Learning Robotics using Python - Second Edition

by Lentin Joseph
June 2018
Beginner to intermediate
280 pages
6h 58m
English
Packt Publishing
Content preview from Learning Robotics using Python - Second Edition

Interfacing HC-SR04 to Tiva C LaunchPad

The following diagram illustrates the interfacing circuit of the HC-SR04 ultrasonic sound sensor with Tiva C LaunchPad:

Interfacing ultrasonic sound sensors to Launchpad

The working voltage of the ultrasonic sensor is 5V and the input/output of this sensor is also 5V, so we need a level shifter on the Trig and Echo pins for interfacing into the 3.3V level Launchpad. In the level shifter, we need to apply high voltage, that is, 5V, and low voltage, that is, 3.3V, as shown in the preceding diagram, to switch from one level to another level. Trig and Echo pins are connected on the high voltage side of the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781788623315Supplemental Content