Learn how to use a Raspberry Pi in conjunction with an Arduino to build a basic robot with advanced capabilities. Getting started in robotics does not have to be difficult. This book is an insightful and rewarding introduction to robotics and a catalyst for further directed study. 

Fully updated to cover the Raspberry Pi 4 with its better processor and memory, discover new ways to work with Computer Vision. You'll be led step by step through the process of building a robot that uses the power of a Linux based computer paired with the simplicity of Arduino. You’ll learn why the Raspberry Pi is a great choice for a robotics platform; its strengths as well as its shortcomings; how to overcome these limitations by implementing an Arduino; and the basics of the Python programming language as well as some of the more powerful features.

With the Raspberry Pi you can give your project the power of a Linux computer, while Arduino makes interacting with sensors and motors very easy. These two boards are complimentary in their functions; where one falters the other performs admirably.

The book also includes references to other great works to help further your growth in the exciting, and now accessible, field of smart robotics. As a bonus, the final chapter of the book demonstrates the real power of the Raspberry Pi by implementing a basic vision system. Using OpenCV and a standard USB web cam, you will build a robot that can chase a ball.

What You'll Learn

  • Install Raspbian, the operating system that drives the Raspberry Pi
  • Drive motors through an I2C motor controller
  • Read data through sensors attached to an Arduino
Who This Book Is For

Hobbyists and students looking for a rapid start in robotics. It assumes no technical background. Readers are guided to pursue the areas that interest them in more detail as they learn.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Introduction to Robotics
  4. 2. An Introduction to Raspberry Pi
  5. 3. A Crash Course in Python
  6. 4. Raspberry Pi GPIO
  7. 5. Raspberry Pi and Arduino
  8. 6. Driving Motors
  9. 7. Assembling the Robot
  10. 8. Working with Infrared Sensors
  11. 9. An Introduction to OpenCV
  12. 10. Conclusion
  13. Back Matter