

The Optocoupler Isolation Module 24V to 5V is a device designed to provide electrical isolation between two circuits operating at different voltage levels. It uses an optocoupler to transmit signals optically, ensuring that there is no direct electrical connection between the high-voltage (24V) and low-voltage (5V) sides. This isolation protects sensitive components in the low-voltage circuit from potential damage caused by voltage spikes or noise in the high-voltage circuit.








| Pin Name | Description |
|---|---|
| VCC | Connect to 24V DC power supply. |
| IN | Input signal (24V logic level). |
| GND | Ground connection for 24V circuit. |
| Pin Name | Description |
|---|---|
| VCC | Connect to 5V DC power supply. |
| OUT | Output signal (5V logic level). |
| GND | Ground connection for 5V circuit. |
Power Connections:
VCC pin to a 24V DC power source and its GND pin to the ground of the 24V circuit.VCC pin to a 5V DC power source and its GND pin to the ground of the 5V circuit.Signal Connections:
IN pin on the high-voltage side.OUT pin.Load Connection:
OUT pin to the input of the low-voltage circuit or microcontroller to process the signal.GND connections of the high-voltage and low-voltage sides are not directly connected to maintain proper isolation.The module can be used to safely interface a 24V signal with an Arduino UNO. Below is an example code snippet:
// Example code for reading a signal from the Optocoupler Isolation Module
// and controlling an LED based on the signal state.
const int optoInputPin = 2; // Arduino pin connected to the module's OUT pin
const int ledPin = 13; // Arduino built-in LED pin
void setup() {
pinMode(optoInputPin, INPUT); // Set the optocoupler output pin as input
pinMode(ledPin, OUTPUT); // Set the LED pin as output
digitalWrite(ledPin, LOW); // Turn off the LED initially
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int signalState = digitalRead(optoInputPin); // Read the signal state
if (signalState == HIGH) {
digitalWrite(ledPin, HIGH); // Turn on the LED if signal is HIGH
Serial.println("Signal HIGH: LED ON");
} else {
digitalWrite(ledPin, LOW); // Turn off the LED if signal is LOW
Serial.println("Signal LOW: LED OFF");
}
delay(100); // Small delay for stability
}
No Output Signal on the Low-Voltage Side:
Output Signal is Unstable or Noisy:
Loss of Isolation:
Module Overheating:
Q1: Can this module handle AC signals?
A1: No, this module is designed for DC signals only. For AC signal isolation, use a specialized optocoupler module.
Q2: What is the maximum frequency of the input signal?
A2: The module can handle signals with frequencies up to approximately 100 kHz, depending on the optocoupler's response time.
Q3: Can I use this module with a 12V input instead of 24V?
A3: Yes, the module can work with lower input voltages (e.g., 12V), but ensure the input current is sufficient to drive the optocoupler.
Q4: Is the module compatible with 3.3V systems?
A4: The output signal is 5V logic level. Use a level shifter if interfacing with 3.3V systems.