Preventing my 6 motors from getting to stall

Hi guys,

I'm currently working on a project that is a small rover with six wheels (12V gear motor on each wheel) and I need to find a way to stop the motors when they stuck and in stall. I found a 3 channel current sensor called INA3221 and I thought about using it, but I didn't find any instructions so I thought maybe one of you guys may have better solution to my problem.

Here are the specs of my motors:
12V, 60RPM, Gear Box motor, 130N cm torque.

If you guys need more information I will gladly share :slight_smile:

Thank you!

There are data sheets for that device:

But I didn’t see any thing Arduino
Related ( but it may be out there) You could look at Hall effect devices , a small series resistor could be used to sense current , or maybe detect that the wheels are not revolving

Which motor driver are you using.
Maybe your driver chip already has a current sense output.
Leo..

You forgot the most important spec, current draw at stall torque.

If you feed the current to the motor through a 1 ohm resistor (or smaller if the current is high) you can determine the current by measuring the voltage across the resistor. Some motor drivers have that feature included.

...R

This thread is relevant: INA3221 breakout board - Sensors - Arduino Forum

Wawa:
Which motor driver are you using.
Maybe your driver chip already has a current sense output.
Leo..

The motor driver that i'm using is L298N.
Since I have 6 motors, I use 3 drivers.

outsider:
You forgot the most important spec, current draw at stall torque.

When I checked I think the current draw at stall torque was around 300mA on one motor, but I'm not sure since
It was a while ago, I will check and report again.

arielr550:
The motor driver that i'm using is L298N.

That's the driver chip.
The chip has the feature of motor current sensing, but has the board designer implemented it...
Post a link to the driver board.
Leo..

Wawa:
That's the driver chip.
The chip has the feature of motor current sensing, but has the board designer implemented it...
Post a link to the driver board.
Leo..

Well, this is exactly the board I have: https://artofcircuits.com/product/l298n-motor-driver-board

I hope this is what you meant.

No current sense resistors on that board.
Leo..

Wawa:
No current sense resistors on that board.
Leo..

That's unfortunate. Do you have any suggestions what should I use?

I guess it's back to the INA3221.
Google "Arduino INA3221 library". There is at least one on Github.
Leo..