Project of the Month built by SilverSanJuan
Home Model Engine Machinist > The Tools and Tips > Machine Modifications > Arduino Rotary Table for Dummies

Reply
 
Thread Tools
Old 07-16-2017, 06:21 PM   #61
billanygard
 
Join Date: Jul 2016
Location: South Sweden
Posts: 3
Liked 1 Times on 1 Posts

Default

I did as been told, swap tm with 1200.
BUT!
Still 1040 steps for 360 degrees


__________________
Olsson
billanygard is offline  
 
Reply With Quote
Old 07-16-2017, 09:59 PM   #62
Foozer
HMEM_LIFETIMESUPPORTER.png
 
Join Date: Nov 2008
Location: Camano Island, WA
Posts: 1,087
Liked 64 Times on 60 Posts
Likes Given: 2

Default

Quote:
Originally Posted by billanygard View Post
I did as been told, swap tm with 1200.
BUT!
Still 1040 steps for 360 degrees
if your steps are 200 per rev with table ratio of 3:1, 3 revolutions of the stepper is 1 turn [360] of the table or 600 steps. So thinking you wanted to step 1200 steps is 2 turns [720] of the table . Half stepping [400] will give you 1200 at 3:1 for 1 turn.
So whats off? steps per revolution or the table ratio?

const int StepsPerRotation = ?; // Set Steps per rotation of stepper
const int TableRatio = ?; // ratio of rotary table


__________________
"Nothing is more irritating than that which exposes the pedigree of ideas"----Lord Acton----
Foozer is offline  
 
Reply With Quote
Old 07-16-2017, 11:01 PM   #63
bmac2
 
Join Date: Aug 2013
Posts: 833
Liked 478 Times on 376 Posts
Likes Given: 189

Default

Hi Olsson. I think Fooser has it. Check the settings on your stepper driver and remember to work that in for the “StepsPerRotation”
__________________
Bob
Alberta, Canada
bmac2 is offline  
 
Reply With Quote
Old 07-16-2017, 11:11 PM   #64
bmac2
 
Join Date: Aug 2013
Posts: 833
Liked 478 Times on 376 Posts
Likes Given: 189

Default

Quote:
Originally Posted by billanygard View Post
Hello all of you!
Sometimes when you see something it says clonk in the head "That should i build".
This was such a thing.
Ordered missed components, draw a nice box and 3d printed it, hooked it up and its working.
BUT!
I use it for my 4th axels thing to my cnc router. 200steps/rot, beltgear 1:3 and it is impossible to get the controller to give the right steps. I need 1200 and get 1040. Fiddeling with numbers in the script only change between 1040 and 1440steps.

Any tips?
I know a few people around here have been asking about 3D printing a box for this project. I know Chuck (chucketn) would like to print one. Any chance you could post your STL file?
__________________
Bob
Alberta, Canada
bmac2 is offline  
 
Reply With Quote
Old 07-16-2017, 11:26 PM   #65
bmac2
 
Join Date: Aug 2013
Posts: 833
Liked 478 Times on 376 Posts
Likes Given: 189

Default

Quote:
Originally Posted by dnalot View Post
Hi Chucketn

Here is a link to amazon. com for the box. Note it took a few weeks to get

https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

And here is the link for the power inlet

https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

And the power supply

https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

Mark T
This is a little off topic but hey it’s my thread.
Mark I think I saw your avatar (http://www.homemodelenginemachinist....ad.php?t=22722) or its cousin in the wild while we were on vacation in BC a couple of weeks ago. My wife takes pictures of the pretty things . . . I’m always looking for the rust!
Attached Thumbnails
IMG_2108 (Medium).JPG  
__________________
Bob
Alberta, Canada
bmac2 is offline  
 
Reply With Quote
Old 07-17-2017, 12:40 AM   #66
Foozer
HMEM_LIFETIMESUPPORTER.png
 
Join Date: Nov 2008
Location: Camano Island, WA
Posts: 1,087
Liked 64 Times on 60 Posts
Likes Given: 2

Default

const int Multiplier = (StepsPerRotation * TableRatio)/360;
Only returns a whole number,

'member trying this script , my numbers were (400 *36)/360
for 40 steps per degree
400 steps per rev @ 36 || 27 || 18 || 9 returns whole steps

i.e. 400 36 14400 40 400 35 14000 38.8888888889 400 34 13600 37.7777777778 400 33 13200 36.6666666667 400 32 12800 35.5555555556 400 31 12400 34.4444444444 400 30 12000 33.3333333333 400 29 11600 32.2222222222 400 28 11200 31.1111111111 400 27 10800 30

The Bride loved the picture . . she wants one . .
__________________
"Nothing is more irritating than that which exposes the pedigree of ideas"----Lord Acton----
Foozer is offline  
 
Reply With Quote
Old 07-17-2017, 03:00 AM   #67
dnalot
Project of the Month Winner !!!
HMEM_SUPPORTER.png
 
dnalot's Avatar
 
Join Date: Jan 2013
Posts: 344
Liked 409 Times on 127 Posts
Likes Given: 63

Default

Hi

Quote:
Mark I think I saw your avatar
Nice, thanks for sharing

Mark
dnalot is offline  
 
Reply With Quote
Old 07-18-2017, 07:51 AM   #68
billanygard
 
Join Date: Jul 2016
Location: South Sweden
Posts: 3
Liked 1 Times on 1 Posts

Default

Hello again!
I was not clear enough in describing.
Steps/rev for motor = 200 set for halfsteps give 400steps/rev and with 1:3 gear need 1200 / rev.
I can see about those even numbers but dont understand yet how it rounds off in the end.
For now when ask for 360deg i get some 324 and hoping to get closer.

STL
Nema problema, would be happy if someone find them useful.
There are about 2x5hr printing time, print without cooling and with raft and support.
Let stay long on the buildplate for cooling, long things wrap easily.
I use som round 5mm alu pillars for the circuit mount and also for the two caseparts.
Attached Thumbnails
Inside.jpg   Outside.jpg  
Attached Files
File Type: stl top.stl (873.5 KB, 14 views)
File Type: stl bottom.stl (1.94 MB, 13 views)
__________________
Olsson
billanygard is offline  
chucketn Likes This 
Reply With Quote
Old 07-18-2017, 12:46 PM   #69
chucketn
Senior Citizen
 
chucketn's Avatar
 
Join Date: Dec 2009
Location: Jonesborough, TN
Posts: 1,163
Liked 135 Times on 118 Posts
Likes Given: 92

Default

Thank you for sharing your enclosure, billanygard.


__________________
Chuck in E. TN

HF X2, Micromark 7x14, Green 4x6 bandsaw, Anet A8 3d printer
chucketn is offline  
 
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arduino control for a 3” rotary table bmac2 Machine Modifications 101 04-23-2017 01:17 AM
Rotary table Coomba General Engine Discussion 64 08-22-2016 04:34 PM
wtb rotary table toolroom Buy / Sell / Trade / eBay 5 01-04-2016 03:31 PM
My Second Rotary Table,80 mm table. gus Introduction 75 07-29-2014 08:36 PM
Using a rotary table. radfordc General Engine Discussion 10 03-10-2009 12:58 PM



Newest Threads






- Top - Member List