You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been running some tests with the library using the examples but have encountered an issue and I'm not sure how to resolve it.
When following the examples it encourages you to turn the power off to the motor to see what happens (assuming you have comms and driver is setup). On doing this the example reports that driver is not communicating. On resuming power the MC reports that the stepper driver is communicating but not setup.
There are two options I have found that fix this: either resetting the MC (If monitoring the serial port in Arduino IDE) or if programming with VS Code if you stop monitoring the serial port and then resume monitoring the serial port.
I have tested this with an ESP32 and an Arduino mega with the same behaviour observed.
Does anyone have any insight as to the issue? The examples seem to suggest that a power cycle will be okay, but I'm not seeing it.
The text was updated successfully, but these errors were encountered:
I've solved half the issue. I was running the TestCommunication example with the ESP32 and on the stepper_driver.isCommunicatingButNotSetup() where it runs stepper_driver.setup(serial_stream) i forgot to explicitly state the Rx and Tx pins (as per the change in the ESP32 UART outlined in issue #70
I've been running some tests with the library using the examples but have encountered an issue and I'm not sure how to resolve it.
When following the examples it encourages you to turn the power off to the motor to see what happens (assuming you have comms and driver is setup). On doing this the example reports that driver is not communicating. On resuming power the MC reports that the stepper driver is communicating but not setup.
There are two options I have found that fix this: either resetting the MC (If monitoring the serial port in Arduino IDE) or if programming with VS Code if you stop monitoring the serial port and then resume monitoring the serial port.
I have tested this with an ESP32 and an Arduino mega with the same behaviour observed.
Does anyone have any insight as to the issue? The examples seem to suggest that a power cycle will be okay, but I'm not seeing it.
The text was updated successfully, but these errors were encountered: