BLtouch & duet wifi issues



  • Hello everybody.
    I have some issues with Bltouch. I mounted a duet wifi in my Hypercuve evo printer.
    I wiring my Bltouch like that:
    red wire –>+ 5v (1st pin in the expansion slot)
    brown wire –> GND (2nd pin in the expansion slot)
    yellow wire –> heater 7 (31th pin in the expansion slot)

    white wire –> "E0 stop" pin in duet wifi board
    black wire --> "E0 GND" pin in duet wifi board

    when I turn on the printer, the BLtouch goes out fot two times (it's all ok), but when I goes Z axis to home, bltouch don't work.
    What's the problem?

    Here my fw configuration:

    ; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Dec 16 2017 10:42:32 GMT+0100 (ora solare Europa occidentale)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M553 S1

    M667 S1 ; Select CoreXY mode
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X400 Y400 Z400 S0 ; Set axis maxima

    ; Endstops
    M574 Z0 S0 ; Set active low endstops
    M574 X1 Y2 S1 ; Set active high endstops
    M307 H7 A-1 C-1 D-1 ;
    M558 P5 X0 Y0 Z1 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    G31 P25 X9 Y10 Z1.5 ; Set Z probe trigger value, offset and trigger height
    M557 X15:215 Y15:195 S20 ; Define mesh grid

    ; Drives
    M569 P0 S0 ; Drive 0 goes backwards
    M569 P1 S0 ; Drive 1 goes backwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M350 X16 Y16 Z16 E16:16 I0 ; Configure microstepping without interpolation
    M92 X80 Y80 Z800 E420:420 ; Set steps per mm
    M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200:1200 ; Set maximum speeds (mm/min)
    M201 X500 Y20 Z250 E250:250 ; Set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M305 P2 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 280C

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0

    my deployprobe.g file contens:

    M280 P7 S120 I1

    and retractproble.g conteins

    M280 P7 S160 I1

    anyone can help me?
    cheers

    Diego



  • For one, I think output P7 is incompatible with bltouch for not having the right kind of hardware PWM. Going back in the wiki, I might be wrong about that but I think P6 would work. I ended up going back to P3 because that was a known working config.

    I think your "S" parameters are wrong. I recall S120 and S160 turn on self test and reset, respectively.

    so shouldn't deployprobe.g be:
    M280 P3 S10 I1

    retract probe.g:
    M280 P3 S90 I1

    Substitute Px for the heater (PWM) pin you want to use.



  • ok,
    I put the yellow wire in the 8th pin into the expansion slot.
    I modify the fw like that:

    ; Endstops
    M574 Z0 S0 ; Set active low endstops
    M574 X1 Y2 S1 ; Set active high endstops
    M307 H3 A-1 C-1 D-1 ;
    M558 P5 X0 Y0 Z1 H5F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    G31 P25 X9 Y10 Z1.5 ; Set Z probe trigger value, offset and trigger height
    M557 X15:215 Y15:195 S20 ; Define mesh grid

    and modify the deplyprobe and retractprobe files.

    it don't work



  • I try to wiring BLtouch white wire and black wire into Z proble slot, bat it dosn't work.



  • ok…. it work: when it's triggered, webpanel show Z-probe value:1000. when it is estract, show 0.... but it don't stop Z homing
    sorry for my english...I'm italian guy


  • administrators

    Here's how to test a Z probe. Position the nozzle high above the bed, then send G30. The probe should deploy and start moving towards the bed. Trigger the probe by holding something under it. That should stop the movement. If it doesn't, turn the power off before the nozzle reaches the bed.



  • Hi
    Looks like I have the same issue as you. 😞 just posted mine as well. Hopefully, we can get it sorted.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.