Canada
Asked — Edited

Hooking Up (L298n) H-Bridge

I have 4 motors that I want to control with a H-bridge. Looking at the hook up to the EZ-B control board it takes 5 pins to control 1 motor or 2 if you want them to run the same. So to control 4 motors it will take 20 pins? That will leave no room to control anything else.

confused HOW


ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

#1  

Actually the motor driver takes 4 signal pins to drive two bi-directional dc motors. The other pin is 5V which I believe you could actually use from the 4 lines already being used. so if you want to drive 4 motors you have to use 8 ports on the EZ-B. The two motors will run differently as they are controlled by two different pwm signals.

Belgium
#2  

@How,

Why don't you use ESC's. There are already a few posts overhere that go into that matter. The advantage is you only need one port on the EZ-B for each motor.

This ESC you'll find in many RC-stores and webshops:

Graupner ESC 6-12V/15Amp

Not too expensive and very accurate.

Good luck

Canada
#3  

Thanks for the advice guys. I am new at this stuff and can use all the help. So the H-bridge runs 2 motors each 1 by it's self. I will look for the Graupner ESC 6-12v/15Amp.

Thank You,

      HOW
Belgium
#4  

@HOW,

Idd, one H-bridge = 2 motors This video is the best tutorial you can get :

H-Bridge hook-up video tutorial

One ESC = 1 motor = 1 port on the EZ-B

You're welcome

PhG