Book Image

Python Robotics Projects

By : Prof. Diwakar Vaish
Book Image

Python Robotics Projects

By: Prof. Diwakar Vaish

Overview of this book

Robotics is a fast-growing industry. Multiple surveys state that investment in the field has increased tenfold in the last 6 years, and is set to become a $100-billion sector by 2020. Robots are prevalent throughout all industries, and they are all set to be a part of our domestic lives. This book starts with the installation and basic steps in configuring a robotic controller. You'll then move on to setting up your environment to use Python with the robotic controller. You'll dive deep into building simple robotic projects, such as a pet-feeding robot, and more complicated projects, such as machine learning enabled home automation system (Jarvis), vision processing based robots and a self-driven robotic vehicle using Python. By the end of this book, you'll know how to build smart robots using Python.
Table of Contents (24 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Constructing the robot 


Now, to make this robot, we would need a few cardboard cartons. We need to make two parts of it:

  • A food dispenser
  • A collecting bowl with a force sensor

First, let's see how the dispenser has to be made. You need to follow these steps:

  1. Take a medium-sized carton that can carry up to about four and a half pounds of pet food.
  2. Then, go ahead and make a small cutout.
  3. This cutout should be big enough to dispense food but not so big that a lot of food comes out of it at once.
  4. Now, once that is done, you need to make a lid that covers that through-hole.
  5. This lid should be slightly bigger than the through-hole itself. 
  6. Install the lid over the shaft of the motor.
  1. Fix the motor on to the cardboard, as shown in the following diagram. Make sure that the position of the motor should be such that the lid covers the entire through-hole on the cardboard. 
  2. Finally, install ends-stops. These are simple pieces of cardboard that will restrict the movement of the lid in either direction.
  3. The first...