advertisement
from the identifying need department...
NPN vs PNP
Sensor technologies. topic
Posted by raidermanz on 6 May, 2009 - 2:32 pm
I need to generate a voltage signal to +5vdc on an input pin for a microcontroller. I have a functional circuit in place to handle a +24vdc input from a proximity sensor. Basically, this input pin on the microcontroller is held at 0vdc across a resistor and a zener diode is regulating the incoming voltage from the sensor. Since I need a positive voltage to be generated from the sensor, would that require a PNP or an NPN style sensor? Also, if I am using a proximity sensor and need the positive voltage signal to be generated while there is an object being detected, and the voltage signal to be near 0vdc when there is no object, would I require a NO or NC style?

Any help would be appreciated. Thanks.


Posted by William Sturm on 6 May, 2009 - 5:10 pm
PNP NO

Bill Sturm
Abbeytronics LLC


Posted by DroopyPants on 6 May, 2009 - 5:12 pm
If I am thinking correctly a PNP proximity switch will have the positive output that you require. Also a N.O. output would be needed for the output to be "high" when its sensing an object and "low" when nothing is present. Hope this helps.


Posted by Curt Wuollet on 6 May, 2009 - 9:06 pm
N.O. PNP.

Regards
cww


Posted by raidermanz on 7 May, 2009 - 2:40 pm
Thanks to all, very helpful.


Posted by Anonymous on 8 May, 2009 - 12:23 pm
Hi,

It's not really possible to determine if you need PNP/NPN based on the information you give so far. The reason is that it is not clear whether your microcontroller needs a current source or a current sink. Also, it sounds like a normally open sensor might work however it's a good idea to verify the microcontroller circuit against potential sensors' circuits. Terms like PNP/NPN and NO/NC do not sufficiently describe a device's input or output circuit.


Posted by Bimalendu on 14 November, 2009 - 1:50 am
If he is making it clear that he need a high input. i think its clear that his microcontroller is Sinking Input only. So PNP NO is perfect what he need.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2013 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.


Fortune
This login session: $13.99, but for you $11.88
Advertise here
Advertisement
our advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive