Driving the Motors

A project log for Surveillance Robot Camera (SUROCAM)

A simple and cheap online Camera Robot Based on The MagPi magazine issue no.9. No hectic port forwarding configuration required.

Hendra KusumahHendra Kusumah 08/19/2014 at 03:380 Comments

In order to drive the motor I don't need to use another microntrollers board because the Raspberry Pi capable to run Motor driver motor directly.

For the motor driver I choose the L298n motor driver module because it can give 2 A to the motors and has 4 mounting hole that can be attached with nut or spacer and also it is quite cheap ($3 at amazon)

The specs told me that it need 5v logical input and raspberry pi have 3,3v output from the GPIO. But on the first try it can take the 3,3 V input from the raspberry pi. and it also run well. the robot move smoothly no matter what kind of chassis it used.

it also have onboard heatsink that can make L298 IC little bit "cooler"