Heart Beat/Motor Stop

General discussion of using Roboclaw motor controllers
Post Reply
willishf
Posts: 6
Joined: Sun Nov 14, 2021 9:06 am
Heart Beat/Motor Stop

Post by willishf »

Looking for a feature that if the host sending commands to the roboclaw in the form of a heartbeat. If the heartbeat stops after X amount of time then the roboclaw will stop all motor movement. Had a case that stopped a program from running and didn't catch that the last command sent was a low-speed setting that wasn't enough to turn the motor with a load and ended up burning up the motor.

Seems like a reasonable feature to add in particular for use in situations that have negative outcomes if the motor isn't turned off when a controlling program stops.
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Heart Beat/Motor Stop

Post by Basicmicro Support »

Simple and Packet Serial have a timeout option. If communciation stops for that amount of time the motors stop.

RC mode(MCU option disables this) will shutdown the motors if RC pulses don't arrive at least every 100ms.

Sorry, but on Roboclaw there is currently no Analog equivilent to a timeout.

On MCP you can setup a analog input to trip a motor stop if the voltage goes above a max or below a minimum.

Post Reply