@cata said in How to connect Z probe, that is connected to 24V VIN:
I will purchase the diodes next monday.
Can I test the output to ensure not burn the duet?
Yes, if you have a multimeter you can connect it between the output and +3.3V or +5V to show when the sensor is triggered.
The purpose of the diode is to protect the Duet if the ground wire of the sensor breaks or gets disconnected.