Artificial intelligent assistant

Which proximity sensor to use? I am building a dolly and I am confused as to which proximity sensor to use. Should I go for M8 or M12 and 5 V or 6-36 V? What should be the best detecting distance? Should it be 2/4/8 mm. Which one should I select?

Tomas Sanladerer has produced a nice video on this topic: <

@ 7:31 you see an overview of the precision of various sensors, including the ones you mention. It appears that the M12-4 and M18-8 sensors are more accurate than the M8-8.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 2ef3c636bbaf0905fb5eb2e5a27364aa