0%

Book Description

Build awesome and complex robots with the power of Arduino

In Detail

Arduino is an open source microcontroller, built on a single circuit board that is capable of receiving sensory input from the environment and controlling interactive physical objects.

Arduino Robotic Projects starts with the fundamentals of turning on the basic hardware and then provides complete, step-by-step instructions that allow almost anyone to use this low-cost hardware platform. You'll build projects that can move using DC motors, walk using servo motors, and then add sensors to avoid barriers. You'll also learn how to add more complex navigational techniques such as GPRS so that your robot won't get lost.

What You Will Learn

  • Acquaint yourself with the many different kinds of Arduinos to choose the right Arduino for your application
  • Start to use your Arduino by unboxing, powering-up, and configuring the device
  • Tweak Arduino to make wheels, or legs, move so that your robot can be mobile
  • Add GPS to your projects so your robots can know where they are
  • Use RF signals to control your robot remotely
  • Connect your robot to a display so you can see what it is thinking
  • Build more complex robots that can move, swim, or fly

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Arduino Robotic Projects
    1. Table of Contents
    2. Arduino Robotic Projects
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. Powering on Arduino
      1. Selecting the right Arduino board
        1. A brief history of Arduino
        2. Introducing the different versions of Arduino
          1. Arduino Uno R3
            1. Choosing the Arduino Uno R3
          2. Arduino Mega 2560 R3
          3. Choosing the Arduino Mega
            1. Spotting a counterfeit or clone
          4. Arduino Due
            1. Choosing the Arduino Due
          5. Arduino Micro
            1. Choosing the Arduino Micro
          6. Adafruit FLORA
            1. Choosing the Adafruit FLORA
          7. Adafruit Gemma
            1. Choosing the Adafruit Gemma
          8. Adafruit Trinket
            1. Choosing the Adafruit Trinket
          9. Other options with Arduino
      2. Powering up Arduino
        1. Unveiling your Arduino
        2. Connecting to Arduino
          1. Installing the FLORA IDE
      3. Summary
    9. 2. Getting Started with the Arduino IDE
      1. Using a Windows machine to develop with Arduino
      2. Running the IDE for Uno
        1. Setting the IDE to your board
        2. Selecting the proper COM port
        3. Opening and uploading a file to Arduino
      3. Running the IDE for Mega
      4. Running the IDE for the Adafruit FLORA
        1. Installing the Adafruit drivers
        2. Selecting the Adafruit boards
        3. Selecting the COM port
        4. Coding an LED flash on the FLORA
      5. Using a Mac to develop using Arduino
      6. Summary
    10. 3. Simple Programming Concepts Using the Arduino IDE
      1. Creating, editing, and saving files on Arduino
      2. Basic C programming on Arduino
      3. Basic programming constructs on Arduino
        1. The if statement
        2. The for statement
      4. Summary
    11. 4. Accessing the GPIO Pins
      1. The GPIO capability of Arduino
      2. The first external hardware connection
      3. The Arduino IDE and LED code
      4. Summary
    12. 5. Working with Displays
      1. A simple serial display
      2. Enabling the serial display in the IDE
      3. Connecting a display using the SPI interface
      4. Enabling the SPI display in the IDE
      5. An LCD shield
      6. Enabling the LCD display in the IDE
      7. Summary
    13. 6. Controlling DC Motors
      1. The basics of DC motor
      2. Connecting a DC motor directly to Arduino
        1. Using Arduino code to control the speed of the DC motor
      3. Connecting a DC motor using an H-bridge and Arduino
        1. Using Arduino code to control the direction of the DC motor
      4. Controlling the DC motor using a shield
      5. The Arduino code for the DC motor shield
      6. Summary
    14. 7. Controlling Servos with Arduino
      1. The basics of a servo motor
      2. Connecting a servo motor directly to Arduino
      3. Controlling the servos with a program
      4. Connecting a servo motor shield to Arduino
      5. Controlling the servo motor shield with a program
      6. Summary
    15. 8. Avoiding Obstacles Using Sensors
      1. An overview of the sensors
        1. Sonar sensors
        2. Infrared sensors
      2. Connecting a sonar sensor to Arduino
      3. Accessing the sonar sensor from the Arduino IDE
      4. Connecting an IR sensor to Arduino
      5. Accessing the IR sensor from the Arduino IDE
      6. Creating a scanning sensor platform
      7. Summary
    16. 9. Even More Useful Sensors
      1. Connecting a digital compass to Arduino
      2. Accessing the compass from the Arduino IDE
      3. Connecting an accelerometer/gyro to Arduino
      4. Accessing the accelerometer from the Arduino IDE
      5. Connecting an altimeter/pressure sensor to Arduino
      6. Accessing the altimeter/pressure sensor from the Arduino IDE
      7. Summary
    17. 10. Going Truly Mobile – the Remote Control of Your Robot
      1. Connecting a simple RF interface to Arduino
      2. Enabling a simple RF interface in the Arduino IDE
      3. Connecting an XBee interface to Arduino
      4. Enabling an XBee interface in the Arduino IDE
      5. Connecting a Bluetooth shield to Arduino
      6. Connecting a Wi-Fi shield to Arduino
      7. Enabling the Wi-Fi shield in the Arduino IDE
      8. Connecting a GSM/GPRS shield to Arduino
      9. Summary
    18. 11. Using a GPS Device with Arduino
      1. GPS tutorial
      2. Connecting a GPS device directly to Arduino
      3. Accessing the GPS device from the Arduino IDE
      4. Connecting a GPS shield to Arduino
      5. Accessing the GPS shield from the Arduino IDE
      6. Summary
    19. 12. Taking Your Robot to Sea
      1. Building an automated sailing platform
      2. Building an Arduino-powered underwater ROV
        1. Building an ROV
        2. Controlling brushless DC motors with Arduino
          1. Connecting a LAN shield to Arduino
          2. Accessing a camera for your project
      3. Summary
    20. 13. Robots That Can Fly
      1. Building an Arduino-operated plane
      2. Building a quadcopter platform
      3. Summary
    21. 14. Small Projects with Arduino
      1. Small robots and Arduino
      2. Wearable Arduino projects
      3. Summary
    22. Index
3.138.34.80