Lead screws for X and Y: non-integer steps per mm October 13, 2014 03:29AM |
Registered: 10 years ago Posts: 238 |
Re: Lead screws for X and Y: non-integer steps per mm October 13, 2014 04:22AM |
Registered: 10 years ago Posts: 14,682 |
Re: Lead screws for X and Y: non-integer steps per mm October 13, 2014 06:04AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Lead screws for X and Y: non-integer steps per mm October 13, 2014 03:57PM |
Registered: 10 years ago Posts: 238 |
Re: Lead screws for X and Y: non-integer steps per mm October 13, 2014 05:49PM |
Registered: 10 years ago Posts: 14,682 |
Quote
Traumflug
Any electronics and firmware plays fine with uneven steps/mm sets, of course. For ages, long before Ormerod was designed. The biggest error intoduced is the distance one microstep moves, or 1 / (steps/mm).
Re: Lead screws for X and Y: non-integer steps per mm October 14, 2014 09:50AM |
Registered: 14 years ago Posts: 7,616 |
Quote
dc42
There still remains the question of the resolution to which the steps/mm is represented in the firmware.
Quote
dc42
I was under the impression that some firmwares use fixed point arithmetic, because the 8-bit Arduinos are rather slow at doing FP calculations.
(integer)steps_to_move = round((float)distance * (float)steps/mm)
Generation 7 Electronics | Teacup Firmware | RepRap DIY |