View Single Post
  #9   Spotlight this post!  
Unread 06-02-2016, 12:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,057
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PNP versus NPN sensors

Quote:
Originally Posted by SuperBK View Post
A more reliable way than relying on a voltage divider and two resistors pulling against each other is to use an opto-isolator with a NPN output to invert the signal.
Could a simple (and quite inexpensive) NPN transistor be made to work?
Attached Thumbnails
Click image for larger version

Name:	PNP to DIO.png
Views:	38
Size:	8.0 KB
ID:	19991