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

Connecting an altimeter/pressure sensor to Arduino


The final sensor that you'll learn about in this chapter is the altimeter/pressure sensor. An altimeter measures the barometric pressure, and as this pressure decreases with rising elevation, it can indicate elevation. This is particularly useful when you want to build a robot that can fly. First, you'll need to select a device. One device that can provide this information is the SainSmart BMP085 Module Digital Barometric Pressure Sensor, available at many online retailers. It looks as follows:

It looks very similar to the digital compass, and just like the earlier two devices, it connects via the I2C interface. You can even use the same libraries you just downloaded for the accelerometer/gyro for I2C support.

The connections between Arduino and the device will be the same as the digital compass, as demonstrated in the following table:

Arduino pin

Sensor pin

5V

5V

GND

GND

A5

SCL

A4

SDA

The connections, just like those of the digital...

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 €18.99/month. Cancel anytime