A
Arduino•2mo ago
Celina Pulsar

Help With TMC 2208 Stepper Motor Driver

Hello! So i asked in coding earlier and i tried to rule out any hardware issue with my current project. The long short of it is that right now I'm just trying to get a motor to spin. So far I've had no luck. Driver: TMC 2208 Motor: SM-42BYG011-25 The steps I already tried is New Arduino: No change New driver: No change Reseating connections at board+Arudino: No change Different code: No change (was originally using AccelStepper, but went to a toggling on the step pin with DIR set low) I feel like I'm missing something basic. Not sure if these could be the problems but it may be something: Cheap drivers (amazon specials) so I could have got a few bad ones back to back Bad Power supply (I got a 12V barrel plug that may be extremely dirty. Have not broke out my scope yet.) The motor feels smooth and isn't shorted. Between the coils so i dont think its a motor issue. But Feedback is welcome! Will post pictures of the set-up shortly.
11 Replies
Celina Pulsar
Celina PulsarOP•2mo ago
AnonEngineering
AnonEngineering•2mo ago
looking at the drawing, are the grounds connected together?
Celina Pulsar
Celina PulsarOP•2mo ago
only on the TMC 2208 they are for some reason the GND for the TMC I/O and VM is not isolated with these chips i got I did short the EN to V+ though another Helper did tell me that
because its active low
AnonEngineering
AnonEngineering•2mo ago
everything (motor and logic power) should share a common ground
Celina Pulsar
Celina PulsarOP•2mo ago
im gunan try to move the EN to my 5V- Rail and see wht changes Then yes they all share a ground
AnonEngineering
AnonEngineering•2mo ago
ok, the TMC datasheet will tell you if ENable is active high or low
Celina Pulsar
Celina PulsarOP•2mo ago
ENN 2 DI Enable not input. The power stage becomes switched off (all motor outputs floating) when this pin becomes driven to a high level.
AnonEngineering
AnonEngineering•2mo ago
usually we would refer to a "5V- rail" as ground, to avoid confusion on systems that might have "-5v" power rails so EN should be tied LOW (or perhaps through a 10K if you want to switch it under MCU control)
Celina Pulsar
Celina PulsarOP•2mo ago
Currently im looking to have the driver enablded 24/7. Once the motor gets working ill be more comfortable adding in other controls. Fair there DC is still a bit weird to me, as at work we use -24 as our power point and + as the common/0V/Ground (whatever your fancy is at the time) YES! the motor vibrates now!
AnonEngineering
AnonEngineering•2mo ago
vibrates is a start 🙂 check the phasing of the coils gtg, gl with it!
Celina Pulsar
Celina PulsarOP•2mo ago
thank you! from here i think i need to fine tune the coding and pulses to get it to visibility rotate

Did you find this page helpful?