Move Stepper to Given Length

Hi All,

Need a help here! :wink:

I want to know how to control stepper motor to given length,

I will going to use TB6600 Stepper Driver with NEMA23 motor and Nextion HMI.
Could you please give some guide?

Thanks

Start be reading this link, and use it: How to get the best out of this forum - Using Arduino / Project Guidance - Arduino Forum

Look for example code for running steppers. Then do the same for the Nextion.

Combine the codes.

1 Like

What is the mechanical arrangement of the stepper system? It should be relatively easy to calculate the steps per unit length of the system and then how many steps for any length.

Post a drawing with detailed measurements and specifications.

Belt and lead screw calculator.

1 Like

maybe start with a simulator..

nano open door..

have fun.. ~q

1 Like

I'm going to control these feeding rollers by timing belts. i want to know when i give the length on HMI, arduino code for control stepper relative to the given length.

So, mark the starting point. rotate the stepper 100 steps and measure the length again. That is the distance per 100 steps. Arithmetic from there.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.