Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4962

Automation, sensing and robotics • Re: Wiring multiple photoelectric sensors to RPI 4

$
0
0
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).
This is PNP output . Then it's not a PM-U25 but a PM-U25P !
Sensor_spec.jpg
Better use two resistors with vcc = 5V
sensor_PNP.jpg

Statistics: Posted by danjperron — Mon Mar 18, 2024 8:25 pm



Viewing all articles
Browse latest Browse all 4962

Trending Articles