Components / Transistors and MOSFETs / Optocoupler PC817

Optocoupler PC817

Transfers an optical signal between input and output portions.

TypePhototransistor optocoupler
Max voltage35 V collector-emitter; 5000 Vrms isolation
Max currentLED 50 mA max (5 to 20 mA in use)
Key figureCurrent transfer ratio 50 to 600 % depending on grade
SemiconductorsReviewedMPN PC817Used in 8 projects
PC817
In short

What is the Optocoupler PC817 and what is it used for?

Transfers an optical signal between input and output portions. Makers use it for demonstrate isolated signal concepts.

Slow compared with logic: a few microseconds per edge, fine for switches, not for fast data.
In the real world

Signal isolation in industrial interfaces

How it works

Semiconductor devices control or steer current. Safe use requires exact polarity, voltage/current ratings and thermal limits.

Key specifications

Diode or transistor specValue
TypePhototransistor optocoupler
Max voltage35 V collector-emitter; 5000 Vrms isolation
Max currentLED 50 mA max (5 to 20 mA in use)
Key figureCurrent transfer ratio 50 to 600 % depending on grade
PackageDIP-4
Pin order1 anode, 2 cathode, 3 emitter, 4 collector

Pinout

1LED anode, through a resistor from the signal
2LED cathode, to the signal's GND
3Emitter (isolated side)
4Collector (isolated side), with a pull-up

How to use it

Passes an on/off signal across a gap with no electrical connection. Use about 330 Ω to 1 kΩ for the LED from 5 V and a 10 kΩ pull-up on the output.

Applications

Buy at

Common questions

What is the Optocoupler PC817 used for?

In products: signal isolation in industrial interfaces. In maker projects: demonstrate isolated signal concepts.

How does the Optocoupler PC817 work?

Semiconductor devices control or steer current. Safe use requires exact polarity, voltage/current ratings and thermal limits.