Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    BL Touch deploys/retracts 2x when turn on board but nothing else

    Duet Hardware and wiring
    3
    6
    110
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MJCT
      MJCT last edited by

      Hi,
      Using BL Touch 3.1 as a Z end stop as well
      Duet WIFI without any expansion board
      The probe deploys and retracts twice when I turn on the board. A red led turns on (doesn’t blink).
      Problem, it simply doesn’t respond to any commands after that. For example I try “M280 P4 S10 I1” or “M280 P4 S10” the console responds with a green message like is everything all right but the probe doesn’t deploy at all.

      I followed the instructions
      https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouch

      And confirmed “M307 H4 A-1 C-1 D-1” instead of “H3”was the right option over here
      https://forum.duet3d.com/topic/13094/config-tool-m667-m669-and-disable-pwm-channel-bug

      Thanks in advance

      ; Configuration file for Duet WiFi (firmware version 2.03)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Nov 28 2019 16:04:13 GMT+0000 (Hora padrão da Europa Ocidental)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"AA 300x300x600" ; set printer name

      M667 S1 ; select CoreXY mode

      ; Network
      M551 P"AA" ; set password
      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
      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z4000.00 E92.60 ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
      M906 X1750 Y1750 Z1750 E1750 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y15 Z0 S1 ; set axis minima
      M208 X290 Y295 Z585 S0 ; set axis maxima

      ; Endstops
      M574 X1 Y1 S0 ; set active low and disabled endstops
      M574 Z1 S2 ; set endstops controlled by probe

      ; Z-Probe
      M307 H4 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
      M558 P9 H0.5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X25 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
      M557 X20:270 Y20:275 S20 ; define mesh grid

      ; Heaters
      M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
      M143 H0 S110 ; set temperature limit for heater 0 to 110C
      M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
      M143 H1 S280 ; set temperature limit for heater 1 to 280C

      ; Fans
      M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

      ; Tools
      M563 P0 S"Extr 1" 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

      ; Custom settings are not defined

      ; Miscellaneous
      T0 ; select first tool

      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Nov 28 2019 16:04:13 GMT+0000 (Hora padrão da Europa Ocidental)
      M561 ; clear any bed transform
      G29 ; probe the bed and enable compensation

      ; deployprobe.g
      ; called to deploy a physical Z probe
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Nov 28 2019 16:04:13 GMT+0000 (Hora padrão da Europa Ocidental)
      M280 P4 S10 I1 ; deploy BLTouch

      ; retractprobe.g
      ; called to retract a physical Z probe
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Nov 28 2019 16:04:13 GMT+0000 (Hora padrão da Europa Ocidental)
      M280 P4 S90 I1 ; retract BLTouch

      1 Reply Last reply Reply Quote 0
      • Veti
        Veti last edited by

        post a picture of your wiring on the duet

        MJCT 1 Reply Last reply Reply Quote 0
        • MJCT
          MJCT @Veti last edited by

          @Veti

          IMG_20191129_130426.jpg

          1 Reply Last reply Reply Quote 0
          • MJCT
            MJCT last edited by

            BL OUT (white) – Z PROB IN @ Duet

            BL GND (black) – GND @ Duet

            BL 5V (red) – PIN1 5V @ Duet

            BL GND (brown) – PIN2 GND @ Duet

            BL Control (yellow) – PIN8 (Heater 3) @ Duet

            Is this correct?

            Just to confirm, as my BL Touch is a 3.1 version, I don’t need to do anything regarding 3.3 / 5v logic voltage, right?

            1 Reply Last reply Reply Quote 0
            • dc42
              dc42 administrators last edited by dc42

              It looks to me that you have the BLTouch control wire connected to the Heater 3 expansion pin, which is not the same as the E3 heater pin (it's the E2 heater pin). In which case, you need H3 in your M307 command, and P3 in your M280 commands - exactly as the instructions say.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              MJCT 1 Reply Last reply Reply Quote 1
              • MJCT
                MJCT @dc42 last edited by

                @dc42
                Thaks for the help, I gess It solved the problem!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA