• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    dc42 administrators @Saltypetz
    last edited by 18 May 2018, 21:04

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

    I had a copy of the factory sc card and loaded that so everything is factory setting. The Z-Probe is reading 245 right now.

    A steady reading other than 0 or 1000 should be impossible with P9 selected in the M558 command. Please run M558 without parameters and check what probe type number it reports.

    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

    1 Reply Last reply Reply Quote 0
    • undefined
      Saltypetz
      last edited by Saltypetz 19 May 2018, 12:37

      Here is what did. Set sd card back to factory the I edit this. Setup with https://configurator.reprapfirmware.org/

      ; Z-Probe
      M574 Z1 S2 ; Set endstops controlled by probe
      M558 P1 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to unmodulated and the dive height + speeds
      G31 X0 Y0 Z0 P25 ; Set Z probe trigger value, offset and trigger height
      M557 X15:355 Y15:235 S20 ; Define mesh grid
      M307 H3 A-1 C-1 D-1 ;

      On this line M558 P1 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to unmodulated and the dive height + speeds
      My Z-Prode is at 243 with this numbers and with the https://configurator.reprapfirmware.org/
      also 243. I when number by number changing them one at a time as soon as I put P9 the Z prober goes to 1000.

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

      I tried this and it goes to 1000 right away.

      My Config,g file.

      ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool on Fri May 18 2018 16:29:29 GMT-0400 (Eastern Daylight Time)

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

      ; Network
      M550 PTevo Black Widow ; Set machine name
      M552 S1 ; Enable network
      ;*** Access point is configured manually via M587
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      ; Drives
      M569 P0 S1 ; Drive 0 goes forwards
      M569 P1 S1 ; Drive 1 goes forwards
      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 I1 ; Configure microstepping with interpolation
      M92 X80 Y80 Z4000 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

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X370 Y250 Z300 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y1 S1 ; Set active high endstops

      ; Z-Probe
      M574 Z1 S2 ; Set endstops controlled by probe
      M558 P1 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to unmodulated and the dive height + speeds
      G31 X0 Y0 Z0 P25 ; Set Z probe trigger value, offset and trigger height
      M557 X15:355 Y15:235 S20 ; Define mesh grid
      M307 H3 A-1 C-1 D-1 ;

      ; 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 X150 T"K" ; Set thermistor + ADC parameters for heater 0
      M143 H1 S370 ; Set temperature limit for heater 1 to 370C
      M305 P2 X151 T"K" ; Set thermistor + ADC parameters for heater 1
      M143 H2 S370 ; Set temperature limit for heater 2 to 370C

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

      ; Tools
      M563 P0 D0 H1 ; 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 ; Define tool 1
      G10 P1 X0 Y63 Z0 ; Set tool 1 axis offsets
      G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

      ; Automatic saving after power loss is not enabled

      ; Custom settings are not configured

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators
        last edited by 19 May 2018, 13:33

        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.

        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

        undefined 1 Reply Last reply 19 May 2018, 14:15 Reply Quote 0
        • undefined
          Saltypetz
          last edited by 19 May 2018, 14:09

          So I should put this in place of the

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

          inplace of the configurator.reprapfirmware info.

          1 Reply Last reply Reply Quote 0
          • undefined
            Scachi @dc42
            last edited by 19 May 2018, 14:15

            @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
            • undefined
              Saltypetz
              last edited by Saltypetz 19 May 2018, 14:24

              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
              • undefined
                elmoret
                last edited by elmoret 22 May 2018, 19:26

                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
                • undefined
                  Saltypetz
                  last edited by Saltypetz 22 May 2018, 20:57

                  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
                  • undefined
                    elmoret
                    last edited by 22 May 2018, 23:27

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

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Saltypetz
                      last edited by Saltypetz 23 May 2018, 11:58

                      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
                      • undefined
                        Saltypetz
                        last edited by Saltypetz 23 May 2018, 12:01

                        ; 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
                        • undefined
                          Nylkos
                          last edited by 23 May 2018, 17:12

                          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
                          • undefined
                            Saltypetz
                            last edited by 23 May 2018, 20:35

                            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
                            • undefined
                              elmoret
                              last edited by 23 May 2018, 21:45

                              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
                              69 out of 73
                              • First post
                                69/73
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA