quintindunn / StringArtRobot

A StringArt robot inspired from https://www.youtube.com/watch?v=WGccIFf6MF8
MIT License
1 stars 0 forks source link

Stepper motor not driving #11

Open quintindunn opened 1 month ago

quintindunn commented 1 month ago

I'm not quite sure the problem, it may be due to current/voltage, or the wiring of the stepper -> TMC2209. The wiring should be the same as this schematic. When driving it it runs at very low power even with the current pot set to the highest value, then occasionally if I disable it (move en pin from LOW to HIGH) then re-enable it, the current will go to expected levels. The stepper occasionally works, but more then not will have a very jerky motion, unable to pick a direction, and when it finally starts driving has very little torque. I believe the stepper is wired correctly, though at this point I'm very confused. I wonder if the driver is maybe drawing too much current for the RPI Z 2W to handle, causing more of an oscillation than a step, though I don't think that is the case.

When I get home later I plan on putting a 5v, 5a power supply in parallel with the RPI 5v line.

If anyone comes across this and has any input as to why it's doing that it would be greatly appreciated.

quintindunn commented 1 month ago

While reading the datasheet I saw something about the DIAG pin signaling when the driver would need to be rest as I described above, I see it has tools for diagnostics built in, so I'll probably try using those when I get home.