Beginning Robotics with Raspberry Pi and Arduino: Using Python and OpenCV, Second Edition

  • 3h 45m
  • Jeff Cicolani
  • Apress
  • 2021

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.

About the Author

Jeff Cicolani is the President of The Robot Group, an Austin, Texas based robotics group consisting of robotics enthusiasts and professionals from throughout the Austin area. He has had a successful technical career as a systems analyst, developer, and project manager for multiple Fortune 500 companies. In 2017, Jeff leveraged his Maker skills, general technical acumen, and passion for robotics into a new career when he accepted a position at SparkLabs, the prototype and research division of SparkCognition, an AI company based in Austin.

Jeff currently lives in Pflugerville, a suburb of Austin, with his lovely wife, two dogs, and countless robots. When he’s not building robots at work, he builds robots for fun. He is also the developer of Nomad: Autonomous Robot, which has been featured in several magazine articles and exhibitions.

In this Book

  • Introduction to Robotics
  • An Introduction to Raspberry Pi
  • A Crash Course in Python
  • Raspberry Pi GPIO
  • Raspberry Pi and Arduino
  • Driving Motors
  • Assembling the Robot
  • Working with Infrared Sensors
  • An Introduction to OpenCV
  • Conclusion


Rating 4.4 of 312 users Rating 4.4 of 312 users (312)