Is the MKS and BigTree closed loop stepper the same? I see more responses to BigTree question. I read BigTree was plug and play and seems to be getting good support from them. I'm using the MKS product and trying to go from a standard Nema17 to the MKS Closed Loop. Using PlatformIO C++, Arduino Nano, DRV8825 with the expansion bd. When using the MKS42b the driver is removed and replaced with the adapter and cable to the MKS. I can run the simple code provided in GitHub but can't get beyond that.
I'm stuck for now, I'm just trying to move the stepper to a given position (degrees) when ACS712 senses an AC current. If I can accomplish that I can move on to the array set up.
Over view of project:
AUTO GATE PROGRAM C++
Description: For use with vacuum system for dust collection in a woodworking shop.
Consists of one stationary round disk with holes arranged every 45°, 8 “ports” total each leading to a specific tool. Mated to this is a secondary disk that rotates with one matching port that aligns with the stationary ports 1 at a time as rotated. This assembly can be operated manually or automatically via this program. Using an Arduino Nano Microcontroller, ACS712 current sensors, and a Closed Loop stepper motor.
In simple terms,
- Each current sensor is connected to an analog port and detects when that tool is turned on.
- Each port is assigned a specific position that the stepper is programmed to 45, 90, 135, 180 ... 360°.
- The digital output from the Nano would tell the stepper to go to that position. The Closed Loop stepper remembers its current position and would remain in that position if it is already there. “Using same tool repeatedly”