
Make an Arduino-Controlled Robot
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Who This Book Is For
- Preface
- How This Book Is Organized
- What Was Left Out
- Code Style (About the Code)
- Arduino Hardware and Software
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. Introduction to Robot Building
- Why Build a Robot?
- How Robots Move
- Tools
- Chapter 2. Building the Electronics
- Hardware Required
- Construction Techniques
- Soldering
- Building the Motor Controller
- Soldering the Reflectance Sensors
- Making a Line Sensor Mount
- Next Steps
- Chapter 3. Building the Two-Wheeled Mobile Platform
- Hardware Required
- Mechanical Assembly
- Lay Out the Chassis Parts
- Motor Assembly
- Assemble the Chassis Components
- Attaching the Control Electronics
- Mounting the IR sensors
- Mounting the IR Sensors for Edge Detection
- Mounting the IR Sensors for Line Following
- Next Steps
- Chapter 4. Building the Four-Wheeled Mobile Platform
- Hardware Required
- Mechanical Assembly
- Lay Out the Chassis Parts
- Motor Assembly
- Assemble the Chassis Components
- Solder the Power and Motor Connections
- Connecting the Battery Pack and Power Switch
- Building the Optional Trickle Charger
- Assemble the Chassis
- Mounting Arduino and Connecting Wires to the Shield
- Mounting the IR sensors
- Mounting the IR Sensors for Edge Detection
- Mounting the IR Sensors for Line Following
- Next Steps
- Chapter 5. Tutorial: Getting Started with Arduino
- Hardware Required
- Arduino Software
- Arduino Hardware
- Installing the Integrated Development Environment (IDE)
- Installing Arduino on Windows
- Installing Arduino on OS X
- Installing Arduino on Linux
- Driver Installation
- Connecting the Arduino Board
- Using the IDE
- Uploading and Running the Blink Sketch
- Using Tabs
- Installing Third-Party Libraries
- Chapter 6. Testing the Robot's Basic Functions
- Hardware Required
- Software Prerequisites
- Sketches Used in This Chapter
- Load and Run helloRobot.ino
- About the Sketch
- Troubleshooting
- Making the Sketch Easy to Enhance
- Chapter 7. Controlling Speed and Direction
- Hardware Required
- Sketches Used in This Chapter
- Types of Motors
- Motor Controllers
- Controlling Motor Speed
- How Motor Speed Is Controlled
- Code for Motor Control
- Calibrating Rotation and Tracking
- Software Architecture for Robot Mobility
- Functions to Encapsulate Robot Movements
- Core Movement Code
- Additional Core Functions
- Functions to Rotate the Robot
- Higher-Level Movement Functions
- Chapter 8. Tutorial: Introduction to Sensors
- Hardware Discussed
- Software
- Infrared Reflectance Sensors
- Sonar Distance Sensors
- Maxbotix EZ1 Sonar Distance Sensor
- Sharp IR Distance Sensor
- Proximity Sensor
- Sound Sensor
- Arduino Cookbook
- Chapter 9. Modifying the Robot to React to Edges and Lines
- Hardware Required
- Sketches Used in This Chapter
- The Look Code
- Edge Detection
- Line Following
- Seeing Sketch Data
- Chapter 10. Autonomous Movement
- Hardware Required
- Sketches Used in This Chapter
- Mounting a Ping Distance Sensor
- Making a Mount for the Ping Sensor
- Mounting the Ping Sensor in a Fixed Position
- Mounting the Ping Sensor on a Servo
- Letting the Robot Wander
- Adding Scanning
- Chapter 11. Remote Control
- Hardware Required
- Sketches Used in This Chapter
- Design of the Remote Control Code
- Controlling the Robot with a TV Type IR Remote
- Installing the IR Decoder Chip
- The IR Remote Software
- Appendix A. Enhancing Your Robot
- Planning
- Think Before You Code
- Avoid Feature Bloat
- Don't Reinvent the Wheel
- Structure to Reflect Functionality
- Use Clear Names for Functions and Variables
- Implementing a Complex Project
- Test Often
- Simplify
- If It Is Awkward, Start Over
- Don't Confuse Activity with Progress
- Experiment
- Be Tenacious
- Have Fun
- Appendix B. Using Other Hardware with Your Robot
- Alternative Motor Controllers
- Ardumoto
- Continuous Rotation Servos
- Appendix C. Debugging Your Robot
- Identify the Symptoms and Localize the problem
- Seeing What the Robot Is Doing
- Appendix D. Power Sources
- Monitoring Battery Voltage
- Trickle Charging
- Appendix E. Programming Constructs
- Digital I/O
- Analog I/O
- Math functions
- Other Functions and Constructs
- Appendix F. Arduino Pin and Timer Usage
- Handling Resource Conflicts
- Modifying a Library to Change Timer Allocation
- Writing Code That Avoids the Use of a Timer
- Pin and Timer Tables
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.