[coilTouch] probe

Basic Information:

Printer Model: ender e3
MCU / Printerboard: Fyscet s6
klippy.log log doesn’t needed

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:


Hello :wave:
I want to make bfptouch from +5v coil without using a servo.
Tell me please, how to make a new configuration?
I found out, that I need to use [output_pin]
Here is the working configuration for [bfptouch] in my printer:

[servo BFPTouch]
pin: PA3
initial_angle: 131
maximum_servo_angle = 180
minimum_pulse_width = 0.0005
maximum_pulse_width = 0.0024

[probe]
pin: ^PA0 #using z-endstop pin
x_offset: 0.0
y_offset: 0.0
z_offset: 1.0
speed: 3.0
samples: 2
activate_gcode:
SET_SERVO SERVO=BFPTouch ANGLE=180
G4 P300
deactivate_gcode:
SET_SERVO SERVO=BFPTouch ANGLE=131

A have a little coil it turns on +5v
It has only 2 wire VCC and GND
If we give it +5v, the probe goes down. If we turn off the power, the probe goes back automatically home position.
And I want to make from OptoSensor and this little coil
Some kind of bfptouch. Help me please with configuration. Thank you

See Servo deployed ABL Z homing issue and fix

Thank you, but I need something else.
I’m working on a new bfptouch. In my project I don’t use any servos

IMG_20230907_225607_649
!IMG_20230907_225607_413|383x414](u lollpload://uHrVznw5GUjeC4Vsr5wJwypWGtQ.jpeg)

IMG_20230907_225607_413

Most printer boards today have a TTL level of 3.3V and only very few are 5V tolerant on their pins.
What you like to do would likely require a level-shifter, e.g. https://www.sparkfun.com/products/12009
Potentially, the current needed to operate the coil could be a blocking point. You need to check this.

…and if you are searching for a way to toggle your pins, respectively query its state, then have a look at:

As an alternative, I have a daft day and do not understand what you are referring to.

Thank you for your help, actually I don’t need this converter. In my printerboard I have a 2 pins,
+5v pin- PA3 and
+3.3v pin - PA0