Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Beaglebone Robotics

You're reading from  Mastering Beaglebone Robotics

Product type Book
Published in Dec 2014
Publisher
ISBN-13 9781783988907
Pages 234 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Richard Grimmett Richard Grimmett
Profile icon Richard Grimmett

Table of Contents (18) Chapters

Mastering BeagleBone Robotics
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Preparing the BeagleBone Black Building a Basic Tracked Vehicle Adding Sensors to Your Tracked Vehicle Vision and Image Processing Building a Robot that Can Walk A Robot that Can Sail Using GPS for Navigation Measuring Wind Speed – Integrating Analog Sensors An Underwater Remotely Operated Vehicle A Quadcopter An Autonomous Quadcopter Index

Adding distance sensors


If your robot is to appear intelligent, gathering information about the world around it will be crucial. So, let's add some sensors that can provide you information about the distance and location of barriers.

There are basically two kinds of distance sensors, IR and sonar sensors. Both send out a signal and then measure a response to calculate the distance of the object from themselves. You can use either sensor, so you'll learn how to add both to your project. Let's cover sonar sensors first.

Sonar sensors

A sonar sensor uses ultrasonic sound to calculate the distance of an object. The sound wave travels out from the sensor, as illustrated here:

The device sends out a sound wave 10 times a second. If an object is in the path of these waves, then the waves reflect off the object, sending waves that return to the sensor, as shown here:

The sensor then measures return of waves, if any. It then uses the time difference between when the sound wave was sent out and when it...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}