Setting up the hardware of a smart monitor car
In the preceding sections, we learned how to stream video from a camera. Now, we hope to use a mobile car to carry the camera so that we can monitor a larger environment.
Preparing the materials
To set up a small car, we need many different components, such as a car frame, DC motor, batteries, and so on.
A car suite
We can buy many different car suites from online shops. For our purposes, we will use this car suite:
This car suite includes a car frame, four wheels, four DC motors, some cables, and screws. The most important part here is the DC motor. The DC motor only has two control pins. When the voltage difference between the two pins as well as the current is enough, the motor will rotate in two different directions according to the polarity of the voltage difference. The wheels will be connected to the motors and they will rotate together.
The L289N motor drive board
Driving the DC motor needs a high current, but the output current from the Banana...