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

    Creality BLtouch kit compatibility and wiring

    Scheduled Pinned Locked Moved Solved
    Third-party add-ons
    4
    51
    3.8k
    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.
    • JoergS5undefined
      JoergS5 @usescoasters
      last edited by JoergS5

      @usescoasters in addition to Phaedrux's comment I have found two interesting possibilities:

      • https://www.antclabs.com/bltouch-v3 is a good information page about the bltouch and I read, the different versions of BLtouch have different pin lengths, 3.1 1.6 mm longer than a 2.0 version. Maybe you have to correct some parameters (maybe M558 H parameter?)
        and there is the following comment in an image (so I can only store the screenshot here):
        bltouchcomment.jpg
      • one problem came from the BLTouch being on the same side as the hotend and hotend fan, being disturbed by them
      usescoastersundefined 1 Reply Last reply Reply Quote 0
      • usescoastersundefined
        usescoasters @Phaedrux
        last edited by

        @Phaedrux i'm not absolutely sure what firmware version I have running on the board anymore as I've gone through and tried virtually every supported version but I think it's 2.0.

        In regards to the deployprobe.g and retractprobe.g I can't seem to get them to work without using the I1 command in spite of the fact they are plugged into the pwm channel 1 slot on the duex 5 board. I also customized the homez.g file as follows:
        M280 P3 S10 I1 ; clear the value stored and deploy pin for measurement
        M280 P3 S160 I1 ; clear the alarm that is triggered when the self test fails
        G30 ; probe the bed
        Do a Z hop
        G92 Z8 ; set the z value as that which I measured with a caliper between the tip of the probe and the end of the nozzle (so as to accurately report the position of the nozzle itself)

        As of right now my wiring corresponds correctly to everything in the official documentation as well as the betrue3d website tutorial with all colors matching the original antclabs color scheme (Orange PWM, Red 5v Aux pin, Brown to Ground, and black and white into the z probe input on the duet wifi).

        For some reason my phone's mobile hotspot is being buggy and my connection to the server is going out repeatedly when I try to post anything like a picture or file. I'll try try to post pictures, gcode files, and a video of the homing sequence later.

        1 Reply Last reply Reply Quote 0
        • usescoastersundefined
          usescoasters @Phaedrux
          last edited by

          @Phaedrux The connection is sort of working now. Here are my gcode files and photos
          config.g
          config-override.g
          deployprobe.g
          homeall.g
          retractprobe.g
          homez.g
          20200618_161543.jpg
          The brown wire had a tear in the lining so I cut, spliced, and twist tied it for good contact
          20200618_161603.jpg
          It's a little hard to see but the header is definately in the pwm 1 channel slot.
          20200618_161638.jpg
          It looks like a genuine bltouch I think.

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • usescoastersundefined
            usescoasters @JoergS5
            last edited by

            @JoergS5

            • one problem came from the BLTouch being on the same side as the hotend and hotend fan, being disturbed by them
              rom end of allen in direction to bltouch) allen key diminishes movement, counterclockwise (seen from right in direction to bltouch) make movement bigger.

            What precisely do you mean by being on the same side as the hotend? I know the current from the wires as well as the heat from the hotend can interfere with the Hall Effect sensor but the hotend is completely off when I run my tests.

            Are you saying the bltouch should be mounted on the other side of the x carriage or that it should be on the other side of the bar entirely?

            JoergS5undefined 1 Reply Last reply Reply Quote 0
            • JoergS5undefined
              JoergS5 @usescoasters
              last edited by JoergS5

              @usescoasters I read that if the heater is on it can disturb (or it's fan), but it your is off this cannot be a problem.

              I tested turning the allen-key, at the clone I can turn many times so it is from no deploy-retract movement, to maximal movement. My genuine BLtouch Smart 2.0 has only limited turning, the mentioned 180°. How 3.1 behaves, I don't know.

              usescoastersundefined 1 Reply Last reply Reply Quote 0
              • usescoastersundefined
                usescoasters @JoergS5
                last edited by usescoasters

                @JoergS5 On the first of the two bltouch's I've had I decided to look inside to check the traces as you suggested and I started by completely undoing the metal core part you mentioned. It came out with almost no trouble. This allowed the pin itself to fall out the back hole. When I was done looking I put the pin and the metal screw back in place. I'm not sure how many times I turned it.

                To be honest, I'm not entirely sure which of the two bltouch's I have is actually on the machine right now - the first one in the creality kit or the second manufacturer. In my efforts to first get either one working I tested their sensitivity to touch side by side and one was much more responsive. This was the one I equipped.

                If I try turning the screw with an allen wrench I can turn it numerous times in 360 degrees in both directions. So far neither tightening it or loosening it has made it any more responsive to the S10 or S90 commands. It does have a red/orangish LED that slowly flashes whenever I deploy it. I can't be sure if this is the error code saying it has failed the self test or if this is normal behavior when it is turned on. The LED glows brighter or fainter in correspondence to whether the pin is pushed in or not. So far I've assumed that was a good sign of normal behavior as it happened on the both of the ones I tested.

                Another somewhat consistent problem is that the sensor is almost too sensitive. It triggers within just a second of the gantry beginning to lower from any height. I'll still try to make a video of the homing process with my phone.

                JoergS5undefined 2 Replies Last reply Reply Quote 0
                • JoergS5undefined
                  JoergS5 @usescoasters
                  last edited by JoergS5

                  @usescoasters I could turn my clone several times and the genuine only one time, so your numerous-360 may be the clone also.

                  I saw in your image that the connector is not fully inserted into the socket, this was a problem in another thread also, please check. Maybe you pull it out first and check, maybe a pin is bent.

                  usescoastersundefined 1 Reply Last reply Reply Quote 0
                  • usescoastersundefined
                    usescoasters @JoergS5
                    last edited by usescoasters

                    @JoergS5 The connector is pushed in as far as it can go. It was this way with both of the two bltouch's. This is the amazon page I bought the second one from. There's no bent pins from what I can see. Here are some photos (I took multiple shots because I have shaky hands and autofocus kept changing). I know they're dark and blurry.

                    20200618_180848.jpg
                    20200618_180846.jpg
                    20200618_180845.jpg

                    EDIT: I should mention it took considerable force to turn the metal screw all the way out. Maybe I broke it out? Either way it went back in the threads no problem. I never touched any part of the small internal pcb.

                    1 Reply Last reply Reply Quote 0
                    • JoergS5undefined
                      JoergS5 @usescoasters
                      last edited by

                      @usescoasters connectors looking fine.

                      Just to check, you dont have anything strong magnetic near the bltouch? (holding bed with magnet eg)

                      usescoastersundefined 1 Reply Last reply Reply Quote 0
                      • usescoastersundefined
                        usescoasters @JoergS5
                        last edited by

                        @JoergS5 No, just metal clips that came with printer originally. On the metal plate itself is a 4mm sheet of borosilicate glass and a 1 mm thick sheet of smooth pei.

                        JoergS5undefined 1 Reply Last reply Reply Quote 0
                        • JoergS5undefined
                          JoergS5 @usescoasters
                          last edited by JoergS5

                          @usescoasters I started looking at your config and saw you have set 256 microsteps without interpolation for x and y for 2560 steps per mm and 100 mm per second max speed which makes 256000 pulses per second, which is above maximum. You should make some long curves and call M122 and look whether high hiccups are reported. This may not help with bltouch, but the printing.

                          usescoastersundefined 1 Reply Last reply Reply Quote 0
                          • usescoastersundefined
                            usescoasters @JoergS5
                            last edited by

                            @JoergS5 I'll do that but a thought just occurred to me.

                            At one point (as stated above) I sent out the M280 P3 S140 I1 command through the gcode console to put it into 5v logic mode. I only turned the metal screw after doing so.

                            It may be possible that that screw being too close was the problem preventing the pin from moving in the first place and now it won't move because it's receiving the wrong signal.

                            In any event, my multimeter still only shows slightly less than 2 mA coming from the pwm pin. Is that the normal current draw when not receiving a pulse responds to the psuedo servo inside the bltouch?

                            I haven't tried holding the meter onto the wires at the instant I issue the deploy/retract command. Would the current spike for a second and then return to 2 mA? In my limited electrical knowledge I don't really know how pwm actually works.

                            JoergS5undefined 4 Replies Last reply Reply Quote 0
                            • JoergS5undefined
                              JoergS5 @usescoasters
                              last edited by JoergS5

                              @usescoasters pwm are on and off signals and the amperemeter will only measure the average. An oscilloscope would show the max values.

                              1 Reply Last reply Reply Quote 0
                              • JoergS5undefined
                                JoergS5 @usescoasters
                                last edited by

                                @usescoasters your M558 has H0 set, where the doc says H5

                                1 Reply Last reply Reply Quote 0
                                • JoergS5undefined
                                  JoergS5 @usescoasters
                                  last edited by JoergS5

                                  @usescoasters I dont know which screw you mean. But I expect that the important part is a magnet and the hall sensor, which are both "undamagable". Electronics should reset with every turning off and on.

                                  1 Reply Last reply Reply Quote 0
                                  • JoergS5undefined
                                    JoergS5 @usescoasters
                                    last edited by JoergS5

                                    @usescoasters the deployprobe and retractprobe dont need the I1 Parameter if you use the bltouch on the duex

                                    You have two M280 on deployprobe and a I! on retractprobe, you need only one M280 in every file.

                                    To find the solution, I would disconnect everything not needed and only use the bltouch connected to zstop, not using Duex. When this works, reconnect until you find the point of the error. Otherwise you will always have multiple possible reasons and it is difficult to find the reason. I would use the Bltouch seperated from the hotend also to exclude disturbing reasons. I would make pictures of cabling and config files, so you can find out exactly what was the reason.

                                    I would update to 2.0.5 or 3.1.1 because older firmware could have a bug where youre stumbling over.

                                    usescoastersundefined 2 Replies Last reply Reply Quote 0
                                    • usescoastersundefined
                                      usescoasters @JoergS5
                                      last edited by usescoasters

                                      @JoergS5 Changed the H5 parameter in config.g but it didn't help.

                                      In regards to the I1 paramter on the M280 command, for some reason the bltouch won't turn on, deploy, or report any value unless both are included. This may be because it is failing the self test on startup and I have to clear the alarm. If I try a normal command without inverting it I get nothing at all-just a reported value of 1000 in the z probe box which is the same as when the pins are completely disconnected so I interpret as open circuit or the bltouch being powered off. Also the LED doesn't light up without the I1.

                                      I seem to have solved (or at least determined) the cause of the oversensitivity. I have to turn the bracket at a slight angle so it is just barely askew. I noticed the one I have mounted is extremely sensitive to being perpendicular or horizontal to the ground in the slightest degree.

                                      The screw I was talking about earlier was the one you mentioned could be turned with an allen wrench at the top of the bltouch. As I understand it, this is supposed to be able to come out so one can replace the plastic pin itself if it becomes dirty or damaged.

                                      Before I even tried mounting it to the hotend I tested turning it on (because of the trouble with the first one). Again, I noticed sensitivity to whether or not it was perfectly perpendicular to the ground or not but it was never able to extend the pin even on its own. This has been consistent with both bltouch's I've had.

                                      On both units, I have been able to turn on both red and blue warning LEDs (with the newer cord on the standard color scheme) as well as the orange main power LED. I can successfully call a single probe with the G30 command to home the z axis and at least start probing the bed for point by point mesh compensation heightmap. However it stop and gives me the warning "z probe not triggered at first probing point"

                                      Thanks for your comment on the plug looking loose. By playing around with it with my hand I have determined it's coming off the pins and that is sometimes the reason the probe value triggers early. I'll have to find a better way of making that plug stick more firmly and snuggly.

                                      As for the other firmware I've systematically gone through all versions from 2.0 - 3 in the configurator. I issued the M280 deploy command to turn on the probe without telling it to home.

                                      Strangely, despite setting the printer up as a normal cartesian style printer, the files the tool generated were flawed and defined my printer as another type. I fixed this by going in a changing the printer type to S2 at the start of the config.g file.

                                      By doing those two things I was able to at least install and test all the firmware versions with the M280 P3 S10 I1 command. Doing this the bltouch successfully turn on and became sensitive to touch with the power LED turned on and corresponding to whether it was triggered or not. But in no case did any version of the firmware make the pin deploy.

                                      So at this point everything works and I can tell the printer to home the z axis if I manually pull the pin out with my hand. Doing so it successfully hits the bed and stops the x bar from lowering any further.

                                      I think I can rule out the probe being broken or defective since most of it is working and the error is consistent across two units from two different sellers. It must be a problem on my end in the code, something I'm doing or the environment I'm in

                                      once I find a way to secure the plugin on the probe I'll make a video of the homeing sequence to show what happens more precisely.

                                      1 Reply Last reply Reply Quote 0
                                      • usescoastersundefined
                                        usescoasters
                                        last edited by

                                        Tried zip ties to hold the wires but that didn't work. Anyone got any ideas? At this point I'm almost considering try to bend the pins outward and solder the wire leads directly onto them.

                                        1 Reply Last reply Reply Quote 0
                                        • usescoastersundefined
                                          usescoasters @JoergS5
                                          last edited by

                                          @JoergS5 I gone so far as to take the entire hotend assembly and fan shroud off the x carriage and now it triggers much more reliably. I guess I'll have to think of a better mounting solution or some kind of EMI filtering to prevent the sensor from triggering early like it has been.

                                          Ironically I switched back to using the Creality cable that gave me so much trouble in the first place and now it's not giving me any trouble at all. It wired up exactly as you would expect the color combos to be and as the documentation suggests.

                                          So at least now I'm back to the point where I can reliably home to a single probe point. Still have to sort out the pin not extending or retracting.

                                          JoergS5undefined 2 Replies Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator @usescoasters
                                            last edited by

                                            @usescoasters said in Creality BLtouch kit compatibility and wiring:

                                            The brown wire had a tear in the lining so I cut, spliced, and twist tied it for good contact

                                            Are you sure you have continuity on that brown wire?

                                            @usescoasters said in Creality BLtouch kit compatibility and wiring:

                                            i'm not absolutely sure what firmware version I have running

                                            Please send M122 and post the result. We really need to know what firmware version you are using. And it should be either 2.05.1 or 3.1.1.

                                            from config.g

                                            M558 P9 H0 F120 T6000                   ; set Z probe type to bltouch and the dive height + speeds
                                            G31 P40 X-44.25 Y-7 Z-1.5                     ; set Z probe trigger value, offset and trigger height
                                            

                                            Dive height must be a positive value larger than your trigger height. 5mm is a good start.

                                            You have your G31 Z trigger height as negative. It must be positive as it is the distance of the nozzle ABOVE the bed when the probe triggers.

                                            For the deployprobe.g Since you are using the Duet you MUST remove the I1. The signal is already inverted on the Duex. It will not deploy or retract if you have I1.

                                            Also, remove M280 P3 S160 I1 for the alarm release. If you really must, add it to the start of homeall, but the deploy and retract macro should only have the command to deploy and retract.

                                            From from retractprobe.g you have M280 P3 S90 I!; retract BLTouch The letter i followed by exclamation mark isn't valid at all. Remove that.

                                            Next, your homeall doesn't actually contain any command to use the BLTouch. It's configured to use an endstop z move.

                                            G91                     ; relative positioning
                                            G1 H1 X-505 Z-505 F1800 ; move quickly to X or Z endstop and stop there (first pass)
                                            G1 H1 X-505             ; home X axis
                                            G1 H1 Z-505             ; home Z axis
                                            G1 X5 Z5 F6000          ; go back a few mm
                                            G1 H1 X-505 F360        ; move slowly to X axis endstop once more (second pass)
                                            G1 H1 Z-505             ; then move slowly to Z axis endstop
                                            G1 H2 Z0 F6000          ; lift Z relative to current position
                                            G1 H1 Y-505 F1800       ; move Y down stopping at the endstop
                                            G90                     ; absolute positioning
                                            

                                            G1 H1 Z-505 ; then move slowly to Z axis endstop Replace this with a G1 X Y move to position the probe, followed by G30 to probe. That should also be at the end of the file after X and Y are homed.

                                            For homez

                                            G91               ; relative positioning
                                            G1 H2 Z0 F6000    ; lift Z relative to current position
                                            G90               ; absolute positioning
                                            G1 X40.25 Y7 F6000 ; go to first probe point
                                            M280 P3 S10 I1
                                            M280 P3 S160 I1
                                            G30               ; home Z by probing the be
                                            ; Uncomment the following lines to lift Z after probing
                                            G91              ; relative positioning
                                            G1 Z0.5 F100       ; lift Z relative to current position
                                            G90              ; absolute positioning
                                            M280 P3 S10 I1
                                            G92 Z8
                                            

                                            Remove all the M280 commands. They don't belong there. Also, don't use G92 Z to force a position when using the probe.

                                            Things should start working a lot better when you make those changes, provided that wire still works and you're using a v2x firmware.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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