45
1070_0_Product_Manual - October 28, 2010 8:52 AM
Isolating a Digital Output with an
Optocoupler
In some applications, particularly where there is
a lot of electrical noise (automotive), or where
you want maximum protection of the circuitry
(interactive installations, kiosks), electrical
isolation buys you a huge margin of protection.
Driving the LED causes the output transistor to
sink current. The maximum current through
the transistor will depend in part on the
characteristics of the optocoupler.
Controlling a relay with a N-Channel MOSFET
A inexpensive mosfet and flyback diode can be used to control
larger loads - relays for example - directly from the digital output.
Be sure to use a Logic-Level MOSFET so that the +5V Digital
Output is able to turn it on.
Controlling a relay with a NPN transistor
This circuit is very similar to the N-channel mosfet - but you
may already have NPN transistors on hand.
Using a 3051 Dual Relay Board with one or two Digital
Outputs
The 3051 Dual Relay Board is designed to be used with the
PhidgetInterfaceKit 8/8/8. An Analog Input can be used to supply
power to the relays, and one or two digital outputs used to control
the relays. The 3051 is a good option if you need a couple relays
in your project.
Q1
250
+5V
Detail of Digital Output
TRUE
FALSE
+5V
OUTPUT
GROUND
Isolating a Digital Output w
ith a Optocoupler
Driving LED causes output transistor to sink current
Maximum current through transistor will depend in part on the transf
er characteristics of the optocoupler
Be conservative, and refer to the datasheet of the optocoupler
K 1
D1
Controlling a relay with a NPN Transistor.
K 1
OUTPUT
GROUND
Phidget
Digital
Output
D1
Controlling a relay with a N-Channel MOSFET
Be sure to use a Logic-Level Mosfet - so the +5V
Digital Output is able to turn it on.
Isolating a the Digital Output w
ith a MOSFET-Based SSR
Driving LED causes output transistors to turn on
Can often be used to control AC or DC
Driving an LED with the Digital Output
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
Phidget Digital
Output x1
VS1
VS1
VS3
Q1
VS1
Load
U1
OptoCoupler
Load
D1
The Load can also be switched with the SSR on the high side.
Using a 3052 SSR Board with a Digital Output
Driving Output causes output of 3052 to Turn on
Can be used to control AC or DC
USER
APPLICATION
VS1
Load
The Load can also be switched with the 3052 on the high side.
3052
RED
BLACK
Using a 3051 Dual Relay Board with one or tw
o Digital Outputs
Driving Outputs causes 3051 Relay s to Turn on
Can be used to control AC or DC
USER
APPLICATION
Analog Input is for powering Relay s Only
0C
0NO
0NC
1C
1NO
1NC
CTL 0
CTL 1
ANL GI N
3051
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
Phidget
Digital
Output
OUTPUT
ANALOG
INPUT
Q1
250
+5V
Detail of Digital Output
TRUE
FALSE
+5V
OUTPUT
GROUND
Isolating a Digital Output w
ith a Optocoupler
Driving LED causes output transistor to sink current
Maximum current through transistor will depend in part on the transf
er characteristics of the optocoupler
Be conservative, and refer to the datasheet of the optocoupler
K 1
D1
Controlling a relay with a NPN Transistor.
K 1
OUTPUT
GROUND
Phidget
Digital
Output
D1
Controlling a relay with a N-Channel MOSFET
Be sure to use a Logic-Level Mosfet - so the +5V
Digital Output is able to turn it on.
Isolating a the Digital Output w
ith a MOSFET-Based SSR
Driving LED causes output transistors to turn on
Can often be used to control AC or DC
Driving an LED with the Digital Output
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
Phidget Digital
Output x1
VS1
VS1
VS3
Q1
VS1
Load
U1
OptoCoupler
Load
D1
The Load can also be switched with the SSR on the high side.
Using a 3052 SSR Board with a Digital Output
Driving Output causes output of 3052 to Turn on
Can be used to control AC or DC
USER
APPLICATION
VS1
Load
The Load can also be switched with the 3052 on the high side.
3052
RED
BLACK
Using a 3051 Dual Relay Board with one or tw
o Digital Outputs
Driving Outputs causes 3051 Relay s to Turn on
Can be used to control AC or DC
USER
APPLICATION
Analog Input is for powering Relay s Only
0C
0NO
0NC
1C
1NO
1NC
CTL 0
CTL 1
ANL GI N
3051
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
Phidget
Digital
Output
OUTPUT
ANALOG
INPUT
Q1
250
+5V
Detail of Digital Output
TRUE
FALSE
+5V
OUTPUT
GROUND
Isolating a Digital Output w
ith a Optocoupler
Driving LED causes output transistor to sink current
Maximum current through transistor will depend in part on the transf
er characteristics of the optocoupler
Be conservative, and refer to the datasheet of the optocoupler
K 1
D1
Controlling a relay with a NPN Transistor.
K 1
OUTPUT
GROUND
Phidget
Digital
Output
D1
Controlling a relay with a N-Channel MOSFET
Be sure to use a Logic-Level Mosfet - so the +5V
Digital Output is able to turn it on.
Isolating a the Digital Output w
ith a MOSFET-Based SSR
Driving LED causes output transistors to turn on
Can often be used to control AC or DC
Driving an LED with the Digital Output
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
Phidget Digital
Output x1
VS1
VS1
VS3
Q1
VS1
Load
U1
OptoCoupler
Load
D1
The Load can also be switched with the SSR on the high side.
Using a 3052 SSR Board with a Digital Output
Driving Output causes output of 3052 to Turn on
Can be used to control AC or DC
USER
APPLICATION
VS1
Load
The Load can also be switched with the 3052 on the high side.
3052
RED
BLACK
Using a 3051 Dual Relay Board with one or tw
o Digital Outputs
Driving Outputs causes 3051 Relay s to Turn on
Can be used to control AC or DC
USER
APPLICATION
Analog Input is for powering Relay s Only
0C
0NO
0NC
1C
1NO
1NC
CTL 0
CTL 1
ANL GI N
3051
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
Phidget
Digital
Output
OUTPUT
ANALOG
INPUT
Q1
250
+5V
Detail of Digital Output
TRUE
FALSE
+5V
OUTPUT
GROUND
Isolating a Digital Output w
ith a Optocoupler
Driving LED causes output transistor to sink current
Maximum current through transistor will depend in part on the transf
er characteristics of the optocoupler
Be conservative, and refer to the datasheet of the optocoupler
K 1
D1
Controlling a relay with a NPN Transistor.
K 1
OUTPUT
GROUND
Phidget
Digital
Output
D1
Controlling a relay with a N-Channel MOSFET
Be sure to use a Logic-Level Mosfet - so the +5V
Digital Output is able to turn it on.
Isolating a the Digital Output w
ith a MOSFET-Based SSR
Driving LED causes output transistors to turn on
Can often be used to control AC or DC
Driving an LED with the Digital Output
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
USER
APPLICATION
Phidget Digital
Output x1
VS1
VS1
VS3
Q1
VS1
Load
U1
OptoCoupler
Load
D1
The Load can also be switched with the SSR on the high side.
Using a 3052 SSR Board with a Digital Output
Driving Output causes output of 3052 to Turn on
Can be used to control AC or DC
USER
APPLICATION
VS1
Load
The Load can also be switched with the 3052 on the high side.
3052
RED
BLACK
Using a 3051 Dual Relay Board with one or tw
o Digital Outputs
Driving Outputs causes 3051 Relay s to Turn on
Can be used to control AC or DC
USER
APPLICATION
Analog Input is for powering Relay s Only
0C
0NO
0NC
1C
1NO
1NC
CTL 0
CTL 1
ANL GI N
3051
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
GROUND
Phidget
Digital
Output
OUTPUT
Phidget
Digital
Output
OUTPUT
ANALOG
INPUT