tinyG Settings

Discussion of tinyG control platform
aldenhart
Posts: 132
Joined: Tue Apr 10, 2012 2:17 pm

Re: tinyG Settings

Post by aldenhart » Sun Mar 03, 2013 1:45 pm

Thanks for the great response.

I've been wondering if it makes sense to change the input and display of this value to a number that's divided by a million. On some machines I've set jerk as high as 100 billion. It's a lot of zeros to manage. It might be easier to set it to 100000 for 100 billion. Also, the newer version of the code allow numbers to have embedded commas, so it can be entered as $xjm=100,000,000,000 Obviously this doesn't work for JSON as the commoa is a field separator, but in text mode it's fine.

Thoughts on dividing the number by 1 million?

Alden

cvoinescu
Posts: 4442
Joined: Thu Jul 19, 2012 6:50 pm
Location: Camberley, UK
Contact:

Re: tinyG Settings

Post by cvoinescu » Sun Mar 03, 2013 8:54 pm

What if, instead of mm/min^3, jerk would be expressed in mm/s^3, or even m/s^3? That would scale it by 216,000 or 216,000,000, respectively. The m/s^3 units are more intuitively understood, too: 1 m/s^3 jerk varies acceleration by about a tenth of a gee per second.
Proud owner of ShapeOko #709, eShapeOko #0, and of store.amberspyglass.co.uk

JuKu
Posts: 69
Joined: Sun Sep 02, 2012 2:55 pm

Re: tinyG Settings

Post by JuKu » Mon Mar 04, 2013 8:47 am

Divide by million or even by billion - or change the units as cvoinescu suggest. But do make the numbers smaller, please.

aldenhart
Posts: 132
Joined: Tue Apr 10, 2012 2:17 pm

Re: tinyG Settings

Post by aldenhart » Tue Oct 15, 2013 11:54 am

FYI - I have posted example Shapeoko settings for TinyG here. These are a good starting point for a TinyG Shapeoko setup. Please let me know if you have any comments or corrections.

https://github.com/synthetos/TinyG/wiki ... eoko-Setup

chambrot
Posts: 27
Joined: Mon Sep 30, 2013 2:55 pm
Location: Miami, FL
Contact:

Re: tinyG Settings

Post by chambrot » Thu Jan 02, 2014 2:11 am

Hello, i am trying to get my shapeoko calibrated.

Not sure how do go about doing this...I want to figure out how much my travel is per motor revolution. This is whats happening:

1. I set a ruler down with a marker at 0mm.

2. I send a command for a 100mm move on the X-axis...its very close.

3. I send a command for another 100mm move on the X-axis (should not be at 200mm)...it overshoots by very little.

4. I send a command for a bigger distance, move to 450mm...it over shoots by even more.

Seems that the further I travel the worse the accuracy gets. I know there is an formula for figuring this out somewhere, but can't seem to find it.

Also is there a command to send to the TinyG to tell the motors to move 1 revolution or 200 steps? this way I can use a caliper to see how much it actually travels when the motor turns 1 revolution.

Thanks in advance!
Custom ShapeOko using original design, 1000mm MakerSlide X Axis, Double 1000mm MakerSlide Y Axis, Nema 23 on all, upgraded Z Axis, Dremel 300, controlled by TinyG

JuKu
Posts: 69
Joined: Sun Sep 02, 2012 2:55 pm

Re: tinyG Settings

Post by JuKu » Thu Jan 02, 2014 1:55 pm

You need to know your pulleys and belts. When you do, just do the math: For example GT2 belt has 2mm pitch. Assuming a 20 teeth pulley, that works out as 40mm per revolution. Ask for 400mm travel. That is 10 revolutions. If you got 400.5mm, tell the TinyG that one revolution is 40.05mm.

WillAdams
Posts: 8603
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: tinyG Settings

Post by WillAdams » Thu Jan 02, 2014 2:08 pm

The basics of this are on the wiki: http://www.shapeoko.com/wiki/index.php/Calibration (see also http://www.shapeoko.com/wiki/index.php/ ... figuration for the under-lying math and http://www.shapeoko.com/wiki/index.php/Tuning)

twforeman did a excellent blog post on this linked from the first page: http://timf.anansi-web.com/wp/shapeoko-accuracy-really/
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

chambrot
Posts: 27
Joined: Mon Sep 30, 2013 2:55 pm
Location: Miami, FL
Contact:

Re: tinyG Settings

Post by chambrot » Fri Jan 03, 2014 5:13 am

Got it!! It was 35.956mm per rev. :D

Had to fine tune that number a bit, but its pretty close now...with a ruler at least. Gotta try with something more precise.

Thanks!!!
Custom ShapeOko using original design, 1000mm MakerSlide X Axis, Double 1000mm MakerSlide Y Axis, Nema 23 on all, upgraded Z Axis, Dremel 300, controlled by TinyG

aldenhart
Posts: 132
Joined: Tue Apr 10, 2012 2:17 pm

Re: tinyG Settings

Post by aldenhart » Wed Aug 27, 2014 4:57 am

One further note: The travel-per-revolution ($1tr, $2tr...)for Shapeoko is 40.0. The pulleys are different than the Shapeoko1's that were discussed when the previous entries were written.

The GT2 pulley has 20 teeth at 2mm spacings. Hence 40 mm per revolution.

Post Reply