First:The three signal inputs of the L298 Dual H-Bridge Motor Driver are EA, I1 and I2. EA is connected to the PWM interfaces to control the speed and I1, I2 are connected to digital interfaces on the Seeeduino V328 to set steering direction.
We connect EA to Seeeduino 's PWM interfaces and connect I1, I2 to Seeeduino 's digital interface.
So we can determinate the steering direction and the speed of motor.
Second:Here I have the motor mounted on a mechanical joint yard, the mechanical production of zygote is the first to find a gear, the gear can be driven up and down sliding access to justice. This is to control, or you can manually control.