Introduction: Arduino Tutorial: 2-Channel Optocoupler Relay Module

Arduino Tutorial: 2-Channel Optocoupler Relay Module

Step 1:

Experiment: 2-Channel Relay Module with Optocoupler Protection for Arduino Expansion Boards

Step 2:

PC817

The optocoupler is extensively utilized in computer terminals, thyristor control devices, measuring instruments, copiers, automatic ticketing systems, and household appliances like fans and heaters for transmitting signals between circuits. It provides complete isolation between the input and the load, enhancing safety, minimizing circuit interference, and simplifying circuit design.

Step 3:

Main Parameters:

  1. Optocoupler
  2. Current Transfer Ratio: 50% (minimum)
  3. High Isolation Voltage: 5000V (rms)
  4. Compliance with UL standards
  5. Limiting Parameters:
  6. Reverse Current (ICEO): 50mA
  7. Peak Forward Current (ICE max): 1A
  8. Reverse Voltage: 6V
  9. Power Consumption: 70mW
  10. Collector-Emitter Voltage: 35V
  11. Emitter-Collector Voltage: 6V
  12. Collector Current: 50mA
  13. Collector Power Dissipation: 150mW
  14. Total Power Dissipation: 200mW
  15. Operating Temperature: -30°C to +100°C
  16. Collector-Emitter Saturation Voltage: 0.1V (typical)
  17. Cutoff Frequency: 80kHz
  18. Current Transfer Ratio: 50%-600%
  19. Package: DIP-4


Step 4:

Step 5:

Module Parameters:

  1. Dimensions: 50.6mm (length) x 38.8mm (width) x 19.3mm (height)
  2. Weight: 30g
  3. PCB Color: Black
  4. Four fixed screw holes around the board, hole diameter 3.1mm, for easy installation and securing
  5. High-quality Songle relay featuring a single pole double throw (SPDT) configuration, with one common terminal, one normally open terminal, and one normally closed terminal.
  6. Optocoupler isolation for good interference resistance
  7. Activated by a low-level trigger and released by a high-level trigger. The status indicator light turns on when activated and switches off when released.VCC for system power supply, JD_VCC for relay power supply. Default for 5V relay, jumper cap can be used to switch
  8. Maximum relay output: DC 30V/10A, AC 250V/10A


Step 6:

Module Electrical Schematic

Electrical Parameters:

Supply Voltage: 5VDC

Current: Greater than 100mA

Load: 250V 10A AC or 30V 10A DC


Wiring Instructions:

VCC: System power supply positive

GND: System power supply negative

IN1—IN2: Relay control ports

(Please do not reverse the connection to avoid damaging the module)


Step 7:

Experimental Setup Diagram


Step 8:

Experiment Open Source Graphic Programming



Step 9:

Tag:Optocoupler Relay Module;PC817;Electronic components