This is my homemade Dual H-Bridge using the IC L298N.
For control DC motors or step Motors ao other purposes just like you need.
Step 1: Hardware and Materials
This is the basic schematic. It works perfectly.
A more advanced schematic and board for eagle cad, you can download from the link below.
1st Step – Perfboard, holes location
Make a Board with 3,5 x 7,0 cm or 13 x 26 holes.
Locate in this board, all holes that we will use for the 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.
Soldering and wired Tracks
Following the schematic and diagram above, first of all make all soldered tracks in the bottom layer of the board.
After that, solder the jumper wires making the wired tracks.
Green wires are on the top layer and blue wires are on the bottom layer of the board.
For more detail: Dual H-Bridge – Arduino L298 Breakout Board