teemuatlut / TMCStepper

MIT License
479 stars 188 forks source link

Create moveByUART.ino #258

Open KonstantinKalinskiy opened 1 year ago

KonstantinKalinskiy commented 1 year ago

Please add this example. It shows how to move motor only by UART communicaton. Connecting STEP/DIR pins is not necessary

artmekab commented 1 year ago

Nice one! Do you know of any stepstick type that have this address pin available? Would need to control 7 or more via UART.

SLAVEADDR: These eight bits set the address of unit for the UART interface. The address becomes incremented by one when the external address pin NEXTADDR is active. Range: 0-253 (254 cannot be incremented), default=0

KonstantinKalinskiy commented 1 year ago

Nice one! Do you know of any stepstick type that have this address pin available? Would need to control 7 or more via UART.

SLAVEADDR: These eight bits set the address of unit for the UART interface. The address becomes incremented by one when the external address pin NEXTADDR is active. Range: 0-253 (254 cannot be incremented), default=0

unfortunately no. according to documentation tmc2209 has 4 addresses in UART mode