41
1072_0_Product_Manual - February 24, 2011 2:52 PM
Monitoring the position of a relay
The relay contact can be treated as a switch, and wired up similarly. When the
relay contact is closed, the Digital Input will report TRUE.
Detecting an external Voltage with an N-Channel MOSFET
A MOSFET can be used to detect the presence of an external voltage.
The external voltage will turn on the MOSFET, causing it to short the
Digital Input to Ground.
If the MOSFET is conducting > 270uA, the Digital Input is guaranteed
to report TRUE.
If the MOSFET is conducting < 67uA, the Digital Input is guaranteed to
report FALSE.
The voltage level required to turn on the MOSFET depends on the make
of of MOSFET you are using. Typical values are 2V-6V.
Isolating a Digital Input with an Optocoupler
When driving current through the LED, the Digital Input will
report TRUE. The amount of current required will depend on
the optocoupler used. Design to sink at least 270uA to cause
the digital input to report TRUE, and less than 67uA to report
FALSE.
Detecting an external Voltage with an NPN Transistor
This circuit can be used to measure if a battery is connected, or if 12V
(for example) is on a wire.
By designing to have Collector-Emitter current > 270uA, the digital
input will report TRUE.
100nF
15K
15K
+5V
+5V
INPUT
GROUND
INPUT
GROUND
USER
SW
IT
C
H
W iring a switch to a Digital Input
Phidget
Digital
Input x1
APPLICATION
Monitoring the position of
a Relay
K 1
FSR
Isolating a Digital Input w
ith an Optocoupler
Phidget
Digital
Input
Closing switch causes digital input to report TRUE
Detail of Digital Input
USER
APPLICATION
Relay contact causes Digital Input to report TRUE
Current through LED causes Digital Input to report TRUE
USER
Using an FSR as a switch
APPLICATION
FSR Resistance f alling below 3.75k Ohms causes Digital Input to go TRUE
FSR Resistance rising above 75k Ohms causes Digital Input to go FALSE
This design can be used with any variable resistance sensor - CDS Photocells.
Q1
Detecting an external Voltage with an NPN Transistor
Collector-Emitter Current > 270uA causes Digital Input to report TRUE
Collector-Emitter Current < 67uA guarantees Digital Input to report FALSE
Detecting an external Voltage with an N-Channel MOSFET
1K
R1
Drain-Source Current > 270uA causes Digital Input to report TRUE
Drain-Source Current < 67uA guarantees Digital Input to report TRUE
The resistor on the Gate is not required f
or it to f
unction, but is a good idea.
Be sure not to exceed VGS of the mosfet.
Drain-Source Current > 270uA causes Digital Input to report TRUE
Drain-Source Current < 67uA guarantees Digital Input to report TRUE
Actual Voltage Required to switch is dependent on VGS required to turn on M
OSFET
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
VS1
10K
R1
VS1
1K
R1
VS1
U1
OptoCoupler
Q1
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
100nF
15K
15K
+5V
+5V
INPUT
GROUND
INPUT
GROUND
USER
SW
IT
C
H
W iring a switch to a Digital Input
Phidget
Digital
Input x1
APPLICATION
Monitoring the position of
a Relay
K 1
FSR
Isolating a Digital Input w
ith an Optocoupler
Phidget
Digital
Input
Closing switch causes digital input to report TRUE
Detail of Digital Input
USER
APPLICATION
Relay contact causes Digital Input to report TRUE
Current through LED causes Digital Input to report TRUE
USER
Using an FSR as a switch
APPLICATION
FSR Resistance f alling below 3.75k Ohms causes Digital Input to go TRUE
FSR Resistance rising above 75k Ohms causes Digital Input to go FALSE
This design can be used with any variable resistance sensor - CDS Photocells.
Q1
Detecting an external Voltage with an NPN Transistor
Collector-Emitter Current > 270uA causes Digital Input to report TRUE
Collector-Emitter Current < 67uA guarantees Digital Input to report FALSE
Detecting an external Voltage with an N-Channel MOSFET
1K
R1
Drain-Source Current > 270uA causes Digital Input to report TRUE
Drain-Source Current < 67uA guarantees Digital Input to report TRUE
The resistor on the Gate is not required f
or it to f
unction, but is a good idea.
Be sure not to exceed VGS of the mosfet.
Drain-Source Current > 270uA causes Digital Input to report TRUE
Drain-Source Current < 67uA guarantees Digital Input to report TRUE
Actual Voltage Required to switch is dependent on VGS required to turn on M
OSFET
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
VS1
10K
R1
VS1
1K
R1
VS1
U1
OptoCoupler
Q1
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
100nF
15K
15K
+5V
+5V
INPUT
GROUND
INPUT
GROUND
USER
SW
IT
C
H
W iring a switch to a Digital Input
Phidget
Digital
Input x1
APPLICATION
Monitoring the position of
a Relay
K 1
FSR
Isolating a Digital Input w
ith an Optocoupler
Phidget
Digital
Input
Closing switch causes digital input to report TRUE
Detail of Digital Input
USER
APPLICATION
Relay contact causes Digital Input to report TRUE
Current through LED causes Digital Input to report TRUE
USER
Using an FSR as a switch
APPLICATION
FSR Resistance f alling below 3.75k Ohms causes Digital Input to go TRUE
FSR Resistance rising above 75k Ohms causes Digital Input to go FALSE
This design can be used with any variable resistance sensor - CDS Photocells.
Q1
Detecting an external Voltage with an NPN Transistor
Collector-Emitter Current > 270uA causes Digital Input to report TRUE
Collector-Emitter Current < 67uA guarantees Digital Input to report FALSE
Detecting an external Voltage with an N-Channel MOSFET
1K
R1
Drain-Source Current > 270uA causes Digital Input to report TRUE
Drain-Source Current < 67uA guarantees Digital Input to report TRUE
The resistor on the Gate is not required f
or it to f
unction, but is a good idea.
Be sure not to exceed VGS of the mosfet.
Drain-Source Current > 270uA causes Digital Input to report TRUE
Drain-Source Current < 67uA guarantees Digital Input to report TRUE
Actual Voltage Required to switch is dependent on VGS required to turn on M
OSFET
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
VS1
10K
R1
VS1
1K
R1
VS1
U1
OptoCoupler
Q1
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
100nF
15K
15K
+5V
+5V
INPUT
GROUND
INPUT
GROUND
USER
SW
IT
C
H
W iring a switch to a Digital Input
Phidget
Digital
Input x1
APPLICATION
Monitoring the position of
a Relay
K 1
FSR
Isolating a Digital Input w
ith an Optocoupler
Phidget
Digital
Input
Closing switch causes digital input to report TRUE
Detail of Digital Input
USER
APPLICATION
Relay contact causes Digital Input to report TRUE
Current through LED causes Digital Input to report TRUE
USER
Using an FSR as a switch
APPLICATION
FSR Resistance f alling below 3.75k Ohms causes Digital Input to go TRUE
FSR Resistance rising above 75k Ohms causes Digital Input to go FALSE
This design can be used with any variable resistance sensor - CDS Photocells.
Q1
Detecting an external Voltage with an NPN Transistor
Collector-Emitter Current > 270uA causes Digital Input to report TRUE
Collector-Emitter Current < 67uA guarantees Digital Input to report FALSE
Detecting an external Voltage with an N-Channel MOSFET
1K
R1
Drain-Source Current > 270uA causes Digital Input to report TRUE
Drain-Source Current < 67uA guarantees Digital Input to report TRUE
The resistor on the Gate is not required f
or it to f
unction, but is a good idea.
Be sure not to exceed VGS of the mosfet.
Drain-Source Current > 270uA causes Digital Input to report TRUE
Drain-Source Current < 67uA guarantees Digital Input to report TRUE
Actual Voltage Required to switch is dependent on VGS required to turn on M
OSFET
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
VS1
10K
R1
VS1
1K
R1
VS1
U1
OptoCoupler
Q1
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input
INPUT
GROUND
Phidget
Digital
Input