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
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 spec | Value |
|---|---|
| Type | Phototransistor optocoupler |
| Max voltage | 35 V collector-emitter; 5000 Vrms isolation |
| Max current | LED 50 mA max (5 to 20 mA in use) |
| Key figure | Current transfer ratio 50 to 600 % depending on grade |
| Package | DIP-4 |
| Pin order | 1 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
Isolating a microcontroller from another supplyReading 12 V or 24 V signals safelyRelay module inputs
Builds that use it
Guided build
Morse beacon with keying circuit
Guided build
Optocoupler isolation lab
Guided build
Macro focus stacking rail
Guided build
Two-wheeler indicator reminder
Idea
Isolated charger teardown
Idea
Fence voltage tester and break alarm
Idea
Weather mast with surge protection
Idea
Signal isolator with an optocoupler
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.
