Hi,
I have an AC circuit shown below. The six resistors in parallel are 6.25V, 0.15A #47 lamps which light up when the switch is closed.
Voltage is 17V AC.
I want to detect when there's current flowing through the circuit. To that end, I'm trying to use an H11AA1 optocoupler (Pr1) hooked up as follows:
1 & 2 - AC (Pin 1 is attached to the 1000 Ohm resistor
3 - Nothing
4 - GND
5 - Output
6 - Nothing
The GND and Output pins I have hooked to an Arduino GND and INPUT pin. I'm then monitoring the input pin on the Arduino and it's always zero, regardless of whether or not the switch is closed. I've looked around the web for help, but haven't found anything.
- Ed.
I have an AC circuit shown below. The six resistors in parallel are 6.25V, 0.15A #47 lamps which light up when the switch is closed.
Voltage is 17V AC.
I want to detect when there's current flowing through the circuit. To that end, I'm trying to use an H11AA1 optocoupler (Pr1) hooked up as follows:
1 & 2 - AC (Pin 1 is attached to the 1000 Ohm resistor
3 - Nothing
4 - GND
5 - Output
6 - Nothing
The GND and Output pins I have hooked to an Arduino GND and INPUT pin. I'm then monitoring the input pin on the Arduino and it's always zero, regardless of whether or not the switch is closed. I've looked around the web for help, but haven't found anything.
- Do I have things hooked up correctly?
- Any ideas what I'm missing?
- Is my 1000 Ohm resistor "correct"? I think the input current max on the H11AA1 is 15mA so 1000 Ohm may not be enough.
- Do any of the circuit simulators (QUCS, PartSim) have an optocoupler in their library so I can verify this via simulation?
- Ed.