Hardware and software requirements
First let's see what the required components are for this project. The core of the project will of course be the robot itself. For the robot's chassis, you have a wide range of choices available on the market. For this project, I chose a DFRobot MiniQ 2 wheels chassis, which is a small robot chassis that you can easily mount Arduino boards to.
Then, you will need two Arduino boards for this project. The first one will be an Arduino Yun, which we will use to connect a USB camera, just as we did in Chapter 6, Building a Cloud Spy Camera. For the camera itself, I used a C720 camera from Logitech again.
The other thing you will need is an Arduino Uno, which will take care of driving the motors of the robot via a motor shield. We have to use an Arduino Uno here because the Arduino Yun is incompatible with most of the motor shields of DFRobot.
To control the motors, I used a 1A motor shield from DFRobot. In order to control the robot remotely, we'll also use the...