Phone

    00852-6915 1330

PC817 Photocoupler: Pinout, Datasheet, Circuit [Video]

  • Contents

PC817 is a photocoupler.

 

PC817 consists of a diode emitting LED and a phototransistor. They're optically coupled together. The electrical signal is transmitted optically between the input and the output side without any physical connection between the two sides. The IR circuit can be designed by hand, but we have a fully pre-designed and small built-in IC circuit known as the PC817 Optocoupler. The PC817 Optocoupler is small and comes in multiple packages.

 

This video is about how to test photocoupler PC817.


Catalog

PC817 Pinout

PC817 Features

PC817 Equivalent

Where to Use PC817 IC

How to Use PC817 IC 

PC817 Applications

PC817 Package

Component Datasheet

FAQ


PC817 Pinout

PC817 PC817 Pinout
PC817 PC817 Pinout

 

Pin Name Description
Anode Anode pin of the IR LED. Connected to logic input
Cathode Cathode pin of the IR LED. Connected to ground
Emitter Emitter pin of transistor. Connected to Ground
Collector Collector pin of the Transistor. Provides logical output

PC817 Features

  • Input Diode Forward Voltage: 1.25V

  • Collector-Emitter Voltage: 80V (max)

  • Collector Current: 50mA (max)

  • Cut-off frequency: 80 kHz

  • Rise Time: 18us

  • Fall Time: 18us

  • Available as 4-pin DIP through hole and also as SMT package.


PC817 Equivalent

TLP321

Alternatives Opto-couplers: MOC3021 (Zero Cross TRIAC) , MOC3041 (Non-Zero Cross TRIAC), FOD3180 (High-Speed MOSFET), MCT2E, 4N25


Where to Use PC817 IC

PC817 Photocoupler has a transistor which is controlled based on light (photon). So this IC basically has an IR (infrared) LED and a phototransistor inside it. When the IR LED is powered, the light from it falls on the transistor and it conducts. The arrangement and pinouts of the IR LED and the photo-transistor is shown above.

 

This IC is used to provide electrical insulation between two circuits, one part of the circuit is connected to the IR LED and the other part to the Photo Transistor. The digital signal to the IR LED will be reflected on the transistor, but there will be no hard electrical connection between the two. This comes in handy when you're trying to isolate a noisy signal from your digital electronics, so if you're looking for an IC to provide optical insulation in your circuit design, this IC might be the right choice for you.


How to Use PC817 IC

Using the PC817 IC is pretty straight forward, we just need to connect the a node pin of the IR LED (pin 1) to the logic input to be isolated and the cathode (pin 2) of the IR to the ground. Then pull the collector pin out of the transistor using the resistor (here I used 1K) and connect the collector pin to the output of your desired logic circuit. The emitter (pin 4) has been grounded.

 

Note: The ground line of the IR LED (pin 2) and the ground line of the transistor (pin 4) are not connected together. This is where isolation is taking place.

PC817 Circuit Diagram

PC817 Circuit Diagram

 

Now, when the Logic input is low, the IR LED will not be running and therefore the transistor will also be off-state. As a result, the Logic output will remain high, this high voltage can be set anywhere up to-30V (Collector-Emitter Voltage) where I used +5V. The pull-up resistor 1K acts as a load resistor.

 

But when the Logic input is high, this high voltage should be at least 1.25V (Diode Forward voltage) of the IR LED, so that the phototransistor is also switched on. This will shorten the collector and emitter, and therefore the Logic Output voltage will become zero. This way, the logic input will be reflected in the logic output and still provide and insulate between the two. The complete working of the GIF file above can also be understood.

 

Another important parameter to consider while using the Optocoupler is the time of increase (tr) and fall time (tf). The output will not be high as soon as the input logic is low and vice versa. The waveform below shows the time taken for the output to transit from one state to another. The increase time (TPDHL) and fall time (TPDLH) for PC817 is 18us.

 


PC817 Applications

  • Electrical Isolation circuits

  • Microcontroller I/O switching circuits

  • Signal isolation

  • Noise coupling circuits

  • Isolation digital from analog circuits

  • Ac/DC Power control


PC817 Package

PC817 Package


Component Datasheet

PC817 Datasheet


FAQ

What does PC817 consist of?

Diode emitting LED and a phototransistor

 

How are the LED and phototransistor connected to the PC817?

Optically coupled together.

 

What is the use of PC817?

Embedded project for isolation purposes.

 

What is the output voltage of optocoupler?

At potentials up to 5,000 volts, the optocoupler is utilized to communicate analog or digital information between circuits while retaining electrical isolation. When the potential difference between two circuits exceeds 5,000 volts, an optoisolator is utilized to transmit analog or digital data.

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Join our mailing list!

Be the first to know about new products, special offers, and more.

Leave a Reply

We'd love to hear from you! Feel free to share your thoughts and comments below. Rest assured, your email address will remain private.

Name *
Email *
Captcha *
Rating:

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Contact Us

  • Tel: 00852-6915 1330
  • Email: info@kynix.com
  • Follow Us

authentication

Kynix

© 2008-2026 kynix.com all rights reserved.