Designing a Circuit to Detect PNP and NPN Sensors

  • Thread starter Thread starter DSelfridge
  • Start date Start date
  • Tags Tags
    Project
AI Thread 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).
 
Thread 'Have I solved this structural engineering equation correctly?'
Hi all, I have a structural engineering book from 1979. I am trying to follow it as best as I can. I have come to a formula that calculates the rotations in radians at the rigid joint that requires an iterative procedure. This equation comes in the form of: $$ x_i = \frac {Q_ih_i + Q_{i+1}h_{i+1}}{4K} + \frac {C}{K}x_{i-1} + \frac {C}{K}x_{i+1} $$ Where: ## Q ## is the horizontal storey shear ## h ## is the storey height ## K = (6G_i + C_i + C_{i+1}) ## ## G = \frac {I_g}{h} ## ## C...
Back
Top