Unable to get BL Touch to work properly with printer

Basic Information:

klippy (1).log (1.6 MB)

Printer Model: Tenlog TLD3 Pro
MCU / Printerboard: 32 bit motherboard
Host / SBC
klippy.log

Describe your issue:

Hello,
I am facing an issue with my klipper and bltouch where the query probe is either always giving triggered or open based on the sensory and control pin definitions in the bltouch section.

With this setup

bltouch

sensor_pin: !PC15
control_pin: PC14

The pin up and pin down commands work properly the query probe always gives triggered.

When I change the setup to this:

bltouch

sensor_pin: PC15
control_pin: PC14
The pin up and pin down commands work properly the query probe always gives open.

Here is some information regarding my setup and wiring.
I am running klipper on raspberry pin on a 32 bit motherboard for my Tenlog TL D3 Pro.
This is a dual extrusion printer so it has two three pin ports on the motherboard for the z1 and z2. The instructions I got from the Vendor show to connect the bltouch
to the motherboard in the following manner.

Z1 End Stop Pin Port
G Black Wire from BL Touch
S White Wire from BL Touch
5V No wire connected

Z2 End Stop Pin Port
G Green Wire from BL Touch
S Yellow Wire from BL Touch
5V Red Wire from BL Touch

Weba @mtzmechengr !

One kind request: When posting code use the Preformatted textfeature of the forum editor for better reading and no faulty formatting.

Of course: the “!” in front of a pin-name inverts its value.

Have you used the hints given in this BL-Touch - Klipper documentation ?

Check your wiring and Pin names. Your results could be there is nothing attached to pin PC15.

The connection to the pins is definitely there because I am able to move the bl touch using pin_up and pin_down commands. But for some reason I always get that the probe is triggered from query probe when the sensor_pin is !PC15 and I always get that the probe is open from query probe when the sensor_pin is PC15

The pin that extends the probe is correctly wired.

The return signal from the BLtouch is on a separate wire. That wire is unhooked or pluged into a different pin.

OR Bltouch is FUBAR
OR ADC on your mainboard is FUBAR

Do you have a pinout diagram for your board? I couldn’t find one.

I am not able to find a pin out diagram either. But the pins are correct as I was running Klipper successfully through my raspberry pi connected to this 32 bit board successfully. It is a dual axis machine so there are two 3 pin end stop ports on the motherboard. The five wires from the BL touch are wired correctly as well and the bl touch although not authentic was taken from an Ender 3 Pro and worked fine. There is a printer.cfg code on github with this printer using a 32 bit board and a bltouch.
tld3pro_klipper/32bit_board/cfg/with_bltouch/test_speed.cfg at master · audiobrian/tld3pro_klipper · GitHub

Here is some output from my dashboard

Query probe always reads ‘open’, even after I move the pin up or down using pin up and pin down

1:25 PM

probe: open

1:25 PM

QUERY_PROBE

1:25 PM

Sending BLTOUCH_DEBUG COMMAND=pin_up

1:25 PM

BLTOUCH_DEBUG COMMAND=pin_up

1:23 PM

probe: open

1:23 PM

QUERY_PROBE

1:23 PM

Sending BLTOUCH_DEBUG COMMAND=pin_down

1:23 PM

BLTOUCH_DEBUG COMMAND=pin_down

Then either the input pin is wrong or broken. Or the BL Touch is broken.

You have to extend the pin then (slowly gently) push the pin up to get a signal on the wire.