I tried an inductive NO proximity sensor switch. Those switches work like the other endstops. If using a Ramps, just plug it at the Zmin endstop connector. You don´t need any extra code.
The sensor I have is triggeredl from a max. distance of about 4mm. It was very cheap (around 7$). It was listed on e-bay as "capacitive sensor", but it's inductive (chinese sellers... you know...)
The detection works ok if there is a metal sheet under my printing platform (an Ikea mirror), As I don't want to add that metal sheet and I'm using and mechanical switch-based alutolevel system which works great, so I won't use the "inductive system", but my experiments looked promising.
The sensor I have is triggeredl from a max. distance of about 4mm. It was very cheap (around 7$). It was listed on e-bay as "capacitive sensor", but it's inductive (chinese sellers... you know...)
The detection works ok if there is a metal sheet under my printing platform (an Ikea mirror), As I don't want to add that metal sheet and I'm using and mechanical switch-based alutolevel system which works great, so I won't use the "inductive system", but my experiments looked promising.