Servita-Community / ServitaFirmware

The main firmware for the Servita and ServitaDuo base devices.
1 stars 1 forks source link

Implement Motor Timeout #48

Closed TeaBear5 closed 3 months ago

TeaBear5 commented 3 months ago

If a motor is set to run in a particular direction for too long it will automatically timeout and not run anymore to prevent potential damage and/or unneccessary heat. This will trigger a hardware error that will turn the board led red and will shut down the devices' ability to use the gantry motor at all.

dan-servita-team commented 3 months ago

I have measured the time to raise/lower under load, can reference these notes when I return to Ohio. I believe it was around 25 seconds. Meaning 35 or 40 would be a good number for a timeout. Can run more precise testing to see if that timeout number can reasonably be dropped