Book Image

Learn Robotics Programming

By : Danny Staple
Book Image

Learn Robotics Programming

By: Danny Staple

Overview of this book

We live in an age where the most difficult human tasks are now automated. Smart and intelligent robots, which will perform different tasks precisely and efficiently, are the requirement of the hour. A combination of Raspberry Pi and Python works perfectly when making these kinds of robots. Learn Robotics Programming starts by introducing you to the basic structure of a robot, along with how to plan, build, and program it. As you make your way through the book, you will gradually progress to adding different outputs and sensors, learning new building skills, and writing code for interesting behaviors with sensors. You’ll also be able to update your robot, and set up web, phone, and Wi-Fi connectivity in order to control it. By the end of the book, you will have built a clever robot that can perform basic artificial intelligence (AI) operations.
Table of Contents (21 chapters)

Test fitting the robot

I recommend test fitting before actually ordering parts. This helps me be more confident that they will fit and you know where they will roughly go. This step is optional, but it can save you time and money later.

This is another exercise in which you can use paper and a pen, or an app such as DrawIO on the internet. First, I find the dimensions for all the parts. Here is a screenshot from Amazon showing how to spot product dimensions:

Finding product specifications

Some information digging is needed to find these for your parts. For each, first find a shop you can buy them at, such as Amazon, a number of online shops, or eBay. You can then search for, or ask for information about, the dimensions of each board or item. Make sure you are looking at the dimensions of the part and not its packaging. The next diagram shows a datasheet for a battery box and...