For a DC motor, there are two things you can try.1) Measure the current. Actually, you measure the voltage across a shunt resistor and if the current is above some threshold you may assume the motor is stalled.2) You need to place a shaft encoder on the motor and measure the position/speed and then if it is not what you expect you can assume it is because the motor is stalled. Encoders cost about $10 on eBay and are easy to use.For a stepper motor only #2 is possible.
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/0770E383-352E-466C-9042-0C6824D40398%40basdebruijn.com.
For more options, visit https://groups.google.com/d/optout.
--
Chris Albertson
Redondo Beach, California

:-)
For a DC motor, there are two things you can try.1) Measure the current. Actually, you measure the voltage across a shunt resistor and if the current is above some threshold you may assume the motor is stalled.2) You need to place a shaft encoder on the motor and measure the position/speed and then if it is not what you expect you can assume it is because the motor is stalled. Encoders cost about $10 on eBay and are easy to use.For a stepper motor only #2 is possible.That’s a great idea too, just some simple low resolution encoder, I just need to know if the speed has dropped. Some experimentation if I can detect this is fast enough to not burn the motor.Thx!
On Sat, Jul 13, 2019 at 10:38 AM Bas de Bruijn <b...@basdebruijn.com> wrote:
Hi,
I’ve recently been asked about a stall detection, from a DC motor, or a stepper with one of the trinamics silent stepsticks with stall detection.
The DC motor should be driven by switching an on/off relay and left/right by switching direction by a relay, and i want to check when the motor stalls (runs into an endstop).
For the stepper motor, I’d want to detect missing steps, but other than I know these drivers are on my prusa, I have no knowledge on these and if these would be plug and play with for example a cramps board.
Anyone with experience on these 2 applications? The reason I would not use encoders is that I’d like to have an alternative to “just buy closed loop driver + motor + encoder”. Most important is that this should be a reliable setup, where performance may suffer at the expense of cost.
Cheers,
Bas
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machi...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/0770E383-352E-466C-9042-0C6824D40398%40basdebruijn.com.
For more options, visit https://groups.google.com/d/optout.