Skip to Content

Optocoupler PC817 EL817 DC 1.8V-24V 1 Channel Module

The 4N35 Optocoupler IC is a widely used opto-isolator designed to provide electrical isolation between input and output circuits while allowing signal transmission through an internal infrared LED and phototransistor. By transferring signals optically rather than electrically, the 4N35 helps protect sensitive electronic components from voltage spikes, electrical noise, and ground loop issues, making it an essential component in industrial, automation, and embedded control applications.

 

Package Includes:

  • 1 x 4N35 Optocoupler IC


25.00 AED 25.00 AED (Tax included)

Terms and Conditions
30-day money-back guarantee
Shipping: 2-3 Business Days

 

Features:

  • PC817 Optocoupler Isolation: Provides electrical isolation between input and output circuits.
  • Wide Input Voltage Support: Available for 3V, 5V, 12V, and 24V control signals.
  • Wide Output Voltage Range: Compatible with output voltages from 1.8V to 24V DC.
  • Noise Immunity: Protects sensitive circuits from electrical interference and voltage spikes.
  • Level Conversion Capability: Supports NPN-to-PNP and PNP-to-NPN signal conversion.
  • Industrial-Grade Isolation: Suitable for PLCs, motor controllers, relays, and industrial automation.
  • Screw Terminal Connections: 5.08mm pitch terminals provide secure and convenient wiring.
  • Compact Design: Easy integration into embedded and industrial systems.

 

 

Principle of Work:

PC817 phototransistor – ielectrony

The module operates using an optocoupler, which transfers signals through light rather than direct electrical connection.

  1. Input Signal: A voltage applied to the input side powers an internal infrared LED inside the PC817.
  2. Optical Transmission: The LED emits infrared light proportional to the input signal.
  3. Phototransistor Detection: The internal phototransistor receives the light and switches accordingly.
  4. Output Signal: The output side reproduces the signal while remaining electrically isolated from the input.
  5. Isolation Protection: Noise, voltage spikes, and ground loops cannot directly pass between the two circuits.

Interaction with MCU (Microcontroller Unit):

PC817 Optocoupler Isolation 3.3V 5V, 12V, 24V -

  1. Connect MCU Output: Connect the microcontroller GPIO pin to the module input terminal.
  2. Signal Isolation: The PC817 optocoupler electrically isolates the MCU from the controlled device.
  3. Output Control: The output side can switch relays, PLC inputs, industrial controllers, or other circuits.
  4. Level Conversion: Signals between different voltage domains can be safely converted and transferred.
  5. Protection: The MCU remains protected from high-voltage transients and electrical interference.

Pinout:

IS Icstation 12V EL817 1 Channel Optocoupler Isolation Board Positive Phase  Amplification High Level Trigger 80KHz : Amazon.in: Industrial & Scientific

Terminal Description
IN+ Positive Input Signal
IN- Input Ground
OUT+ Output Collector / Positive Output
OUT- Output Emitter / Ground Output

Applications:

  1. PLC input and output isolation
  2. Industrial automation systems
  3. Motor control and driver isolation
  4. Relay driving circuits
  5. Signal level conversion (NPN ↔ PNP)
  6. Microcontroller protection circuits
  7. Noise suppression in control systems
  8. Home automation systems
  9. Sensor signal isolation
  10. High-voltage to low-voltage interfacing

Circuit Example (Arduino to PLC Input):

Module Pin Arduino UNO
IN+ D2
IN- GND
OUT+ PLC Input+
OUT- PLC Input GND

Example Wiring Diagram:

Arduino              PC817 Module              PLC

D2      -----------> IN+
GND     -----------> IN-

                     OUT+ -----------> PLC Input+
                     OUT- -----------> PLC Input GND

Library:

No library is required. The module behaves like a digital switch and can be controlled directly using standard GPIO functions.

Code:

#define OPTO_PIN 2

void setup() {
  pinMode(OPTO_PIN, OUTPUT);
}

void loop() {
  digitalWrite(OPTO_PIN, HIGH);
  delay(1000);

  digitalWrite(OPTO_PIN, LOW);
  delay(1000);
}

Code Explanation:

  1. Pin Definition: Assigns a GPIO pin to control the optocoupler input.
  2. Output Configuration: Configures the pin as an output.
  3. Signal ON: Sets the output HIGH, activating the optocoupler.
  4. Signal OFF: Sets the output LOW, deactivating the optocoupler.
  5. Continuous Operation: Repeats the cycle every second.

Technical Specifications:

  • Optocoupler Chip: PC817
  • Channels: 1
  • Input Voltage Options: 3V / 5V / 12V / 24V DC
  • Output Voltage Range: 1.8V – 24V DC
  • Isolation Method: Optical Isolation
  • Terminal Type: 5.08mm Screw Terminals
  • Output Type: Open Collector Phototransistor
  • Level Conversion Support: Yes
  • Noise Immunity: High
  • Operating Temperature: -20°C to +85°C

Resources:

Comparison:

Compared to direct transistor switching circuits, the PC817 Optocoupler Isolation Module provides complete electrical isolation between the control and load sides. This significantly improves system reliability by protecting microcontrollers, PLCs, and sensitive electronics from voltage spikes, electrical noise, and ground loop issues. It is particularly useful in industrial environments where interference and voltage differences between systems are common.