Connecting L298 Motor Driver to Arduino Question

Hey guys,
First post here and fairly new to microcontrollers so I hope I am posting in the proper place :wink:

I have a Arduino Uno and I recently bought this motor driver:

On the surface it seems like a very simple H-Bridge motor driver. What puzzles me
is why does it only have the following pins: 5 Volts, VCC, Ground and a set of two pins for each motor.
There is another motor driver which seems to be a more robust version of the previous one:

As you can see the one above has many control pins and the documentation is quite extensive.

I assume what I bought is simplified version. My question is, how should I connect my two motors
to it? And whether I can control the speed/direction of each motor with this driver.

Thanks a bunch guys. This is truly a fantastic community,
Max

Following further research into the matter, it appear it uses TTL logic.
So deducing from that I need to connect it as follows:

Vcc-4xAA batteries.
+5-Arduino pin(TTL logic, set pin HIGH or LOW to control direction?)
GND-Arduino ground? or Battery negative? or connect both to arduino ground.

OUT1-2-Motor 1.
OUT3-4-Motor 2.

Is this corrent? or am I totally missing something? :stuck_out_tongue:

ardmaxx,
I'm not really sure of what's your problem.
The first driver has 8 pins ... pins referring to .. the pins sticking up/out. It's for logical input from ie arduino. Of the 8, two should have a jumper. Each coil has 3 pins (EnableA, in1, in2 ) & (EnableB, i3, i4).

Hi
Maybe this will help

Johnny