

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. This module uses optocouplers to provide electrical isolation, ensuring that high-voltage circuits do not directly interact with sensitive low-voltage components. It is ideal for applications requiring signal monitoring, industrial automation, and AC signal detection.








The following table outlines the key technical details of the module:
| Parameter | Specification |
|---|---|
| Operating Voltage | 220V AC |
| Number of Channels | 8 |
| Isolation Method | Optocoupler |
| Output Voltage (Logic) | 3.3V or 5V (compatible with most MCUs) |
| Output Type | Digital (High/Low) |
| Input Signal Frequency | 50Hz to 60Hz |
| PCB Dimensions | 135mm x 55mm x 20mm |
| Mounting Holes | 4 holes (M3 screws) |
The module has two main interfaces: the AC input terminals and the low-voltage output pins. Below is the pin configuration:
| Terminal | Description |
|---|---|
| IN1 to IN8 | AC input channels for 220V signals (1 per channel) |
| COM | Common terminal for AC input |
| Pin | Description |
|---|---|
| VCC | Power supply for the module (3.3V or 5V) |
| GND | Ground connection |
| OUT1 to OUT8 | Digital outputs corresponding to IN1 to IN8 |
Below is an example of how to connect the module to an Arduino UNO and read the status of the AC inputs:
// Define the input pins for the module
const int inputPins[] = {2, 3, 4, 5, 6, 7, 8, 9}; // OUT1 to OUT8
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 status = digitalRead(inputPins[i]);
Serial.print("Channel ");
Serial.print(i + 1);
Serial.print(": ");
Serial.println(status == LOW ? "AC Signal Detected" : "No Signal");
}
// Add a small delay to avoid flooding the serial monitor
delay(500);
}
No Output Signal Detected
Output Always HIGH or LOW
Microcontroller Not Detecting Output
Q: Can this module handle DC signals?
A: No, this module is designed specifically for AC signals. It will not work correctly with DC inputs.
Q: Is the module compatible with 3.3V microcontrollers like ESP32?
A: Yes, the module's output is compatible with both 3.3V and 5V logic levels.
Q: Can I use fewer than 8 channels?
A: Yes, you can use as many channels as needed. Unused channels can be left unconnected.
Q: What happens if the input voltage exceeds 220V AC?
A: Exceeding the rated voltage may damage the module and pose a safety hazard. Always ensure the input voltage is within the specified range.