SOLVED Cannot get BL Touch to work!



  • Hi,

    I have followed the guides on both Betrue and Duet and cannot get my BL Touch V3 to react to any commands.

    My setup is as follows.

    Black/white to z probe in and GND
    Yellow to pin 8 (heater 3)
    Red to pin 1
    Brown to pin 2

    On machine startup, it executes the self test successfully, then red LED lights up and stays on.

    I have tried sending all of the m280 commands to test, deploy and restract and nothing happens.

    Here is my Config.
    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Feb 19 2021 15:39:15 GMT+1100 (Australian Eastern Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"V-King CXY" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M584 X0 Y1 Z2 E3:4 ; set drive mapping
    M350 Z16 E16:16 I0 ; configure microstepping without interpolation
    M350 X16 Y16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z3200.00 E406.00:406.00 ; set steps per mm
    M566 X900.00 Y900.00 Z150.00 E600.00:600.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z600.00 E21600.00:21600.00 ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z120.00 E1000.00:1000.00 ; set accelerations (mm/s^2)
    M906 X1000 Y1000 Z600 E1000:1000 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 X320 Y370 Z330 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T18000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X48 Y10.8 Z1.2 ; set Z probe trigger value, offset and trigger height
    M557 X0:320 Y15:370 S100 ; define mesh grid

    ; Heaters
    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
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"e0temp" Y"pt1000" R4700 ; configure sensor 1 as PT1000 on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H1 S300 ; set temperature limit for heater 1 to 300C
    M308 S2 P"e1temp" Y"pt1000" R4700 ; configure sensor 2 as PT1000 on pin e1temp
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H2 S300 ; set temperature limit for heater 2 to 300C

    ; Fans
    M950 F0 C"fan0" Q500 ; 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" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1:2 T50 ; set fan 1 value. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 F0 ; 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
    M563 P1 D1 H2 F0 ; define tool 1
    G10 P1 X20 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

    ; Custom settings are not defined

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue
    M501 ; load saved parameters from non-volatile memory
    T0 ; select first tool

    ; deployprobe.g
    ; called to deploy a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Aug 29 2020 09:03:19 GMT+1000 (Australian Eastern Standard Time)
    M280 P0 S10 ; deploy BLTouch

    ; retractprobe.g
    ; called to retract a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Aug 29 2020 09:03:20 GMT+1000 (Australian Eastern Standard Time)
    M280 P0 S90 ; retract BLTouch

    Any help would be appreciated.

    Thanks
    Ned



  • Ignore that my Retract and Deploy versions dont match...they are all for 3.2.3 now.



  • @nedmo said in Cannot get BL Touch to work!:

    M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch

    Can you change the setup to exp.heater7?
    Try that in the first step.
    Wiring up the BL-Touch to exp.heater3 does make some trouble. I can't get why, but we had that several times here.....



  • @DIY-O-Sphere

    I have moved the Yellow wire to pin 31
    and attempted to redo the config.

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Feb 19 2021 15:39:15 GMT+1100 (Australian Eastern Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"V-King CXY" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M584 X0 Y1 Z2 E3:4 ; set drive mapping
    M350 Z16 E16:16 I0 ; configure microstepping without interpolation
    M350 X16 Y16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z3200.00 E406.00:406.00 ; set steps per mm
    M566 X900.00 Y900.00 Z150.00 E600.00:600.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z600.00 E21600.00:21600.00 ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z120.00 E1000.00:1000.00 ; set accelerations (mm/s^2)
    M906 X1000 Y1000 Z600 E1000:1000 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 X320 Y370 Z330 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M307 H7 A-1 C-1 D-1 ; disable heater 7
    M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T18000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X48 Y10.8 Z1.2 ; set Z probe trigger value, offset and trigger height
    M557 X0:320 Y15:370 S100 ; define mesh grid

    ; Heaters
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
    M143 H1 S300 ; set temperature limit for heater 1 to 300C
    M305 P2 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 2
    M143 H2 S300 ; set temperature limit for heater 2 to 300C

    ; Fans
    M950 F0 C"fan0" Q500 ; 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" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1:2 T50 ; set fan 1 value. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 F0 ; 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
    M563 P1 D1 H2 F0 ; define tool 1
    G10 P1 X20 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

    ; Custom settings are not defined

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue
    M501 ; load saved parameters from non-volatile memory
    T0 ; select first tool

    But, when I send M307 H7 I am getting this.

    m307 h7
    Heater 7 model: gain 340.0, time constant 140.0, dead time 5.5, max PWM 1.00, calibration voltage 0.0, mode PID, inverted no, frequency default
    Computed PID parameters for setpoint change: P13.4, I0.482, D51.4
    Computed PID parameters for load change: P13.4



  • Ok, i got heater 7 disabled now.

    Still nothing happens if I send a M401 or M402. The notification is green though indicating that the command was sent successfully.



  • what firmware version are you on?



  • @Veti

    3.2 I think. I can check in the morning.


  • Moderator

    @nedmo said in Cannot get BL Touch to work!:

    M307 H7 A-1 C-1 D-1 ; disable heater 7

    Not used in RRF3.

    Verify your firmware version with M115. Your config looks OK for RRF3, but obviously won't work if your installed firmware is actually 2.x



  • @nedmo said in Cannot get BL Touch to work!:

    3.2 I think. I can check in the morning.

    your config is not consistent your entire heater and thermistor config is rrf2



  • Hi all,

    Ok yep, I thought I had upgraded to 3.0, but I was still on 2.5

    Now upgraded to 3.2.2. Just ran a fresh config of the RRF3.2.3

    And now i am getting my previous issues with H1 and H2 faulting and showing 2000c. Bed is working correctly.

    But, good news is that i just ran a M401 and M402 and BLtouch deployed and retracted. So, now I will follow the betrue guide to try a homing operation

    Here is my current config.

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Feb 24 2021 12:07:14 GMT+1100 (Australian Eastern Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"V-King CXY" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M584 X0 Y1 Z2 E3:4 ; set drive mapping
    M350 Z16 E16:16 I0 ; configure microstepping without interpolation
    M350 X16 Y16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z3200.00 E406.00:406.00 ; set steps per mm
    M566 X900.00 Y900.00 Z150.00 E600.00:600.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z600.00 E21600.00:21600.00 ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z120.00 E1000.00:1000.00 ; set accelerations (mm/s^2)
    M906 X1000 Y1000 Z600 E1000:1000 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 X330 Y390 Z330 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T18000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X48 Y-10.8 Z1.2 ; set Z probe trigger value, offset and trigger height
    M557 X0:290 Y15:370 S100 ; define mesh grid

    ; Heaters
    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
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"e0temp" Y"pt1000" R4700 ; configure sensor 1 as PT1000 on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H1 S300 ; set temperature limit for heater 1 to 300C
    M308 S2 P"e1temp" Y"pt1000" R4700 ; configure sensor 2 as PT1000 on pin e1temp
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H2 S300 ; set temperature limit for heater 2 to 300C

    ; Fans
    M950 F0 C"fan0" Q500 ; 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" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1:2 T50 ; set fan 1 value. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 F0 ; 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
    M563 P1 D1 H2 F0 ; define tool 1
    G10 P1 X20 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

    ; Custom settings are not defined

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue
    M501 ; load saved parameters from non-volatile memory
    T0 ; select first tool



  • I am using Semitec 104 GT thermister. I was told I need this config

    M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8

    All problems are now solved and now onto getting the mesh level



  • @nedmo

    Glad to hear you got it sorted.

    Frederick


Log in to reply