Hybrid View
-
13-10-2016 #1
NPN and PNP are transistor types. Transistors are like switches, strangely picky switches.
An NPN switches power to ground. A PNP switches power off the power rail.
So if you have an NPN output sensor it is going to switch something to ground.
If you wanted a Voltage, connect a resistor between and NPN output and the Voltage rail.
More likely you want a current. To avoid interference CNC folk tend to use opto-isolation, the output turns on an LED which shines on a detector, which probably has an NPN output, but someone else can worry about that one.
The only sensible way to drive an LED is with a resistor off the Voltage rail, through your LED, through the NPN output to ground.
If it is a silicon transistor you will have a 0.7V drop across it, probably another 1.2V drop across the LED, use whatever is left to calculate the resistor value.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Proximity limit switch problems
By davrich in forum General ElectronicsReplies: 16Last Post: 12-03-2018, 01:58 PM -
Wiring 3 wire proximity switches in series
By mikem in forum General ElectronicsReplies: 6Last Post: 02-05-2016, 09:33 AM -
3 wire proximity switch help
By mikem in forum General ElectronicsReplies: 24Last Post: 06-10-2015, 03:24 AM -
Proximity switch NPN or PNP
By Matt81 in forum General ElectronicsReplies: 9Last Post: 19-04-2014, 11:38 AM -
Proximity Wiring Problem
By Bruce in forum General ElectronicsReplies: 7Last Post: 13-01-2014, 07:21 PM
Bookmarks