Get 1 Year of unlimited Apress for $199
Instant access to all available titles and new releases Apress Access Subscription

Arduino Robotics

By John-David Warren , Josh Adams , Harald Molle

  • eBook Price: $27.99 $10.00
  • Print Book Price: $39.99
Buy eBook Buy Print Book
Learn to build a variety of robots using the popular Arduino platform, from a simple line-following robot to DIY Segway-clone.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-3183-7
  • 628 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: July 17, 2011
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Introducing Gradle
  • Beginning Ubuntu for Windows and Mac Users
  • Beginning App Development with Parse and PhoneGap
  • 3D Printing with Delta Printers
  • Beginning C for Arduino, Second Edition
  • Digital Electronics for Musicians
  • Exploring the Raspberry Pi 2 with C++
  • Beginning Design for 3D Printing
  • Learn Raspberry Pi 2 with Linux and Windows 10
  • 3D Printing with MatterControl
Full Description

This book will show you how to use your Arduino to control a variety of different robots, while providing step-by-step instructions on the entire robot building process. You'll learn Arduino basics as well as the characteristics of different types of motors used in robotics. You also discover controller methods and failsafe methods, and learn how to apply them to your project. The book starts with basic robots and moves into more complex projects, including a GPS-enabled robot, a robotic lawn mower, a fighting bot, and even a DIY Segway-clone.

  • Introduction to the Arduino and other components needed for robotics
  • Learn how to build motor controllers
  • Build bots from simple line-following and bump-sensor bots to more complex robots that can mow your lawn, do battle, or even take you for a ride

Please note: the print version of this title is black & white; the eBook is full color.

What you’ll learn

  • Basics of motor-control
  • Basics of PCB design and fabrication
  • R/C control and decoding
  • Autonomous sensor guidance
  • Frame building from various materials
  • Instructions for a variety of robot designs

Who this book is for

Electronics and robotics hobbyists and DIY builders.

Table of Contents

Table of Contents

  1. The Basics
  2. Arduino for Robotics
  3. Let’s Get Moving
  4. Linus the Line-Bot
  5. Wally the Wall-Bot
  6. Making PCBs
  7. The Bug-Bot
  8. Explorer-Bot
  9. RoboBoat
  10. Lawn-Bot 400
  11. The Seg-Bot
  12. The Battle-Bot
  13. Alternate Control
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page Listing 1-4:

value pot_val is named pot_val and pot_value

On page 64:

Fig 2-14.

While the Arduino is safe from reverse EMF from the motor, you still need a diode to protect the photo-transistor. I would have worded the Fig2-14 caption thus:

...(no common GND signal), the Arduino output is protected from the motor reverse EMF. However, you still need a protection diode for the photo-transistor.

On page 107, 109, 112:

several references to lithium battery voltages read 3-7v instead of 3.7v


3-7v to 3.7v

On page 506:

read_pots() function.
The commentary //We want to map this into a range between -1 and 1...
Should be -7 and 7?

if ( angle == 0.00 )


On page 506:

read_pots() function.

Why assign 0 to gain_reading if in the following statement analogRead(gainPot) will be assigned.

I think:
if (...)
gain_reading = 0;
gain_reading = analogRead(gainPot);

On page 525:

Eagle files for the mini-OSMC board are missing from google sites.

Quote: To build the mini-OSMC for your weapon motor, download the Eagle files from


    1. Unboxing Android USB

      $34.99 $10.00

      View Book

    2. Beginning AngularJS

      $34.99 $10.00

      View Book

    3. Beginning Ruby

      $27.99 $10.00

      View Book

    4. Pro Arduino

      $27.99 $10.00

      View Book