Wednesday 12 August 2015

microcontroller - Control 220V AC line using MCU


I want to switch ON and OFF an incandescent bulb using MCU. Please suggest an electric switch (like relay or something) for 220V 50Hz AC line which can be used here. I would prefer something very cheap to keep the total project cost minimum.


EDIT: Don't limit this to incandescent bulb. The solution should be applicable to every daily life electrical appliances.



Answer



The cheapest solution is an ordinary mains relay with normally open contacts. Put the bulb in series with the contacts and the mains supply, and control it with a low voltage on the relay coil. Relays with coils that can be switched with the output from an MCU are readily available. Don't forget to put a diode or snubber across the relay coil. If you use a transistor driver, you can probably use a very cheap, less sensitive relay.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...