This is PNP output . Then it's not a PM-U25 but a PM-U25P !2) 4k7 resistor over 5V and light ON (as shown in your diagram on Mar.14): 4.84V when sensor detects nothing (no hit), 5.15V when sensor detects object (hit).
Better use two resistors with vcc = 5V
Statistics: Posted by danjperron — Mon Mar 18, 2024 8:25 pm