I am trying to build a very simple setup to run a stepper motor from.an arduino nano clone, currently all i get is the motor pulsing but not moving, my code and schematic are attached.
Can anyone see obvious reasons why this doesnt work?
I am trying to build a very simple setup to run a stepper motor from.an arduino nano clone, currently all i get is the motor pulsing but not moving, my code and schematic are attached.
Can anyone see obvious reasons why this doesnt work?
Hi. @typer03260
Welcome to the forum.
This link will show you how to post your code.
Can you please post a link to data/specs on the stepper.
Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.
It will be a more informative schematic, please include the stepper motor and its connections.
Thanks.. Tom...
![]()
Sorry but that is not a schematic. It is a physical layout diagram, which is only suitable for telling an unthinking person how to assemble something. It is not the sort of diagram that is any use for communicating what circuit you have.
You might want to watch this:-
Colin's Lab video on reading a schematic
Your physical layout diagram fails to show any wiring between the output of the driver to the motor driver coils, and also what that display actually is.
Hi @typer03260 ,
please ready @TomGeorge 's post. Providing further information is helpful to reduce efforts for sound support...
I found a description of a similar driver board on the Internet that allows to check the wiring if the driver (assuming that it corresponds to your board). It looks as if that's ok. But that's a guess...
You may look at this sketch
https://wokwi.com/projects/385268324618418177
in Wokwi and test it in your application (after changing the pin assignments where required). The main difference is the use of microseconds delay rather than millis
Good luck!
ec2021
Thanks to those who contributed, problem now solved after realising the TMC2208 was jumpered for UART not step/dir, after some tricky soldering to move J2 to the other position all worked okay.
Glad you got it working!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.