Arduino Rotary Table for Dummies

Help Support HMEM:

tjwal

Well-Known Member
Joined
Sep 22, 2013
Messages
92
Reaction score
13
If I remember correctly, I hope, the enable is not connected and relies on the driver having it on by default.
 

animal12

Member
Joined
Feb 27, 2018
Messages
14
Reaction score
0
I don't know . my driver works & the motor spins doing a tutorial , but just sits there with this project .
for the tutorial it just uses step & direction like the project here
animal
 

tjwal

Well-Known Member
Joined
Sep 22, 2013
Messages
92
Reaction score
13
is the stepper harder to turn by hand when it is powered up?
 

tjwal

Well-Known Member
Joined
Sep 22, 2013
Messages
92
Reaction score
13
If the motor is powered and enabled it will be difficult to turn by hand. This is true even without the Arduino connected. If it’s still easy to turn you have a problem with the driver/motor/power supply.
 

Marcomac01

New Member
Joined
Apr 16, 2020
Messages
3
Reaction score
0
Location
Italy
Hello, thanks a lot for the very detailed and easy to follow guide... i tried it and worked, the only issue i have is that i do not use a reducer. How should i edit the sketch to avoid it and have 0 reduction?
I am sorry for my bad english.
Thank you very much.
 

tjwal

Well-Known Member
Joined
Sep 22, 2013
Messages
92
Reaction score
13
Hello, thanks a lot for the very detailed and easy to follow guide... i tried it and worked, the only issue i have is that i do not use a reducer. How should i edit the sketch to avoid it and have 0 reduction?
I am sorry for my bad english.
Thank you very much.
You will have to change the variable called “TableRatio”. It is currently set for a 36:1 rotary table.
Are you driving a spindle directly from your stepper? If so, there are some other things that need to be done.

John
 

Marcomac01

New Member
Joined
Apr 16, 2020
Messages
3
Reaction score
0
Location
Italy
I have to directly connect the stepper motor to the rotation support... i have no rotation reduction
 

tjwal

Well-Known Member
Joined
Sep 22, 2013
Messages
92
Reaction score
13
I have to directly connect the stepper motor to the rotation support... i have no rotation reduction
With no reduction (1:1) the original code will not work.
On the line after where Table Ratio is defined another variable is defined
const int Multiplier = (StepsPerRotation * TableRatio)/360

since it is defined as an integer, StepsPerRotation * TableRatio, must be evenly divisible by 360 to work.

I believe the quick fix was to change it to
const float Multiplier = (StepsPerRotation * TableRatio)/360
i never used this method so I don’t know if there were any other changes required.

a better approach would be to use the modified code posted by
Kquiggle in message 303.
 

Marcomac01

New Member
Joined
Apr 16, 2020
Messages
3
Reaction score
0
Location
Italy
With no reduction (1:1) the original code will not work.
On the line after where Table Ratio is defined another variable is defined
const int Multiplier = (StepsPerRotation * TableRatio)/360

since it is defined as an integer, StepsPerRotation * TableRatio, must be evenly divisible by 360 to work.

I believe the quick fix was to change it to
const float Multiplier = (StepsPerRotation * TableRatio)/360
i never used this method so I don’t know if there were any other changes required.

a better approach would be to use the modified code posted by
Kquiggle in message 303.
Ok, i was able to find a previeus version of the code, the version 5.5 (2018) and worked well for me.
 

Latest posts

Top