Electrical – Connecting relay to 220v

relay

I have the following relay: osa-ss-212dm3

I want to control my AC lamp which is connected directly to a 220V socket. By reading the datasheet, I found it says that its rated voltage is 240V AC and max switching voltage is 30V DC. Can I connect this relay safely into a 220V AC power socket and trigger it with 5V from my micro-controller?

Best Answer

osa-ss-212dm3 relay has 12V coil. You need osa-ss-205dm5 if you want to trigger by 5V and want to switch 240V AC.

enter image description here

UPDATE:
Note: you cannot feed that relay from MCU pin directly. Coil needs 540mW (it is ~110mA at 5V), so MCU will not be able to deliver such current (depends on MCU). You will have to use some switching transistor too.