We connected this to one stepper motor as well as step, direction and ground to the GPIO’s on OpenMV. When we apply 24V to the driver to power the stepper motor, OpenMV disconnects from our computer within a few seconds. Do we need some isolation between the OpenMV board and the driver?
Actually we figured out that our USB connection was becoming loose as the stepper motor was moving and vibrating. We secured it and now the connection is stable.