DCC-EX / EX-Turntable

Turntable-EX is a new feature to control a stepper motor based turntable from DCC++ EX
GNU General Public License v3.0
6 stars 5 forks source link

Bugfix: Random homing issue #2

Closed peteGSX closed 2 years ago

peteGSX commented 2 years ago

Identify where the Nano randomly starts the homing sequence. Is it resetting or being triggered somehow?

peteGSX commented 2 years ago

Clarification that this bug is actually a Nano reset occurring.

Need to understand why this happens, it seems to be unpredictable.

Sending many commands operates without issue, and then at some point it will trigger a reset.

Sometimes, it will reset on the first or very few commands being issued.

peteGSX commented 2 years ago

Turns out the issue was actually a faulty stepper. It must have had a fault causing excess current drawer resulting in the resets, as today it has failed completely, turns very slowly, and with the extra power provided by the LM7805 regulator on the PoC assembled version, this is able to be seen properly without resetting the Nano.