Monoprice Mini Delta on Duet2Wifi Calibration Problem



  • Hi,
    i update my Monoprice Mini Delta with a Duet2Wifi Board.
    First i struggle a bit with the IR Top Endstops. Now i repaced them with Hadware Switches, which runs well.
    At bottom i connect all 3 z-Endstops(switchs) and put it as Z-Probe. So far so good. I finaly stuck now at Calibration.
    I think i got a wrong high anywhere. I dont find. May sombody find it in 1 sec:). If ill do a G32 i get thees output:

    31.5.2020, 16:11:49 G32
    Error: Z probe was not triggered during probing move
    31.5.2020, 16:11:52 Error: Z probe was not triggered during probing move
    31.5.2020, 16:11:55 Error: Z probe was not triggered during probing move
    31.5.2020, 16:11:55 Error: Compensation or calibration cancelled due to probing errors

    the G28 seems flat but on the wrong high.:
    ![0_1590936319964_31-05-_2020_16-39-17.png](Uploading 100%)

    Hers my Bed.G:
    ; bed.g
    ; called to perform automatic delta calibration via G32
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.1 on Wed May 27 2020 20:07:18 GMT+0200 (Mitteleuropäische Sommerzeit)
    M561 ; clear any bed transform
    ; Probe the bed at 3 peripheral and 3 halfway points, and perform 6-factor auto compensation
    ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
    G30 P0 X0 Y50 H0 Z-99999
    G30 P1 X50 Y-42.45 H0 Z-99999
    G30 P2 X-50 Y-42.45 H0 Z-99999
    G30 P3 X0 Y42.4 H0 Z-99999
    G30 P4 X36.72 Y-21.2 H0 Z-99999
    G30 P5 X-36.72 Y-21.2 H0 Z-99999
    G30 P6 X0 Y0 H0 Z-99999 S6
    ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
    ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)

    And my Config.g
    ; Communication and general
    M111 S0 ; Debug off
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves

    M665 R62 L121 B50 H124.12 ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them
    xx ; Machine name and Netbios name (can be anything you like)
    xx ; Machine password (used for FTP)

    ;*** End of factory test lines to be removed
    ; Network
    M552 P192.168.178.48 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ;*** Networking
    M552 S1 ; Turn network on

    ;M555 P2 ; Set output to look like Marlin
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Drives
    M569 P0 S0 ; physical drive 0 goes backwards
    M569 P1 S0 ; physical drive 1 goes backwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X100.00 Y100.00 Z100.00 E101.00 ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 Z0 S1 ; set minimum Z

    ; Endstops
    M574 X2 Y2 Z2 S1 ; set active low and disabled endstops
    ; Thermistors
    M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set first nozzle thermistor ADC correction
    M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set 2nd nozzle thermistor ADC correction

    M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds

    ; Z-Probe
    M558 P5 H5 I1 F360 T4000 ; set Z probe type to switch and the dive height + speeds
    G31 p0001 X0 Y0 Z6 ; set Z probe trigger value, offset and trigger height
    M557 R52 S20 ; define mesh grid

    ; Heaters
    M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
    ;M305 P0 T100000 B4092 R2200 ; set thermistor + ADC parameters for heater 1
    M143 H0 S120 ; set temperature limit for heater 1 to 120C
    ;M305 P1 T100000 B4092 R2200 ; set thermistor + ADC parameters for heater 2
    M143 H1 S280 ; set temperature limit for heater 2 to 280C

    ; Fans
    M106 P2 S0 I0 F255 H1 T45 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F255 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 F0 H1 ; define tool 1
    G10 P0 X0 Y0 Z0.28 ; set tool 1 axis offsets
    G10 P0 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
    ;*** If you have a single-nozzle build, comment the next 2 lines
    ;M563 P1 D1 H2 ; Define tool 1
    ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures

    ; Custom settings are not defined

    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory



  • Hmm the fotoupload doesn't work so here are the params of Height Map:
    Number of points: 21 Probing radius: 52 mm Probe area: 84.9 cm² Maximum deviations: -6.839 / -5.051 mm Mean error: -5.894 mm RMS error: 0.549 mm



  • 31-05-_2020_16-39-17.png


  • Moderator

    @tobias-koch-tk said in Monoprice Mini Delta on Duet2Wifi Calibration Problem:

    ; Z-Probe
    M558 P5 H5 I1 F360 T4000 ; set Z probe type to switch and the dive height + speeds
    G31 p0001 X0 Y0 Z6 ; set Z probe trigger value, offset and trigger height

    What type of probe is it? G31 P0001 is nonsense. P1000 more likely.



  • They are 3 Switches under the buildsurface. I put them in row and connect them to z-probe. They trigger 1000 if hit and 0 if not hit. Ill try with P1000



  • Same Problem 😞

    31.5.2020, 23:05:46 G32
    Error: Z probe was not triggered during probing move
    31.5.2020, 23:05:49 Error: Z probe was not triggered during probing move
    31.5.2020, 23:05:53 Error: Z probe was not triggered during probing move
    Error: Compensation or calibration cancelled due to probing errors



  • G29 says:
    G29
    Warning: the height map has a substantial Z offset. Suggest use Z-probe to establish Z=0 datum, then re-probe the mesh.
    49 points probed, min error -5.911, max error -3.354, mean -4.845, deviation 0.643
    Height map saved to file heightmap.csv


  • Moderator

    @tobias-koch-tk said in Monoprice Mini Delta on Duet2Wifi Calibration Problem:

    G31 p0001 X0 Y0 Z6

    Ok, next question. How did you get Z6? If the probe is switches under the bed that gets pushed down by the nozzle contacting, how is the nozzle 6mm away when it triggers?

    If it's a contact probe the trigger height is likely slightly negative.

    Have you used this?

    https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe



  • Okay that realy helps. I thought its the hight between the trigger steps. I run the Prozess and came out at -0.003mm. And edit to config.g After reboot i get the G32 done : G32
    Calibrated 6 factors using 7 points, deviation before 2.820 after 0.080
    and G29:
    G29
    49 points probed, min error -0.535, max error 0.205, mean -0.061, deviation 0.182
    Height map saved to file heightmap.csv

    The Height Map dont look that good but much better as before.
    2acae8f0-3e69-4058-8bc1-b4561cc05721-grafik.png


  • Moderator

    Switches under the bed have a disadvantage of the bed being flexible and the whole mechanical setup being compliant in different amounts at different points on the bed. Really not suitable for generating a detailed heightmap in my opinion, though it would be fine for measuring a single point at the center to define the Z0 point. To do a heightmap ideally you'd have a smart effector or some probe type that doesn't need to physically press into the bed so much.


Log in to reply