I am trying to make a motor drive using L298N
But when I try it in Proteus it won't work
any Idea ?
Thank you.
But when I try it in Proteus it won't work
any Idea ?
Thank you.
The four inputs require high and low logic levels to work correctly. Your inputs have no path to ground when the input switches are opened so they never receive a low signal. Connect a 10Kohm resistor between each input and ground, then it should work..I am trying to make a motor drive using L298N
But when I try it in Proteus it won't work
any Idea ?
Thank you.
Result is same it doesn't moveThe four inputs require high and low logic levels to work correctly. Your inputs have no path to ground when the input switches are opened so they never receive a low signal. Connect a 10Kohm resistor between each input and ground, then it should work..
It could well be. I have only used them connected to TTL inputs.Pins IN1, IN2, IN3 & IN4 - do they need pull-up resistors and pull down switches?
You see pin5 is red, meaning high. somehow the input pin to go below 1.5V, what is the voltage of that DC input?I just don't understand when I use PWM as input signal it run but not the DC input
That should work, but if you want to keep the switches as pull-ups to Vcc then you need pull-down resistors with a maximum value of ~2k to satisfy the logic-low requirements of TTL circuits.What if you connect them with 10kohm to VCC and put the switch to ground?
Why 2k? why didn't it work with 10k then? only explantation would be if the inputs or the open switch are low (30k ish) impedance.That should work, but if you want to keep the switches as pull-ups to Vcc then you need pull-down resistors with a maximum value of ~2k to satisfy the logic-low requirements of TTL circuits.
1) The DC input is 5V when I try 2.4999V it turn to gray and If i try 2.5V it turn to red agianYou see pin5 is red, meaning high. somehow the input pin to go below 1.5V, what is the voltage of that DC input?
And when you connected the 10kohm to ground, what color did the input pins have?
What if you connect them straight to ground.
What if you connect them with 10kohm to VCC and put the switch to ground?
This thread may be of interest.It should.
The low level input current is only 10μA, not the higher TTL level.
That discusses an actual TTL gate which does have a significant input current.This thread may be of interest.