Hello guys, Im a little bit new to the scene but im running into a headbreaker.
I want to make:
An Arduino Pro Mini, activating a TMC2100 silent stepper motor which controls a 17HS4401 Nema17 stepper motor.
Ive checked all the pins, and their all showing voltages. The motor is powered by a 12v powersupply. All gnd are connected.
I believe the code shown below should rotate the motor or am I wrong?
Im using the code i got from Github:
Trinamic TMC2100 Example
// Note: You also have to connect GND, 5V/VIO and VM.
// A connection diagram can be found in the schematics.
#define EN_PIN 7 //enable (CFG6)
#define DIR_PIN 8 //direction
#define STEP_PIN 6 //step
//set pin modes
digitalWrite(EN_PIN, HIGH); //deactivate driver (LOW active)
digitalWrite(DIR_PIN, LOW); //LOW or HIGH
digitalWrite(EN_PIN, LOW); //activate driver
If somebody has advice, please let me know.