Designing a Circuit to Detect PNP and NPN Sensors

  • Thread starter Thread starter DSelfridge
  • Start date Start date
  • Tags Tags
    Project
Click For Summary
The discussion focuses on designing a circuit to differentiate between PNP and NPN sensors using two 9V batteries. The circuit aims to light up one LED for a positive output (PNP) and another for a negative output (NPN), with both LEDs sharing a common connection. Participants suggest starting with a single LED and then adding the second one, utilizing a bipolar transistor for the design. The importance of converting PNP/NPN signals to low and high potential is emphasized for clarity. The design can be simplified by ensuring both LEDs share a common connection to the power source.
DSelfridge
Messages
2
Reaction score
0

Homework Statement



Workinfg on a project for a teacher currently and need help designing the circuit for how to detect whether a sensor is PNP or NPN. I need to have 2 9V batteries power the NPN or PNP sensor and then have a spot for the third wire, where if it is positive output (PNP) (sourcing) then one LED lights up, whereas if it is negative output (NPN) (sinking), then a different LED lights up. Any help?
 
Physics news on Phys.org
Try to make a circuit with one LED first, I think the second one should be easy to add with an additional (known) transistor afterwards.
 
Well I understand that but I only want to have 3 wire inputs for the sensor which then has both LED's tied to the same spot just each turns on depending on whether it gains a sourcing or sinking output from the sensor? does that make sense? I don't really know what to do for that, a bipolar transistor?
 
Just 3 connections for the LEDs? That's still possible.
Try to convert "pnp<->npn" to "low potential<->high potential" (somewhere) first.
Just 3 connections are easy if both LEDs can share a common connection to the power source (positive or negative side).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
5
Views
2K
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
11
Views
3K
  • · Replies 9 ·
Replies
9
Views
7K
Replies
6
Views
2K