FSR based endstop
thingiverse
https://www.youtube.com/watch?v=Yuj6TY7PoTI Simple sensor for detecting touches or other probes. I use it for automatic Z offset calculation on my printer. Home with your bed probe onto the fsr (can use either device to trigger, depending on which is more sensitive), then probe the nozzle onto the FSR. The difference in Z is the offset of your nozzle to probe. Pi Pico sourcecode available at https://github.com/pfn/fsrendstop The case uses several M3x8 socket cap screws to secure itself closed. The FSR is a 402 model that I picked up from aliexpress, but any thing similar in dimension should work.
With this file you will be able to print FSR based endstop with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on FSR based endstop.