2020-10-01, 06:03 PM
Since the motor controller is optically isolated there is no way to send the reset pulse without an extra isolator just for that which I don't intend to ever use.
What I do is press the reset button on the arduino exactly when running avrdude, or if there is no reset button, apply power to the motor controller at this same moment.
The gpio16 is used to reset the hat arduino which is programmed over spi directly, but again, it is not optically isolated, it runs at 3.3v and is used only to receive RF, IR, and provide an extra serial port and some gpio and analog inputs.
What I do is press the reset button on the arduino exactly when running avrdude, or if there is no reset button, apply power to the motor controller at this same moment.
The gpio16 is used to reset the hat arduino which is programmed over spi directly, but again, it is not optically isolated, it runs at 3.3v and is used only to receive RF, IR, and provide an extra serial port and some gpio and analog inputs.