Edge detection on a DC motor

Might not be a bad idea

Of course there is. You detect the increase in current draw as it stalls, and stop driving the motor.

A few milliseconds of stall won't hurt it, because that happens every time a motor starts up.

Yeah that’s exactly how i programmed it. I just have a hard time explaining it as english isn’t my first language. So i wanted to swap out the big resistor for a shunt so that i hahe a quick operatikg valve without losing the ability to measure the current rise to stop it in time

So write in your native language and let do google-translate the translation.
google knows 100 times more english words than you

Hi, @sander420

Use the limits to lower drive current for say a second, then OFF, that should ensure seal.
That way you are not driving the motor at full stall current when it is forced to stop.

Tom.. :grinning: :+1: :coffee: :australia:

Can’t i do it by sending out a duty cycle of let’s say 50% to my mosfet’s

The simplest approach is to use a modern brushed DC motor driver with current sense capabilities, or even current limiting capabilities. Pololu has an excellent selection.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.