Part of the Day · 2026-11-08
A photocoupler: when the infrared LED inside lights up, the phototransistor facing it turns on. Input and output are not electrically connected (5kV isolation), so it is used to separate a microcontroller from AC-mains or motor circuits. It is the most common 4-pin part for switching-power-supply feedback and PLC inputs.
3D view
3D drawing based on the Through-Hole drawing dimensions in the Sharp datasheet (OP18002EN). Two leads on each side; the ● dot side is pin 1 (anode). The height where the leads leave the body and their splay angle are approximate. Not to scale.
Actual size · top view
↓ Actual size, left edge aligned to 0 on the ruler
One ruler tick = 1mm. On PC this is actual size on a 24-inch FHD monitor at 100% zoom; on iPhone it adjusts automatically. For other screens, use “Calibrate ruler” below.
Enlarged (DIP-4 · top view · approx. 9×)
Pins 1 Anode (A) · 2 Cathode (K) — input LED / 3 Emitter (E) · 4 Collector (C) — output transistor (the ● dot marks pin 1)
Package DIP-4
Actual size · Right side view
Body thickness 3.5mm · body top to lead shoulder 4.15mm · lead 3.2mm · lead width 0.5mm (Sharp OP18002EN drawing)
Enlarged · Right side view · approx. 14×
Seen from the right (pins 3 and 4) — below the wide shoulders, the thin leads go into the PCB holes. The body sits slightly above the shoulders.
| Type | Infrared LED + phototransistor photocoupler |
| Package | DIP-4 through-hole (body 6.5 × 4.6mm, 7.62mm row spacing) · SMT gull-wing version also available |
| Input-output isolation voltage | 5kV (rms, AC 1 minute) |
| Collector-emitter voltage VCEO | 80V |
| Current transfer ratio CTR | 50 ~ 400% (IF 5mA, VCE 5V, 25℃) |
| Input LED forward current IF | max 50mA |
| Input LED forward voltage VF | typ. 1.2V · max 1.4V (IF 20mA) |
| Input reverse voltage VR | max 6V |
| Output collector current IC | max 50mA |
| Cut-off frequency | typ. 80kHz |
| Operating temperature | −30 ~ 100℃ |
Values are from the Sharp datasheet.
The character after X in the part number is the CTR rank (N = no rank selection 2.5~30mA, 1~4 = A~D, 5~0 = combined ranks). Through-hole parts come in sleeves of 100, the SMT version on reels of 2,000. Below IF 1mA the CTR variation grows, and the LED output drops with long use (datasheet: 50% over 5 years), so design with margin. Besides PC817, the chip is also marked with the rank letter, factory mark and date code.
| ▼ Previous | Part of the Day · SMAJ5.0A — SMA 400W 5V unidirectional TVS diode (marking AE) |
|---|