Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    I can't get the Bltouch working

    Scheduled Pinned Locked Moved
    IR Height Sensor
    6
    73
    10.4k
    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.
    • Scachiundefined
      Scachi @dc42
      last edited by

      @dc42 said in I can't get the Bltouch working:

      I believe it is normal for the bltouch to read 1000 when it is not deployed. It should go to zero when you deploy it, if you have connected it correctly.

      Mine works fine and reads "0" all the time (BLTouch smart) no matter if it is deployed or rectracted, it only reads 1000 when I disconnect the BLTouch sensor wire from the duet wifi.
      Maybe the bltouch models work differently, if it is a genuine-smart,genuine-classic or 3rd party "bltouch" ?

      1 Reply Last reply Reply Quote 0
      • Saltypetzundefined
        Saltypetz
        last edited by Saltypetz

        To test the setup with the nozzle maybe a 100mm up from the bed you can check if the trigger signal is reaching the Duet by attempting to extend the pin by using the following command:

        This works perfect M280 P3 S10 I1

        Then put the Sensor in to test mode by inputting the following command:

        This the pin just goes in and out M280 P3 S120 I1

        With this setting.

        M307 H3 A-1 C-1 D-1 ;
        M558 P9 X0 Y0 Z1 H5 F100 T2000
        G31 X0 Y0 Z0 P25

        X & Y home no problem.

        1 Reply Last reply Reply Quote 0
        • elmoretundefined
          elmoret
          last edited by elmoret

          This the pin just goes in and out M280 P3 S120 I1

          I'm not super familiar with the BL Touch, but the pin going in and out 3 times seems to be expected behavior for self test?

          If you do M280 P3 S60 I1, this should perform a wiring test, letting you push the pin and then check the Z-probe reading in Duet Web Control. You should see the reading change when the pin is pushed. What readings do you see after M280 P3 S60 I1, with the pin in and then the pin out?

          https://docs.wixstatic.com/ugd/f5a1c8_d261d68b7b034a29bdfc5aaebe882983.pdf

          1 Reply Last reply Reply Quote 0
          • Saltypetzundefined
            Saltypetz
            last edited by Saltypetz

            I don't know if this will help but here is the BLTouch would love to get this thing going need it bad.0_1527022615510_20180520_115638.jpg

            1 Reply Last reply Reply Quote 0
            • elmoretundefined
              elmoret
              last edited by

              Getting answers to the questions I posed in the post before yours would help us help you.

              1 Reply Last reply Reply Quote 0
              • Saltypetzundefined
                Saltypetz
                last edited by Saltypetz

                When you turn the printer it self test the pin go in out out two times.X and Y home Z goes to middle of bed and stops.
                (0 %
                × G28 Z
                Error: Z probe already triggered at start of probing move
                Error: G0/G1: insufficient axes homed)
                Only on Z

                Copy and paste all setting from https://forum.duet3d.com/topic/4487/tevo-black-widow-compatibility/2

                Then only edit this.

                1. In your software config.g file input the following G-Code commands to allow the setup to work:

                M307 H3 A-1 C-1 D-1 ;

                M558 P9 X0 Y0 Z1 H5 F100 T2000

                G31 X0 Y0 Z0 P25

                Important: mode 9 is supported in firmware 1.21 and later only. If you are using earlier firmware, replace P9 in the M558 command by P5.
                In the G31 command the X and Y are the offset of the sensor in relation to the nozzle (so input your own) the number for Z is the trigger height (read on for this). This is the height that is obtained from reading the height the nozzle is from the bed when the sensor pin contacts the bed and retracts, P is the signal threshold.
                It is required to invert the signal “I1” when using the expansion header pins and not the Duex to connect the BLTouch.
                Ensure in your config-override.g file (in the /sys folder of the SD card) does not contain an M307 H3 command that overrides the above configuration.
                2. Create a deployprobe.g file (in the /sys folder of the SD card) it should contain the following single command:

                M280 P3 S10 I1

                1. Create a retractprobe.g file (in the /sys folder of the SD card) it should contain the following single command:

                M280 P3 S90 I1

                Commissioning & Testing
                To test the setup with the nozzle maybe a 100mm up from the bed you can check if the trigger signal is reaching the Duet by attempting to extend the pin by using the following command:

                (THIS WORK PERTFECT) M280 P3 S10 I1

                Then put the Sensor in to test mode by inputting the following command:

                **( THIS THE PIN JUST GO IN AND OUT WITHOUT STOPPING)**M280 P3 S120 I1

                If all is well the web interface should report a value of ” 0” in the Z probe column when the pin is extended. You can then lightly touch the extended probe pin to check that the pin retracts, the value in the Z probe Column should change to “1000”

                If all is good It is at this point that you can deploy the probe using the M280 P3 S10 I1 command and slowly lower the nozzle to the bed and find out your own Z trigger height, when the probe touches the bed and the pin retracts you can take a reading of the Z height and use that to input into the G31 command in the config.g file

                1 Reply Last reply Reply Quote 0
                • Saltypetzundefined
                  Saltypetz
                  last edited by Saltypetz

                  ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
                  ; executed by the firmware on ; Config start-up
                  ;
                  ; generated by RepRapFirmware Configuration Tool on Sat Mar 03 2018 14:29:05 GMT-0500 (Eastern Standard Time)

                  ; General preferences
                  G90 ; Send absolute coordinates...
                  M83 ; ...but relative extruder moves

                  ; Network
                  M550 P"Black Widow" ; Set machine name
                  M552 S1 ; Enable network
                  M587 S"NETWORKNAMEHERE" P"NETWORKPASSWORDHERE" ; Configure access point. You can delete this line once connected
                  M586 P0 S1 ; Enable HTTP
                  M586 P1 S0 ; Disable FTP
                  M586 P2 S0 ; Disable Telnet

                  ; Drives
                  M569 P0 S1 ; Drive 0 goes forwards X
                  M569 P1 S0 ; Drive 1 goes backwards Y
                  M569 P2 S0 ; Drive 2 goes backwards Z
                  M569 P3 S1 ; Drive 3 goes forwards E

                  M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                  M92 X80 Y80 Z1600 E427 ; Set steps per mm for 16x microstepping
                  M566 X900 Y900 Z12 E10 ; Set maximum instantaneous speed changes (mm/min)
                  M203 X6000 Y6000 Z500 E1200 ; Set maximum speeds (mm/min)
                  M201 X500 Y150 Z300 E200 ; Set accelerations (mm/s^2)
                  M906 X1050 Y1050 Z1300 E1050 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 X335 Y260 Z250 S0 ; Set axis maxima

                  ; Endstops
                  M574 X1 Y1 S0 ; Set active low endstops
                  M574 Z1 S2 ; Set endstops controlled by probe
                  M557 X0:335 Y45:260 S20 ; Define mesh grid

                  ; Heaters
                  M301 H0 S1.00 P32.6 I1.360 D79.4 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
                  M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                  M143 H0 S80 ; Set temperature limit for heater 0 to 80C
                  M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
                  M143 H1 S240 ; Set temperature limit for heater 1 to 220C

                  ; 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 T100 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                  M106 P2 S0 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

                  ; Tools
                  M563 P0 D0 H1 F2 ; 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

                  ; Automatic saving after power loss is not enabled

                  ; Custom settings are not configured

                  M307 H3 A-1 C-1 D-1 ;
                  M558 P9 X0 Y0 Z1 H5 F100 T2000
                  G31 X0 Y0 Z0 P25

                  ; Miscellaneous
                  M501
                  T0 ; Select first tool

                  1 Reply Last reply Reply Quote 0
                  • Nylkosundefined
                    Nylkos
                    last edited by

                    Not sure where you are in the process of fixing your BLTouch...
                    I have been away for a while but I had, when I started a similar situation with a BLTouch.
                    Red background in web controller

                    I used these in my Config.g
                    M558 P1 X0 Y0 Z1 H5 F100 T2000
                    G31 X30 Y18 Z1 P200 ; Set Z probe trigger value, offset and trigger height

                    I also needed to use Replace M401 by M98 Pdeployprobe.g and M402 by M98 Pretractprobe.g

                    1 Reply Last reply Reply Quote 0
                    • Saltypetzundefined
                      Saltypetz
                      last edited by

                      Yes but i have the new board. Everything works X and Y home Z goes to center then Z - Probe doesn't know what to do. I used all your setting and tried editing the Z - probe. That is the only problem. I love the board but it is very hard to get help.

                      Thank you,

                      1 Reply Last reply Reply Quote 0
                      • elmoretundefined
                        elmoret
                        last edited by

                        I posted a question a few posts back, getting the answer to that will help us help you.

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