For control DC motors or step Motors ao other purposes just like you need.
Step 1: Hardware and Materials
1 x perf board 13×26 holes (3,5 x 7,0 cm)
2 x AK300/3 connector
1 x 8 Header female connector for Arduino
1 x L298N (Multiwatt15)
8 x 1N4001 Diode
2 x 100nF capacitor
2 x 0,47Ohm x 1W Resistor
Wire (green and blue colors)
Step 2: Schematic
This is the basic schematic. It works perfectly.
A more advanced schematic and board for eagle cad, you can download from the link below.
Step 3: 1st Step – Perfboard, holes location
Step 4: 2nd Step – Components
After sanding and cleaning the board, put all components in it according of the diagram above and schematic.
For this, bend components properly.
Do the soldering for each group of components independently, for example:
diodes first and then connectors and then capacitors and resistors and finally the L298N IC; or in what order you want or you are used to do.
For more detail: Homemade Dual H-Bridge – L298 Breakout Board using Arduino