6

I need to monitor the state of multiple relays carrying 110VAC and 60VAC using a microcontroller (I will probably use an Arduino) to ensure the relays are working properly. To do this I have figured out that I need a circuit with an optocoupler so when the 110VAC or 60VAC is on 5VDC is forwarded to the input of the microcontroller. Using an optocoupler with two LEDs in antiparallel, will also still leave me with 0V at the zero crossing, so some sort of stabilizing will probably be needed. But I need some help choosing an optocoupler and the accompanying components and designing the circuit.

  • 2
    [This answer](http://electronics.stackexchange.com/questions/17008/how-can-i-detect-a-power-outage-with-a-microcontroller/17010#17010) might help you. – m.Alin Dec 07 '12 at 10:49
  • Somewhat, but as this relies on using interrupts for resetting the timer, I would need an input capable of generating an external interrupt. As I need to monitor a total of 48 AC lines, I do not think this will be the most viable solution. Being able to just poll the input, without worrying about zero crossing would be the ideal solution. – Morten Grønkjær Jensen Dec 07 '12 at 11:05
  • The firmware might be different, but I recommended that answer for this part of your question: _'I need some help choosing an optocoupler and the accompanying components'_ – m.Alin Dec 07 '12 at 11:09

1 Answers1

3

If you just want to detect if VAC is there or not, i can give you this example (see image below). We are using it to determine if some external relays are malfunctioning. This may point you in the right direction and gives some part examples.

230V AC detection

Rev
  • 10,017
  • 7
  • 40
  • 77