How to control AC powered device using MCU?

Thread Starter

allahjane

Joined Sep 19, 2012
75
Hi all,

Short explanation:

I give 5v to [power control] --> AC Device ON
I give 0v to [power control] --> AC Device OFF


please advice simplest & cheapest option for [power control]

P.S>I will not use relays


Long Explanation:

Basically I want to switch the AC (230V 50Hz) powered device on/off as per the MCU signals (Programmed logic )

for signalling I have 5v from normal I/O pins

I have considered Mechanical relays but I don't think they could run on the low current from the I/O pins .. further more I do not want to add a motor driver to control the relay as it will make the design more complicated and much of the power will go for keeping the relays engaged!

So,I am looking for an electronic device/circuit for the purpose such as a MOSFET or something called as TRIAC

But, I am pretty dumb at electronics

can someone recommend a decet way to control the AC power to device using just the 5 v
 
Last edited:

spinnaker

Joined Oct 29, 2009
7,830
Nothing says you can't drive the relay with a transistor or MOSFET.

There are a number ways to do this.

Solid state, relays, optocoupulers etc.
 

John P

Joined Oct 14, 2008
2,068
The trouble with triacs is that they inherently involve connecting your low-voltage electronics to the high-voltage line. This really is something to avoid in anything you build yourself, and I believe talking about it violates the terms of service for this board.

The opto-isolator component is usable, though it still puts the high and low voltages very close together. And that little device isn't good for much current.

I think you should use a solid-state relay. Much closer to foolproof, can handle plenty of current, can be driven by a microprocessor output pin, don't cost much.

Pictures of several types here:
http://en.wikipedia.org/wiki/Solid-state_relay

Note that "trouble with triacs" is not the same as "trouble with tribbles".
 

tubeguy

Joined Nov 3, 2012
1,157
The trouble with triacs is that they inherently involve connecting your low-voltage electronics to the high-voltage line. This really is something to avoid in anything you build yourself, and I believe talking about it violates the terms of service for this board.
Thanks for reminding me :).

Just don't feed them.
I'm heading to the shop now to work on my rudimentary lathe. :D
 

ErnieM

Joined Apr 24, 2011
8,415
Top