BLTouch and Duet wifi - can't seem to let it work
-
Hi all,
Last week I (tried) to install a BLTouch but after multiple tries and adjustments in the config.g file I can't seem to let it work.
I did the configuration as mentioned on this website (https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/) . When this didn't work I checked the below troubleshooting page (https://duet3d.dozuki.com/Wiki/BLTouch_Troubleshooting) . Also no success.
Checked the wiring and it is connected as below
Can somebody help me with my issue?
Below is the current setup in my config file.; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon Feb 17 2020 22:28:24 GMT-0500 (Eastern Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"SKGo" ; set printer nameM669 K1 ; select CoreXY mode
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet;Set PanelDue 7i
M575 P1 B57600 S1; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes forwards
M569 P3 S0 ; 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 Z400.00 E415.00 ; set steps per mm
M566 X1200.00 Y1200.00 Z40 E1200.00 ; set maximum instantaneous speed changes (mm/min)
M203 X30000.00 Y30000.00 Z900.00 E2400.00 ; set maximum speeds (mm/min)
M201 X2000.00 Y2000.00 Z100.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E1400 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X300 Y330
Z343 S0 ; set axis maxima; Endstops
M574 X1 Y1 S3 ; set X endstops to use motor stall
M574 Z1 S2 ; set z-Probe; Z-Probe
M307 H5 A-1 C-1 D-1 ; unbind heater pin
M558 P1 C"!zprobe.in" H5 F100 T2000 ; P9 for BLTouch, dive height 3mm, probe at 100mm/s, travel 6000mm/s, up to 10 probes, pause 0.5s
G31 P500 X25 Y0 Z2.5 ; probe offset from nozzle, p is trigger value, set low for bltouch, set Z=0 for testing
M557 X10:280 Y0:240 S20 ; Define mesh grid
M376 H3 ; Taper off compensation over 3mm of height
M375 ; Load heightmap.csv;Bed Screws
;https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant
M671 X-10:310:170 Y-310:-310:5 P0.5 ; point1 (-10,-310), point2 (310,-310), point3 (170,5); Bed Heater
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M307 H0 A191.5 C435.9 D4.3 V24.3 B0 ; disable bang-bang mode for bed heater and set PID autotune PWM values
M140 H0 ; map heated bed to heater 0
; Extruder Heater
M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as Hemera thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M307 H1 A566.5 C268.7 D4.5 V24.3 B0 ; disable bang-bang mode for heater and set PID autotune PWM values; Fans
;Part cooling fan
M950 F0 C"fan0" Q200 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q200 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F2 C"fan2" Q200 ; create fan 0 on pin fan0 and set its frequency
M106 P2 S0 H-1 ; set fan 0 value. Thermostatic control is turned off; Tools
M563 P0 D0 H1 F0:2 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
M572 D0 S0.02 ;Pressure advanceM501 ; Load config-override.g
; Miscellaneous
T0 ; select first toolThanks!!
-
@Cinny1988 said in BLTouch and Duet wifi - can't seem to let it work:
The following is for v2 firmware:
M307 H5 A-1 C-1 D-1 ; unbind heater pin
This is for v3, assuming you are using heater 5 on the expansion connector.
M950 S0 C"exp.heater5" ; create servo 0 on heater 5 pin on expansion connector
The M558 P parameter value was wrong, the A, R and S parameters were missing, the F and T parameters did not match the comment - see corrected M558 below:
M558 P9 C"!zprobe.in" H5 F150 T2000 A10 R0.5 S0.3
This looks OK:
G31 P500 X25 Y0 Z2.5
This looks OK:
M557 X10:280 Y0:240 S20 ; Define mesh grid
This looks OK:
M376 H3 ; Taper off compensation over 3mm of height
Normally you should load the height map at the start of printing - not here in config.g
M375 ; Load heightmap.csv
Do you have your deployprobe.g and retractprobe.g files with the correct contents?
Frederick
-
@fcwilt said in BLTouch and Duet wifi - can't seem to let it work:
M558 P9 C"!zprobe.in" H5 F150 T2000 A10 R0.5 S0.3
Dear Frederick,
Thank you for your feedback.
I changed the items in the config file but now I get the error z probe already triggered at start of probing move.Below are the contents of my deployprobe.g and retractprobe.g files
M280 P7 S10 I1
M280 P7 S90 I1 -
@Cinny1988 said in BLTouch and Duet wifi - can't seem to let it work:
M280 P7 S10 I1
M280 P7 S90 I1that is rrf2 syntax.
change to
M280 P0 S10 -
Changed the codes to
M280 P0 S10
M280 P0 S90Currently still get the error that the probe is already triggered at start of probing move.
-
@Cinny1988 said in BLTouch and Duet wifi - can't seem to let it work:
Changed the codes to
M280 P0 S10
M280 P0 S90Currently still get the error that the probe is already triggered at start of probing move.
Hi,
Try changing
M558 P9 C"!zprobe.in" H5 F150 T2000 A10 R0.5 S0.3
to
M558 P9 C"zprobe.in" H5 F150 T2000 A10 R0.5 S0.3
Frederick
-
This works for me on V3.2.2 Duet Wifi and BLTouch .
; Endstops
M574 X1 Y2 S4
M574 Z1 S2 ; configure Z-probe endstop for low end on Z:Z-Probe
M558 P9 C"^zprobe.in" H5 F120 T3000 ; FW v3 BLTouch connected to Z probe IN pin
M950 S0 C"exp.heater5"
G31 P500 X-32 Y13 Z2.9 ; Set Z probe trigger value, offset and trigger height
M557 X15:225 Y15:225 S20 ; Define mesh grid
M915 X Y S5 R2; Disable heaters H3-H7 to free up pins
M950 H3 C"nil"
M950 H4 C"nil"
M950 H5 C"nil"
M950 H6 C"nil"
M950 H7 C"nil" -
Thanks everybody for helping me out with this.
Unfortunately it's still not working. Good news is that all the errors are gone but the probe itself is not doing anything.
When sending the G30 command it now raises the bed but the probe does nothing.
-
@Cinny1988 Are you on the correct pin? Your picture looks like you are not on H5. Mine is on pin 9 lower connector you look like you are on H3
-
@David-Green mine is indeed on H3
-
@Cinny1988 Change it over I guess either H3 or move pin
-
Yes it finally works!
I changed the pin to H5 and adjusted the config information as shared.Thank you all so much for the help.
-
@Cinny1988 said in BLTouch and Duet wifi - can't seem to let it work:
Yes it finally works!
I changed the pin to H5 and adjusted the config information as shared.Thank you all so much for the help.
Glad to hear you got it all sorted.
Frederick
-
@David-Green said in BLTouch and Duet wifi - can't seem to let it work:
; Disable heaters H3-H7 to free up pins
M950 H3 C"nil"
M950 H4 C"nil"
M950 H5 C"nil"
M950 H6 C"nil"
M950 H7 C"nil"Freeing up pins isn't needed by default in RRF 3.1 and beyond as the pins are free to begin with. You'd only need to free them if you wanted to reconfigure one on the fly.
Likewise this is no longer needed in RRF3 either. M307 H5 A-1 C-1 D-1 ; unbind heater pin
-
@Phaedrux Thanks, I will amend my config.g, not that it seems to have any impact on operation.