PWM output during crash or hang

I expect the answer is "yes" but I'd like to be sure:

I have an arduino Uno R3. I'm going to use the PWM to drive a motor controller which in turn will drive a brushless motor with a propeller attached (It's for an autonomous boat). I've confirmed that the motor driver won't command the motor if it fails to receive a PWM signal.

If the arduino hangs or crashes, will the PWM signal stop? I am wondering about whether the boat might continue on its merry way with no control over what's happening. I suspect that the signal will stop in the event of a crash or a hang, but I'd like to confirm that.

Thank you in advance.

PWM is generated automatically by a timer, and will continue without program intervention after the timer has been set up.

A "crash" generally has unpredictable results. For a failsafe, you probably want to implement a watchdog reset.

Good to know. Thank you!

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