Sled going off Spoil Board

I built frame as described 10’ x 8’ 3". I installed 3d printed anchors…amazing!

I’ve increased my "Retract Current Threshold to 1800 as the bands weren’t completely retracting. FIXED.

I go to run calibration and it pulls the sled off the 4’x8’ spoil board. Why?

Maslow tlY: 2050

Maslow trX: 3000
Maslow trY: 2050

Maslow br: 3000

2 Likes

Excellent progress so far!

Hmmm

Maslow_calibration_offset_X: 500
Maslow_calibration_offset_Y: 500

These two values will set how far in from the anchor points in X an Y the corner measurement will be taken…but we’re clearly further off than that would indicate.

Would you mind posting your full maslow.yaml file? It must be something in there, but I’m a bit lost as to what it could be. Maybe if I can look at all the values directly I could find it.

Since you are using the default frame which is very similar to mine you could also try deleting your maslow.yaml file and using just the unedited one that comes with the latest firmware. Might be worth a shot.

board: Maslow
name: Maslow S3 Board

Maslow_vertical: false

Maslow_calibration_offset_X: 500
Maslow_calibration_offset_Y: 500
Maslow_calibration_size_X: 10
Maslow_calibration_size_Y: 9

Maslow_tlX: 0
Maslow_tlY: 2050

Maslow_trX: 3000
Maslow_trY: 2050

Maslow_blX: 0
Maslow_blY: 0

Maslow_brX: 3000
Maslow_brY: 0

Maslow_tlZ: 144
Maslow_trZ: 97
Maslow_blZ: 75
Maslow_brZ: 117

Maslow_Retract_Current_Threshold: 1800
Maslow_Calibration_Current_Threshold: 1300

spi:
miso_pin: gpio.13
mosi_pin: gpio.11
sck_pin: gpio.12

sdcard:
card_detect_pin: NO_PIN
cs_pin: gpio.10

stepping:
engine: RMT
idle_ms: 240

uart1:
txd_pin: gpio.1
rxd_pin: gpio.2
baud: 115200
mode: 8N1

axes:
x:
max_rate_mm_per_min: 2000
acceleration_mm_per_sec2: 25
max_travel_mm: 2438.4
homing:
cycle: -1

motor0:
  dc_servo:

y:
max_rate_mm_per_min: 2000
acceleration_mm_per_sec2: 25
max_travel_mm: 1219.2
homing:
cycle: -1

z:
steps_per_mm: 100
max_rate_mm_per_min: 400
acceleration_mm_per_sec2: 10
max_travel_mm: 100

homing: 
  cycle: -1

motor0:
  tmc_2209:
    uart_num: 1
    addr: 0
    cs_pin: NO_PIN
    r_sense_ohms: 0.110
    run_amps: 1.000
    hold_amps: 0.500
    microsteps: 0
    stallguard: 0
    stallguard_debug: false
    toff_disable: 0
    toff_stealthchop: 5
    toff_coolstep: 3
    run_mode: StealthChop
    homing_mode: StealthChop
    use_enable: true
    direction_pin: gpio.16
    step_pin: gpio.15

motor1:
  tmc_2209:
    uart_num: 1
    addr: 1
    cs_pin: NO_PIN
    r_sense_ohms: 0.110
    run_amps: 1.000
    hold_amps: 0.500
    microsteps: 0
    stallguard: 0
    stallguard_debug: false
    toff_disable: 0
    toff_stealthchop: 5
    toff_coolstep: 3
    run_mode: StealthChop
    homing_mode: StealthChop
    use_enable: true
    direction_pin: gpio.38
    step_pin: gpio.46
1 Like

Well darn, that looks perfect :confused:

The frame is actually roughly 2050x3000mm, right?

When you do the Retract All → Extend All step and then hook the belts up to the anchors, how much extra belt is there?

Frame is 10’ (3048mm) x 8’ 3" (2516mm).

When I put the 2000mm and 3000mm in the yaml file, I didn’t haven enough slack and the reason for the extra 50mm.

I was gonna to try and change the X and Y calibration offset. The Left Lower corner of the 4x8’ plywood board is 10in (254mm) away from the Left Lower anchor in the x-axis and 24in (610mm) in the y-axis.

Thoughts?

1 Like

It’s weird because that’s basically exactly what mine is so I would expect it to work.

When you go to hook up the belts you should have a good amount of slack…like several inches of extra which makes me think that something might be off there.

I think that we should up the frame dimensions even a bit more to give us some more slack. Something like 3100 by 2100

We could increase the Y-axis offset (Maslow_calibration_offset_Y) to 700 too which should help keep it on the board.

Wouldn’t that pull the sled off even farther?

I’ll try a couple different combos and report back.

1 Like

I think that if the frame is actually bigger than the machine thinks it is it will pull in too much belt leading it to go off the side?

So if we want the machine to not go off the side it means we need to tell it that the frame is bigger?

I did all of it! and it worked! It’s running calibration right now!

board: Maslow
name: Maslow S3 Board

Maslow_vertical: false

Maslow_calibration_offset_X: 700
Maslow_calibration_offset_Y: 700
Maslow_calibration_size_X: 10
Maslow_calibration_size_Y: 9

Maslow_tlX: 0
Maslow_tlY: 2100

Maslow_trX: 3100
Maslow_trY: 2100

Maslow_blX: 0
Maslow_blY: 0

Maslow_brX: 3100
Maslow_brY: 0

Maslow_tlZ: 144
Maslow_trZ: 97
Maslow_blZ: 75
Maslow_brZ: 117

Maslow_Retract_Current_Threshold: 1800
Maslow_Calibration_Current_Threshold: 1300

spi:
miso_pin: gpio.13
mosi_pin: gpio.11
sck_pin: gpio.12

sdcard:
card_detect_pin: NO_PIN
cs_pin: gpio.10

stepping:
engine: RMT
idle_ms: 240

uart1:
txd_pin: gpio.1
rxd_pin: gpio.2
baud: 115200
mode: 8N1

axes:
x:
max_rate_mm_per_min: 2000
acceleration_mm_per_sec2: 25
max_travel_mm: 2438.4
homing:
cycle: -1

motor0:
  dc_servo:

y:
max_rate_mm_per_min: 2000
acceleration_mm_per_sec2: 25
max_travel_mm: 1219.2
homing:
cycle: -1

z:
steps_per_mm: 100
max_rate_mm_per_min: 400
acceleration_mm_per_sec2: 10
max_travel_mm: 100

homing: 
  cycle: -1

motor0:
  tmc_2209:
    uart_num: 1
    addr: 0
    cs_pin: NO_PIN
    r_sense_ohms: 0.110
    run_amps: 1.000
    hold_amps: 0.500
    microsteps: 0
    stallguard: 0
    stallguard_debug: false
    toff_disable: 0
    toff_stealthchop: 5
    toff_coolstep: 3
    run_mode: StealthChop
    homing_mode: StealthChop
    use_enable: true
    direction_pin: gpio.16
    step_pin: gpio.15

motor1:
  tmc_2209:
    uart_num: 1
    addr: 1
    cs_pin: NO_PIN
    r_sense_ohms: 0.110
    run_amps: 1.000
    hold_amps: 0.500
    microsteps: 0
    stallguard: 0
    stallguard_debug: false
    toff_disable: 0
    toff_stealthchop: 5
    toff_coolstep: 3
    run_mode: StealthChop
    homing_mode: StealthChop
    use_enable: true
    direction_pin: gpio.38
    step_pin: gpio.46

1 Like

Brilliant! Great work! :grinning:

Keep me posted on how it goes.

Computing… This may take several minutes
Fitness: 0.05185994917353326 in 100 cycles
Fitness: 0.055213043964903036 in 200 cycles
Fitness: 0.0573813274846064 in 300 cycles
Fitness: 0.05922075430633391 in 400 cycles
Fitness: 0.0612245830259927 in 500 cycles
…and it goes on…
Fitness: 0.20495518956387865 in 51600 cycles
Fitness: 0.20495518956387865 in 51700 cycles
Fitness: 0.20495518956387865 in 51800 cycles
Fitness: 0.20495518956387865 in 51900 cycles
Fitness: 0.20495518956387865 in 52000 cycles
Calibration complete

I thought you wanted a high number for Fitness…

1 Like

You do, that seems decidedly low. I think that about 0.5 is the lowest that’s really usable…but it’s not awful.

Basically what that means is that it’s having a hard time fitting the points to the the frame. We’re only talking about a few mm of error so we’re quite close.

Did all four belts seem tight during each time that it took a measurement?

It might be worth doing the exact same thing again and seeing if it’s different. That feels 98% of the way there. One funky measurement could be throwing it off.

Did you place the arms in the correct order?

1 Like

Yup. Just like this …

2 Likes