![l298n motor driver not pushing 2 amps l298n motor driver not pushing 2 amps](https://i.stack.imgur.com/AVsVo.png)
See what happens.Īnd this is how it would look like for one piece of coil for having the stepper motor rotate. Change the 0.19 V by scrolling, change the input by clicking on them. Press the "This" link above, or this This, if you want to simulate the circuit in your browser (which I strongly recommend). If you want to fry your stepper then that's fine with me. I couldn't care any less if this is too much math for you / if I'm drowning you with math.
![l298n motor driver not pushing 2 amps l298n motor driver not pushing 2 amps](https://i.ebayimg.com/images/g/Q9AAAOSwp-Bg3uaf/s-l300.jpg)
And we want the current to be in the range between -2.5 A and 2.5 A. Okay, so 12 V in, let's assume that the inductance of the stepper is around 5 mH, this means that the coil of the stepper will act like a low pass filter. All MCU's are capable of generating PWM, I don't know which MCU you got in particular so I don't know how many PWM outputs you got, if you're lacking in that department then you can just make some from some timer. You can hook up the L298N straight to 12 V if you utilize some PWM signals. After closer inspection I see that the resistance of the motors is 0.9 Ω and their rated current is 2.5 A. Oh, I thought there was only one link, but you had one link right after another. The motor control IC can be driven by any MPU with a few pins to spare. Use a trim pot to put 1.5 volts on the inverting (-) pins. Set the LM339 to have the output go 'high' if (+) input is greater than 1.5 volts. The power per each IC goes through the fuse first, then the P-channel MOSFET which drives the +Vs connection in figure 6 of your data sheet.
![l298n motor driver not pushing 2 amps l298n motor driver not pushing 2 amps](https://ae01.alicdn.com/kf/HTB1wra.Kb5YBuNjSspoq6zeNFXaL.jpg)
Use a P-channel MOSFET on the power input of the IC so the LM339 can shut it off by letting the gate-source voltage drop to zero.Ī current sense resistor of 1.00 ohms 3 watts will give a voltage of 1 volt per amp, or 1.5 volts per 1.5 amps. To avoid using a MPU and complex software, just buy a LM339 quad comparator and set its trip point for 1.5 amps (I do not know what voltage that will be, as it is determined by your sense resistor). The voltage at that pin tells you the current drawn by that motor. This way a stalled motor or shorted circuit will blow the fuse instead of burning up in a bad way, and shut down only one motor.ĮDIT: If you really need current limiting then:Įach motor driver IC has a current sense pin which has a resistor to ground.
L298N MOTOR DRIVER NOT PUSHING 2 AMPS SERIES
What you should do for safety reasons is put a 5 amp fast-blow fuse or a 3 amp MDL slow-blow fuse in series with each ICs power input. Its 15 amp rating is how much it can supply if all six motors 'request' that much current at the same time, which totals 15 amps (6 * 2.5). The motors are rated to operate at 2.5 amps maximum current, so your power supply has plenty of current to spare. The IC and motors will only draw the current they need. You are confusing current consumed with available current that can be consumed. You are creating a problem that does not exist.