Hi all,
I need some help calibrating/ tuning the settings in the Marlin Firmware. Right now, when I do a 2cmx2cm square, I get about .85cmx.85cm and the Z axis is all over the place. I thought I followed all the configuration tips correctly, but I guess I made a wrong turn somewhere. So here is what I have got:
Mini-Rambo 1.3a board
on all axis: NEMA 17 Steppers (KL17H248-15-4A); bipolar, , 1.8 degrees
Z-axis: T8-2 8mm spindle/ lead screw (8mm per turn)
XY-aixs: GT2 belt with 20 teeth
Based on the documentation, I changed (or left unchanged):
#define MOTHERBOARD BOARD_MINIRAMBO
#define EXTRUDERS 1 # Even though I dont have one
#define USE_XMIN_PLUG # Even though I dont have endstops
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
#define X_DRIVER_TYPE DRV8825 # Even though the documentation for the
#define Y_DRIVER_TYPE DRV8825 # NEMAS says KL-4030 or KL-8060
#define Z_DRIVER_TYPE DRV8825
#define DEFAULT_AXIS_STEPS_PER_UNIT { 40, 40, 800, 100 }
I calculated DEFAULT_AXIS_STEPS_PER_UNIT as (not caring about the extruder setting):
Motor steps per revolution (=1600) / Idler Teeth (20) / Belt bitch (2) = 40 for X and Y
Motor steps per revolution (=1600) / Rod pitch (=2) = 800
Further configuration:
#define DEFAULT_MAX_FEEDRATE { 120, 120, 30, 25 }
#define DEFAULT_MAX_ACCELERATION { 400, 400, 200, 2000 }
In the advanced config section, I did as follows:
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
#define PWM_MOTOR_CURRENT { 1012, 1012, 1012 } // Values in milliamps
The PWM_MOTOR_CURRENT was calculated as follows:
ITripMax = 70% of max rated Amps, which for my NEMAs seems to be 1.5A, so I used 1.05; even though the specifications for the motors also talk about 4A. Not sure what the right value would be here.
Vref = ITripMax 0.8 = 0.84
Wv = Vref / 1.66 * 255 = 129.03
Wv/2552000 = 1012.05
MOTOR_CURRENT_PWM_RANGE is not set at all.
Now, as stated above, with these settings I am drawing a 2x2cm square in Inkscape, export as svg, import in Estelcam, cut on the outside and the resulting square is .85cm. The cutting tool is 3.2mm, so even if I screwed up the estelcam settings, I would assume to get 2cm-3.2mm or something the like.
The Gcode for the aquare is attached. Note that this one has an engraving in the middle, but that should make no difference for the dimensions.
Any suggestions would be deeply appreciated as I would love to be able to get consistent results in plywood for now.
Thanks!!!
20x20square.gcode (2.69 KB)