Stepper motor driver 36V4 with Arduino MKR GSM1400

Hello,
Config : 36V4 + one 23HS30 stepper motor.
We tried 36V4 connected to an Arduino Uno & Library example, which works fine. Perfect!

When we try with Arduino MKR1400 (moved SPI Pins 11,12,13 to 8,9,10 on MKR and changed Vref and Sleep to 3V3).
The same example program doesn’t work.
Does someone have an idea?
Thank’s in advance
Bertrand

Hello, Bertrand.

It sounds like you are using the BasicSteppingSPI sketch in the High-Power Stepper Motor Driver library for Arduino. Can you provide more details on how the example program is not working? Are you getting errors in the Arduino IDE when trying to upload the program or is your stepper motor not moving after successfully uploading the sketch?

Can you post pictures or a wiring diagram showing how everything is connected in your setup using the Arduino MKR GSM 1400 board? Please note that pins 11, 12, 13 on the Arduino Uno are MOSI, MISO, SCK, respectively, but pins 8, 9, 10 on the Arduino MKR GSM 1400 are MOSI, SCK, MISO (they are in a different order), so can you verify that those connections are correct?

- Amanda

1 Like

Hello Amanda,
I use BasicStepping skecth example in the High-Power Stepper Motor library. It works fine with Arduino UNO but not with MKR 1400 GSM.
No errors in IDE but the motor dont move after succesfully uploading the skech. (It move with Arduino Uno).
I cheched the wiring and yes, it’s ok
Arduino — Driver

2 — DIR
3 — STEP
4 — SCS
8 — SDATI
9 — SCLK
10 — SDATO
3V3 — SLP
3V3 — IOREF
GND — GND

Thank’s for your Help.

Bertrand

Can you post pictures showing all the devices (e.g. power supply, stepper motor, and driver) in your setup and how they are connected to the Arduino MKR GSM 1400?

- Amanda