

The H11AA1 is an optocoupler designed to provide electrical isolation between its input and output. It consists of an internal light-emitting diode (LED) and a phototransistor, enabling signal transmission without a direct electrical connection. This isolation is crucial in protecting sensitive components from high voltages, noise, or ground loops in electronic circuits.








The H11AA1 is housed in a 6-pin DIP package. Below is the pinout and description:
| Pin Number | Name | Description |
|---|---|---|
| 1 | Anode (LED1) | Positive terminal of the first internal LED. Connect to the input signal. |
| 2 | Cathode (LED1) | Negative terminal of the first internal LED. Connect to ground. |
| 3 | Anode (LED2) | Positive terminal of the second internal LED. Connect to the input signal. |
| 4 | Cathode (LED2) | Negative terminal of the second internal LED. Connect to ground. |
| 5 | Emitter | Emitter of the phototransistor. Connect to the output circuit. |
| 6 | Collector | Collector of the phototransistor. Connect to the output circuit. |
Input Side (LEDs):
Output Side (Phototransistor):
AC Signal Detection:
Below is an example of using the H11AA1 to detect an AC signal and interface it with an Arduino UNO:
// Define the input pin for the H11AA1 output
const int optoInputPin = 2; // Connect H11AA1 output to Arduino digital pin 2
void setup() {
pinMode(optoInputPin, INPUT); // Set the pin as input
Serial.begin(9600); // Initialize serial communication for debugging
}
void loop() {
int signalState = digitalRead(optoInputPin); // Read the H11AA1 output state
if (signalState == HIGH) {
Serial.println("AC signal detected"); // Print message if signal is detected
} else {
Serial.println("No AC signal"); // Print message if no signal is detected
}
delay(500); // Add a delay for stability
}
No Output Signal Detected:
Output Signal Always Low:
Output Signal Always High:
Excessive Heat or Component Damage:
Q1: Can the H11AA1 be used for DC signal isolation?
A1: No, the H11AA1 is specifically designed for AC signal isolation due to its internal reverse-parallel LED configuration.
Q2: What is the maximum frequency the H11AA1 can handle?
A2: The H11AA1 is suitable for low-frequency AC signals, typically up to a few kHz. For higher frequencies, consider using a high-speed optocoupler.
Q3: Can I use the H11AA1 for 230V AC mains detection?
A3: Yes, but you must use appropriate current-limiting resistors and ensure proper isolation and safety precautions when working with high voltages.
Q4: How do I calculate the input resistor value?
A4: Use the formula:
[
R = \frac{V_{in} - V_F}{I_F}
]
Where (V_{in}) is the input voltage, (V_F) is the forward voltage of the LED (1.2V typical), and (I_F) is the desired forward current (e.g., 10mA).
By following this documentation, you can effectively integrate the H11AA1 into your electronic projects for reliable AC signal isolation and detection.