Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLtouch/3DTouch not working #9702

Closed
sshmooss opened this issue Feb 18, 2018 · 52 comments
Closed

BLtouch/3DTouch not working #9702

sshmooss opened this issue Feb 18, 2018 · 52 comments

Comments

@sshmooss
Copy link

Hey all.

For some reason my Sensor goes instantly into a alarm mode after it probes or even startrs. If i reset it with my LCD it stays normal , but as soon as i deploy it or selftest it goes into alarm and does not work. Homing the Z axis does not work either with the sensor.

I added my configuration file.

Im using a CR-10S and my Touch is black with a blue light inside of it. With the 3 pin cable (Black/Red/blue) and the 2 pin (yellow/black)

Thank you for reading and hope we can find an answer for me :)

Configuration.zip

@boubouexpress
Copy link

salut
bltouch wiring motherboard

va voire
#9386 (comment)

@sshmooss
Copy link
Author

@boubouexpress yes i have wired my cables like following in the picture with only exception that my sensor has different colors on the cables . If i compare the picture and my Sensor cables its like following => Orange =RED , Brown = BLACK , Yellow = BLUE , White = YELLOW, Black = BLACK. And as stated before 3pin is red/black/blue and 2pin is yellow/black

@boubouexpress
Copy link

boubouexpress commented Feb 18, 2018

option BLtouch

#define BLTOUCH 
#define X_PROBE_OFFSET_FROM_EXTRUDER -42 
#define Y_PROBE_OFFSET_FROM_EXTRUDER -11 
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1.1

#define MULTIPLE_PROBING 2

#define GRID_MAX_POINTS_X 7

#define LEFT_PROBE_BED_POSITION 40 
#define RIGHT_PROBE_BED_POSITION 455 
#define FRONT_PROBE_BED_POSITION 30 
#define BACK_PROBE_BED_POSITION 470

#define AUTO_BED_LEVELING_BILINEAR

// # define LCD_BED_LEVELING

#define LEVEL_BED_CORNERS

#define Z_SAFE_HOMING

@sshmooss
Copy link
Author

@boubouexpress ill try those settings and ill see what it says after that! :)

@boubouexpress
Copy link

boubouexpress commented Feb 18, 2018

for this model

www.thingiverse.com/thing:2493610/#files

#define X_PROBE_OFFSET_FROM_EXTRUDER -42 
#define Y_PROBE_OFFSET_FROM_EXTRUDER -11 
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1.1

@boubouexpress
Copy link

boubouexpress commented Feb 18, 2018

if you do not have the last marlin

#define SERVO0_PIN 11

@sshmooss
Copy link
Author

@boubouexpress i made those changes to the marlin but still efter it deploys it goes instantly into Alarm mode

@sshmooss
Copy link
Author

@Bob-the-Kuhn
Copy link
Contributor

I hadn't seen the newer BLTouch units. Black with a bright blue LED & a connector. I like that.

My understanding is that the BLTouch only goes into alarm when commanded to deploy/stow but the move fails.

Here's a sequence that should help narrow down what is happening. It was written for the classic so the LED color info is different.

  1. Connect BLTouch, power up controller and upload the firmware
  2. Blue LED will be ON if a servo signal is present. Blue LED is faint.
  3. M119 ; should return OPEN. If not check that the BLTouch is enabled in the configuration. If enabled then check wiring and check that the correct pin is being used. Also check that Z_MIN_ENDSTOP_INVERTING and Z_MIN_PROBE_ENDSTOP_INVERTING are both set to "false".
  4. M280 P0 S10 ; should deploy the probe and the orange LED will be OFF.
  5. M119 ; should return OPEN
  6. M280 P0 S90 ; should stow the probe and the orange LED will be ON
  7. M280 P0 S60 ; puts it into the M119 test mode.
  8. The probe should remain stowed and the blue LED should be OFF. If it's ON then the unit needs to be adjusted.
  9. M119 ; should return TRIGGERED
  10. M280 P0 S160 ; returns it to normal operation
  11. M119 ; should return OPEN.

@sshmooss
Copy link
Author

@Bob-the-Kuhn ill try that send you the report after!

Here is a video when i had 2pin wires like in the picture but z axis did not even go down the with auto home.

https://streamable.com/iveg8

So as i wrote earlier i have the wirings now. What do you think about them?

@boubouexpress
Copy link

it's a 3D touch is not a bltouch

@sshmooss
Copy link
Author

Or did i have the wiring right first time but the z axis juat goes up because of the alarm?

@sshmooss
Copy link
Author

@boubouexpress . Does that actully matter? Dont they both do the same thing?

@boubouexpress
Copy link

the wiring

@boubouexpress
Copy link

Zmin
white = yellow
black = black

brown = black (ground)
red= red (5v+)
orange = blue ( D11)

@boubouexpress
Copy link

in pins_ramps.h

there is

#define SERVO0_PIN 11

@boubouexpress
Copy link

otherwise it takes the meter in configuration.h

#define BLTOUCH
#if ENABLED(BLTOUCH)
#define SERVO0_PIN 11

@sshmooss
Copy link
Author

So qhat do you want me to change in my marlin?

@sshmooss
Copy link
Author

@Bob-the-Kuhn i did all the steps .

Steps:

  1. Blue led is ON
    3.Open
  2. Only blue blinking light
    5.triggered
  3. Does not stow , blue blinking
  4. Deploys and blue blinking
  5. Triggered
  6. It goes up and blue light is on
  7. Open

@Bob-the-Kuhn
Copy link
Contributor

Before changing anything please do the following:

  1. In Configuration_adv.h enable PINS_DEBUGGING
  2. From the host issue a M43 S command & follow the on screen prompts.
  3. Post the results of the M43 command
  4. Redo the 11 steps & report the results of every step. I'm not understanding the results you just posted.

The last time I played with a 3D Touch it behaved the same as a BLTouch so I'm not concerned that you have a 3D Touch.

@sshmooss
Copy link
Author

sshmooss commented Feb 20, 2018

Send: M43 S
Recv: Servo probe test
Recv: .  using index:  0
Recv: .  deploy angle: 10
Recv: .  stow angle:   90
Recv: . probe uses Z_MIN pin: 18
Recv: . uses Z_MIN_ENDSTOP_INVERTING (ignores Z_MIN_PROBE_ENDSTOP_INVERTING)
Recv: . Z_MIN_ENDSTOP_INVERTING: false
Recv: . deploy & stow 4 times
Recv: WARNING - INVERTING setting probably backwards
Recv: please trigger probe
Recv: trigger not detected
Recv: ok

@sshmooss
Copy link
Author

sshmooss commented Feb 20, 2018

Send: M119
Recv: Reporting endstop status
Recv: x_min: openRecv: y_min: open
Recv: z_min: openRecv: filament: TRIGGERED
Recv: ok[...]
Send: M280 P0 S10
Recv: ok[...]
Send: M119
Recv: Reporting endstop status
Recv: x_min: open
Recv: y_min: open
Recv: z_min: TRIGGERED
Recv: filament: TRIGGERED
Recv: ok[...]
Send: M280 P0 S90
Recv: ok[...]
Send: M280 P0 S60
Recv: ok[...]
Send: M119
Recv: Reporting endstop status
Recv: x_min: open
Recv: y_min: open
Recv: z_min: TRIGGERED
Recv: filament: TRIGGERED
Recv: ok[...]
Send: M280 P0 S160
Recv: ok[...]
Send: M119
Recv: Reporting endstop status
Recv: x_min: open
Recv: y_min: open
Recv: z_min: open
Recv: filament: TRIGGERED
Recv: ok

@sshmooss
Copy link
Author

sshmooss commented Feb 20, 2018

Ok so let me try to explain again the steps and how to 3Dtouch behaves :)

  • When power on it is stowed and BLUE light does not blink.

  • M119 says OPEN

  • M280 P0 S10 , the pin drops down and immideatly BLUE light starts blinking

  • M119 says TRIGGERED

  • M280 P0 S90 , DOES NOT WORK. The pin does not go up

  • M119 says TRIGGERED

  • Still BLUE light blinking

  • M280 P0 S160 , returns the pin up and BLUE light does not blink anymore

  • M119 says OPEN

Hope this clarifies something to you @Bob-the-Kuhn

@Bob-the-Kuhn
Copy link
Contributor

I don't understand.

When you did the M43 S test, did it deploy & stow four times?

Maybe the wiring is wrong. Try disconnecting the white & black wires and then see if the M280 P0 S10 and M280 P0 S90 commands work as expected. If they do then REVERSE the two wires & re-connect.

@sshmooss
Copy link
Author

It did not deploy and stow four times. It only deployed once and then started blinking the blue light. Ill try it and return to you with the answer :)

@sshmooss
Copy link
Author

https://streamable.com/k9o8v

Here is a video.
FIRST. i did "M43 S" and as you can see it does not go up and down. only down and then starts blinking.
THEN i did "M280 P0 S10", and as you can see it drops down and starts blinking
THEN i did "M280 P0 S90", and it does not go up . it only stays down
THEN i did "M119" to show it says TRIGGERED
AND for last i did "M280 P0 S160" to show how it goes up and resets
AND as you can see i unconnected the Z min cables :)

@Bob-the-Kuhn

@Bob-the-Kuhn
Copy link
Contributor

I'm starting to wonder exactly what you have. The Geeetech site still shows the translucent white case and, on EBay, the black one is just "3D Touch TE871", not "Geeetech 3D Touch".

I'm going to email Geetech & invite them to comment on this thread.

[email protected]

@sshmooss
Copy link
Author

@Bob-the-Kuhn thank you :)

@sshmooss
Copy link
Author

@Bob-the-Kuhn wich one is the white working one that everyone is using if i may ask? :)

@Roxy-3D
Copy link
Member

Roxy-3D commented Feb 21, 2018

I'm going to email Geetech & invite them to comment on this thread.

This is going to be fun. I doubt anybody at Geetech cares enough to come here and help a user. But if they do, I have a few questions to ask them...

@Bob-the-Kuhn
Copy link
Contributor

The ones I know are 100% compatible are the Antclabs BLTouch and the Geeetech 3D Touch.

@sshmooss
Copy link
Author

Well lets hope for the best that we can find an answer for me and the rest of the people out there with a black 3dtouch :)

@GMagician
Copy link
Contributor

GMagician commented Feb 23, 2018

OT @Roxy-3D

I have a few questions to ask them...

:-D It sounds like a threat

@Bob-the-Kuhn
Copy link
Contributor

There was another person with what sounds like the same issue. He solved his problem by adjusting the set screw in the top of the 3D touch.

Please try that.

@Bob-the-Kuhn
Copy link
Contributor

Just got an email from Geeetech. They said that the black one is not theirs.

Were you able to get it to work?

@sshmooss
Copy link
Author

@Bob-the-Kuhn no i was not. Tried adjusting and everything else that i could find on the web :D i also ordered a geeetech one to see if its the probe thats faulty. BUT all suggestions are welcome :)

@Bob-the-Kuhn
Copy link
Contributor

Adjusting the set screw was the last suggestion I had.

Geeetech makes a good product. I don't remember any hardware problems with them.

@baslbro3
Copy link

baslbro3 commented Mar 2, 2018

Have you tested setting Z_MIN_ENDSTOP_INVERTING and Z_MIN_PROBE_ENDSTOP_INVERTING both to TRUE? Maybe the non geetech 3dtouch is inverted.

@sshmooss
Copy link
Author

sshmooss commented Mar 6, 2018

@baslbro3 same thing even if you change the true and false values back and front. I already ordered the real one. So we will see when that one arrives :)

@baslbro3
Copy link

baslbro3 commented Mar 6, 2018

@sshmooss yeah, I was actually experiencing the same thing and it was actually a bad probe. Once I got my new probe, I realized a big difference. Even when not powered, the pin should be able to stay up in the sensor via magnetism. My original sensor was just dropped. The servo would bring it up and down but the magnet would not hold the pin up and would keep the sensor in alarm mode. I was able to fiddle with the top screw and eventually get the magnet to hold the pin up but any movement in my xaxis would make the pin drop. The new sensor works perfect.

@Split7fire
Copy link

Hello everyone! I'm too having this black semi-transparent 3d Touch sensor, and I can't figure out how to make it work.
I' ve tried a lot of configuration options.
@Bob-the-Kuhn Here is output from M43 S:
BLTouch compatible probe detected - pulse width (+/- 4mS): 12
But I can't reproduce this message, because somehow sensor is stuck (not physically) and I can't control via commands (stow and trigger). Also my config.
Configuration.txt

@thinkyhead
Copy link
Member

Does the device have a small screw that can be adjusted?

@Split7fire
Copy link

@thinkyhead Yep, I tried adjusting that. No luck.

@Bob-the-Kuhn
Copy link
Contributor

Did the probe extend & retract during the M43 S test?

I don't think it matters but the following lines can be commented out. Marlin automatically sets these when BLTouch is enabled.

#define Z_ENDSTOP_SERVO_NR 0   // Defaults to SERVO 0 connector.
#define Z_SERVO_ANGLES {10,90}  // Z Servo Deploy and Stow angles

@Split7fire
Copy link

@Bob-the-Kuhn

Did the probe extend & retract during the M43 S test?

Nope.
What this sensor does:

  • When powering up, it stow and trigger 2 times, then it can flash or can dim (depends on invert setting in Marlin, I think)
  • No commands from terminal can stow or reset the sensor
  • If I set invert Z axis, and manually pull probe from the sensor, M119 prints "Z-axis - Trigger".

As for now, I dont know where to search for workarounds.

P.S. Being curious what is inside this sensor, I openned it and found soldered out element 01x02 or something like that. It was black color and may be that was resistor, someone here said before.

@Bob-the-Kuhn
Copy link
Contributor

Probe extends & retracts after a power up so we know that works.

M43 S reports a reasonable pulse length so we know the signal is wired up properly.

What doesn't work is the servo command interface.

If you can't find any wiring problems with the servo signal then it's a bad probe.

@liviudd
Copy link

liviudd commented Sep 13, 2018

Hello,

It's a bit late, but i was struggling with an 3D Touch for the last week with the red led blinking after extend/retract and only reset from menu worked. After reset, any retract giving me the same error. After i tried everything on this issue and nothing worked i remembered moving the top screw just after mounting it. So my pin was about 3mm out in retracted position.

It seems stupid but it has an sweet spot about 9mm out. After this everything is working and the sensor does not remain blocked after extend and retract.

So maybe this will help others not to waste time like me.

@ghost
Copy link

ghost commented Oct 19, 2018

@liviudd is it the black variant?

@liviudd
Copy link

liviudd commented Oct 19, 2018

@bob808 black sensor ? No, is the transparent one,

@BKroef
Copy link

BKroef commented Nov 24, 2019

Maybe play with these settings:

//#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE

I had to change my settings to NOT use an ENDSTOPPULLUP resistor for the BLTouch pin (ZMIN and ZMIN_PROBE).
Only enabled it for the XMIN, because YMIN is a inductive sensor and therefor also doesn't use an ENDSTOPPULLUP resistor.
These are my settings in Configuration.h:

// Enable pullup for all endstops to prevent a floating state
//#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
  // Disable ENDSTOPPULLUPS to set pullups individually
  //#define ENDSTOPPULLUP_XMAX
  //#define ENDSTOPPULLUP_YMAX
  //#define ENDSTOPPULLUP_ZMAX
  #define ENDSTOPPULLUP_XMIN
  //#define ENDSTOPPULLUP_YMIN
  //#define ENDSTOPPULLUP_ZMIN
  //#define ENDSTOPPULLUP_ZMIN_PROBE

@Koetjeboeh
Copy link

Working on it here, but this doens't do the trick at my Ender-5

@github-actions
Copy link

github-actions bot commented Jul 3, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests