An isolated power supply is used to convert 120 VAC 60Hz power from mains to 12V. A linear voltage regulator then converts the 12V to 5V.

A 5V micro-controller is then used to switch on a 12V relay (with the use of a transistor) to power an AC device.

The relay allows the AC current from the main power to flow to the device. The 12V is used to switch on the relay.

Will the use of the relay cause the low-voltage side of the circuit to lose it's isolation or does it depend on the relay?

  • \$\begingroup\$ Hi, again. Please draw a schematic of your plan. Hit the schematic button on the editor toolbar. "The relay allows the AC current from the main power to flow to the device." What device? The device that is energising the relay in the first place? \$\endgroup\$
    – Transistor
    Jul 25, 2016 at 16:36
  • 1
    \$\begingroup\$ @transistor The device is an AC heater. I am switching it on with the 12V relay. \$\endgroup\$
    – user41391
    Jul 25, 2016 at 16:38
  • 1
    \$\begingroup\$ depends on the relay \$\endgroup\$
    – scorpdaddy
    Jul 25, 2016 at 16:44

1 Answer 1


Yes, in general relays provide isolation between the switch contacts and the coil. You need to check the data sheet of the relay to check the maximum voltage it can isolate. For instance, this omron relay: http://www.farnell.com/datasheets/77391.pdf?_ga=1.209377874.1513769717.1469465786 has a dielectric strength rated to withstand "5000 V between coil and contacts for 1 minute".

You also need to check the contact ratings to make sure they can handle 120 VAC at the current you are using.

There do exist signal relays designed for switching small amplitude signals like audio or RF. These are relatively uncommon now as they are much more expensive than solid state switches, so you aren't likely to use one by accident. Signal relays may or may not have the isolation you want, but almost certainly don't have contacts that can handle power switching applications. Pretty much any relay with 120 VAC contacts should be able to handle isolation for this type of application.

However, there is more to it than your relay. The rest of your wiring needs to be safe as well. This is particularly a concern with PCB mounted relays -- you need to make sure the PCB tracks and pads have sufficient clearance so that you can't get arcing from the HV to LV sides if there is a power line surge, and the board needs to be properly assembled without oversized solder bulges and with any flux reside cleaned, and maybe a conformal coating. It is better but more expensive and inconvenient to use a relay with screw terminals which can be located physically away from your low voltage electronics. You still need to make sure that your wiring has mains rated insulation, and all possible touch points are shielded.

This is all fairly easy power electronics stuff if you know what you are doing, but a small mistake can kill you. If you are not sure about doing this, it is much safer to use something that has all the power wiring done for you. For instance, this "power-tail": https://www.sparkfun.com/products/10747 which allows you to switch power loads with a low voltage signal, and provides all the isolation for you.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.