I am making the loom version 2, which will be a digital loom. For this project, I am using:

  • Arduino Uno Board
  • TMC2209 v2.0 silentstepstick driver for stepper motor
  • Unipolar/Bipolar, 200 Steps/Rev, 42×48mm, 4V, 1.2 A/Phase Stepper Motor: NEMA 17 size hybrid motor

Stepper Motor: look at FAQ for motor to driver wiring

Stepper Driver: this is for TMC2209 but this is the closest explanation I could find for pinout.

Silentstepstick

Unipolar and Biolar Wiring: a general understanding of wiring motors

At this stage, Ella is helping me figure out how to connect the driver, the motor and the arduino board.

Useful exemplary projects:

The pin labeling is very different in all versions of TMC2209. This website has a table to show how confusing it is (at least for me).

TMC2209 Arduino Library

Serial1 not declared solved

At the end of this day, the motor is still not running.


After another day of struggle with Ella on getting the motor do something, I found this project from Fab Academy 2022. The documentation shows the Arduino, silentstepstick and stepper motor connections clearly. Although, they used a different driver, it was still useful for us. The motor pins connections we used the previous day were wrong. After making the necessary change and connecting the driver to an external power supply, the motor is spinning now!!

Look into this code for running a stepper motor.


Using a solenoid with arduino