Printer Model: V Core 3.1
MCU / Printerboard: BTT Octopus Pro klippy.log (1.9 MB)
Hello Again!
I have a 5V Normally Open NPN inductive probe and I cant get Klipper to trigger. Plugged into Probe Socket, sense pin PB7. Have also tried plugged into endstop (PG10)
Sense pin is logic high (3.2V) and pulled low when triggered, but klipper status doesn’t change.
Have tried all 4 permutations (normal, !, ^, ^!) without any difference.
Yes, bed is 6mm thick aluminium, with magnetic flex plate so more than enough metal to trigger probe.
Probe has indicator LED on the top of the housing with operates as expected
Can you put a voltmeter on the output pin of the sensor? Also, how are you powering the sensor and did you put in the diode to prevent high voltages from being sent back to the controller?
What pin are you connected to now? If it’s the Octopus pro, do you have any jumpers in J16 to J23 (these are the DIAG pins for the TMC drivers sensorless homing and if they are in place, then you will have problems with switches like the inductive probe)?
In any case, I highly recommend that you put a diode in series with the signal pin, as is shown in the following diagrams:
Such an ordinary 5 V inductive sensor can be easily connected to a 3 pin endstop connector providing 5 V.
I never had issues there without the Zener diode.
If the sensor does not respond in my cases the wires were connected in the wrong order…
Most sensors should have a LED showing activity.
On my KP3S there is a SuperPINDA installed that lights all the time except it approximates a metal surface.
And it does not use any inverting or other stuff:
Since you have the Octopus Pro there is no need for a diode when using the probe port - see page 12:
However they say that the probe input pin is PC5 but you mentioned completely different pins in your original post?!
And again please check the wiring for probe port J40 on page 13!
If you hit the refresh button under Endstops in the Machine tab on Mainsail does it toggle the state in any kind for a free probe and one with a metal surface right under it?
Thankyou for your research, it is much appreciated.
So, ratOS for the btt octopus pro defines it as PB7, and i’m sure if seen that same pin ref elsewhere. The btt github page, you kindly linked, is the most detailed i’ve seen and it says PC5.
Refreshing the endstops in the macine tab appears as your graphic and it doesn’t change the endstop z or probe when probe triggered (x and y endstops work correctly and show as open / triggered correctly).
In a couple of hours, when home from work, I will modify to PC5 and i will report back
The probe pin assignment is in a config file which is read only, and at the top of the file it states you can make modifications in the printer.cfg file.
In the [Probe] section I’m trying to change the probe pin from PB7 to PC5.
probe_pin=PC5 or probe_pin: PC5 isn’t accepted and pin: PC5 is ignored.
I’ve tried numerous alternatives and klipper log show probe pin as PB7