Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use 8-Channel AC 220V Optocoupler Input Module: Examples, Pinouts, and Specs

Image of 8-Channel AC 220V Optocoupler Input ModuleDesign with 8-Channel AC 220V Optocoupler Input Module in Cirkit Designer

Introduction

The 8-Channel AC 220V Optocoupler Input Module by Hailege is designed to safely interface high-voltage AC signals (up to 220V) with low-voltage control systems such as microcontrollers, PLCs, or other digital logic devices. This module uses optocouplers to provide electrical isolation between the high-voltage AC side and the low-voltage control side, ensuring safety and protecting sensitive components from voltage spikes or surges.

Explore Projects Built with 8-Channel AC 220V Optocoupler Input Module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Cellular-Connected ESP32-CAM with Real-Time Clock and Isolated Control: A project utilizing 8-Channel AC 220V Optocoupler Input Module in a practical application
Cellular-Connected ESP32-CAM with Real-Time Clock and Isolated Control

This circuit integrates a LilyGo-SIM7000G module with an RTC DS3231 for timekeeping, interfaced via I2C (SCL and SDA lines). An 8-Channel OPTO-COUPLER is used to isolate and interface external signals with the LilyGo-SIM7000G's GPIOs. Power is managed by a Buck converter, which steps down voltage from a DC Power Source to supply the ESP32-CAM and LilyGo-SIM7000G modules, as well as the OPTO-COUPLER.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Below are the key technical details of the 8-Channel AC 220V Optocoupler Input Module:

Parameter Specification
Operating Voltage (Input) 100V AC to 250V AC
Output Voltage (Logic) 3.3V to 5V DC
Channels 8 independent optocoupler input channels
Isolation Voltage ≥ 2500V
Input Signal Frequency 50Hz to 60Hz
Output Type Active low (logic 0 when input is active)
Dimensions 135mm x 55mm x 20mm
Mounting Screw holes for secure installation

Pin Configuration and Descriptions

The module has two main interfaces: the AC input terminals and the logic output pins.

AC Input Terminals

Terminal Description
IN1 to IN8 AC input channels (100V-250V AC)
COM Common terminal for AC inputs

Logic Output Pins

Pin Description
OUT1 to OUT8 Logic output pins corresponding to IN1 to IN8
GND Ground connection for the logic circuit
VCC Power supply for the logic circuit (3.3V-5V DC)

Usage Instructions

How to Use the Module in a Circuit

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V DC power source and the GND pin to the ground of your control system.
  2. Connect AC Inputs: Wire the AC signals (100V-250V AC) to the input terminals (IN1 to IN8). Ensure that the common terminal (COM) is properly connected to the AC circuit.
  3. Connect Logic Outputs: Connect the output pins (OUT1 to OUT8) to the digital input pins of your microcontroller or control system. The outputs are active low, meaning they will output a logic 0 when the corresponding AC input is active.
  4. Verify Connections: Double-check all connections to ensure proper wiring and avoid short circuits.
  5. Test the Module: Power on the system and monitor the logic outputs to confirm that the module is detecting AC signals correctly.

Important Considerations and Best Practices

Example: Connecting to an Arduino UNO

Below is an example of how to connect the module to an Arduino UNO and read the status of the AC inputs.

Circuit Connections

Arduino Code

// Define the input pins for the optocoupler module
const int inputPins[8] = {2, 3, 4, 5, 6, 7, 8, 9};

void setup() {
  // Initialize serial communication for debugging
  Serial.begin(9600);

  // Set the input pins as INPUT
  for (int i = 0; i < 8; i++) {
    pinMode(inputPins[i], INPUT);
  }
}

void loop() {
  // Read and print the status of each channel
  for (int i = 0; i < 8; i++) {
    int state = digitalRead(inputPins[i]);
    Serial.print("Channel ");
    Serial.print(i + 1);
    Serial.print(": ");
    Serial.println(state == LOW ? "ACTIVE" : "INACTIVE");
  }

  // Add a small delay to avoid flooding the serial monitor
  delay(500);
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output Signal Detected

    • Cause: Incorrect wiring or insufficient power supply.
    • Solution: Verify that the VCC and GND pins are properly connected and that the AC input voltage is within the specified range.
  2. Output Pins Always HIGH

    • Cause: No AC signal is present or the input voltage is too low.
    • Solution: Check the AC input connections and ensure the input voltage is between 100V and 250V AC.
  3. Output Pins Always LOW

    • Cause: Faulty module or short circuit on the output side.
    • Solution: Inspect the module for damage and ensure there are no short circuits in the output wiring.
  4. Interference or Noise in Outputs

    • Cause: High-frequency noise or improper grounding.
    • Solution: Use proper grounding techniques and consider adding capacitors to filter noise.

FAQs

Q: Can this module be used with a 3.3V logic system?
A: Yes, the module supports both 3.3V and 5V logic levels.

Q: Is it safe to directly connect the AC inputs to household mains?
A: Yes, as long as the input voltage is within the specified range (100V-250V AC). However, always follow proper safety precautions when working with high-voltage circuits.

Q: Can I use fewer than 8 channels?
A: Yes, you can use any number of channels. Unused channels will remain inactive.

Q: Does the module support DC input signals?
A: No, this module is designed specifically for AC signals. For DC signals, consider using a DC optocoupler module.