Ubergeek63
Well-Known Member
ditch the idiotic L293 in favor of a FET IC!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ditch the idiotic L293 in favor of a FET IC!
You have one in particular to recommend for dual 600mA motors ?
for a total dissipation of 12W that you have to somehow get rid of and REQUIRING freewheeling schottkys.Each bridge in an L298 drives up to 2A continuously.
That is why it has a case that can attach to a heatsink.for a total dissipation of 12W that you have to somehow get rid of .
If you just want an upper current limit you're better off using a comparator from a fixed voltage refrence, it will respond way faster than a micro controller can. If you need to be able to read the current from the MCU anyways you need to amplify it a bit and send it into the ADC port of your micro controller. You could read the .5 volts (positive at least) directly but you're not going to get much resolution. What is your current limit?
If the resistor is 1ohm you should get a voltage drop of .6 volts at 600ma. Basically one tenth of a volt per 100ma. .5 volts at 630ma is either your meter, or more than likley the exact resistance of the resistor. If your readings are accurate your 1 ohm resistor is actually .78 ohms. 20% tolerance, typical for a generic resistor.
You would simply feed the comparator a refrence voltage for your cutoff and have it trigger the circuit to shut off.
If the resistor is 1ohm you should get a voltage drop of .6 volts at 600ma. Basically one tenth of a volt per 100ma. .5 volts at 630ma is either your meter, or more than likley the exact resistance of the resistor. If your readings are accurate your 1 ohm resistor is actually .78 ohms. 20% tolerance, typical for a generic resistor.
You would simply feed the comparator a refrence voltage for your cutoff and have it trigger the circuit to shut off.
Lyncos, the meter doesn't test the resistor under load. If your voltage is accurately measured at .5 volts and the current is also accurately measured at 630ma then the resistance under those test conditions is .795 ohms, you can't violate Ohm's law =) But you have to factor in the accuracy of your meter on current and voltage measurement, and you may be changing something you're not aware of.
Since you're using an h-bridge the current will reverse itself so you need an opamp setup to measure absolute voltage. I've seen a few opamp cookbooks with examples but I've never tried to do it myself so I acn't suggest a circuit directly, just what to look for. Since you have to use an opamp anyways you can amplifier the signal to make it a little easier fro the MCU or a comparator to read.