Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino Robotic Projects

You're reading from   Arduino Robotic Projects Build awesome and complex robots with the power of Arduino.

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781783989829
Length 240 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Richard Grimmett Richard Grimmett
Author Profile Icon Richard Grimmett
Richard Grimmett
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Arduino Robotic Projects
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Powering on Arduino FREE CHAPTER 2. Getting Started with the Arduino IDE 3. Simple Programming Concepts Using the Arduino IDE 4. Accessing the GPIO Pins 5. Working with Displays 6. Controlling DC Motors 7. Controlling Servos with Arduino 8. Avoiding Obstacles Using Sensors 9. Even More Useful Sensors 10. Going Truly Mobile – the Remote Control of Your Robot 11. Using a GPS Device with Arduino 12. Taking Your Robot to Sea 13. Robots That Can Fly 14. Small Projects with Arduino Index

An overview of the sensors


Before you begin, you'll need to decide which sensors to use. You require basic sensors that will return information about the distance to an object, and there are two choices—sonar and infrared. Let's look at each.

Sonar sensors

The sonar sensor uses ultrasonic sound to calculate the distance to an object. The sensor consists of a transmitter and receiver. The transmitter creates a sound wave that travels out from the sensor, as illustrated in the following diagram:

The device sends out a sound wave 10 times a second. If an object is in the path of these waves, the waves reflect off the object. This then returns sound waves to the sensor, as shown in the following diagram:

The sensor measures the returning sound waves. It uses the time difference between when the sound wave was sent out and when it returns to measure the distance to the object.

Infrared sensors

Another type of sensor is a sensor that uses infrared (IR) signals to detect distance. An IR sensor also uses...

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 $19.99/month. Cancel anytime