How to wire Proximity sensor - markniu/PandaPi GitHub Wiki
support wild range voltage 5V~36V Inductive sensor NPN, since it have optocoupler.
note, there is a litte bug hardware for the proximity for the V2.8 2021/2 (ordered before 2021/3/12),and you need to remove one resistor like the following.