This video shows how to set up a Z probe touch sensor in LinuxCNC on a Raspberry Pi 5.
The original tutorial is located here:
https://www.sdoherty.com/2020/04/using-z-probe-with-linuxcnc.html
The touch probe that I show in the video was ordered from AliExpress here:
https://www.aliexpress.us/item/3256805394262483.html?spm=a2g0o.order_list.order_list_main.24.625918024qwSVd&gatewayAdapt=glo2usa
The parallel hat, breakout board, and example HAL files are all located at:
Byte2Bot.com