Hello, I am using Pololu driver for the first time, so I have few questions about the Stepper Motor Driver „Pololu High-Power Stepper Motor Driver 36v4“ and I hope you can help me through it.
- Is this driver compatible to any Arduino libraries, like Acelstepper for example. I noticed that there’s an example for the AMIS-30543 (you can find it below) with this Library, so I assume that it’s possible to use it with Pololu High-Power Stepper Motor Driver 36v4. right?
- controlling the current through the SPI interface will not cause any problems. so if I make an algorithm to reduce the current in the stanstill situations, when the motor is not moving. in order to avoid any heating’s problems?
- using this Driver with a stepper Motor Nema23 (2.3v / 4.2A as rated current) requires any additionally cooling? especially if i am running it with 36V power supply
#include <SPI.h>
#include <AMIS30543.h>
#include <AccelStepper.h>
const uint8_t amisDirPin = 2;
const uint8_t amisStepPin = 3;
const uint8_t amisSlaveSelect = 4;
AMIS30543 stepper;
AccelStepper accelStepper(AccelStepper::DRIVER, amisStepPin, amisDirPin);
void setup()
{
SPI.begin();
stepper.init(amisSlaveSelect);
delay(1);
stepper.resetSettings();
stepper.setCurrentMilliamps(132);
stepper.setStepMode(32);
stepper.enableDriver();
accelStepper.setMaxSpeed(2000.0);
accelStepper.setAcceleration(500.0);
}
void loop()
{
accelStepper.runToNewPosition(0);
delay(500);
accelStepper.runToNewPosition(10000);
delay(500);
}
thank you