evive has two inbuilt motor control units with which you can control motors with the current limit of 1A each. It uses a SN754410NE Quad H-Bridge IC to control two DC Motors.
If you look at the SN754410NE chip, you will notice a u-shaped notch at one end. This helps you to identify pin 1.
Pin 4, 5, 12, 13 are connected to ground.
Pin 16 is connected to 5V and pin 8 is connected to power voltage which can vary from 4.5V to 30V.
1A and 2A are connected to Arduino Mega digital pin MOTOR1_D1 (28) and MOTOR1_D2(29) respectively and 3A and 4A to digital pin MOTOR2_D1(30 ) and MOTOR2_D2 (31) . Depending on the states of the pins, the motor state is determined:
In this example, we will be controlling motor through channel 1:
You can also control a four-wheel drive mobile robot with evive. The two motors of same side needs to be connected in parallel.