I was making a home automation system by making some of the appliances in the home like fans and lights voice activated. But by mistake I bought a remote controlled relay in place of a normal relay from a shop and return does not seems possible. So I want to know if I will be able to use that remote controlled relay in this project?
-
1You could, let the Arduino control the remote, which activates the relays.aaa– aaa2016年06月11日 08:03:19 +00:00Commented Jun 11, 2016 at 8:03
1 Answer 1
I don't like to work with mains, so I use those outlets and connect a 433MHz transmitter to the arduino to activate the outlets.
You'd have to check the frequency of the unit, and see if anyone have decoded the transmitted data package.
If that doesn't float you're boat, you could open up the unit, and remove/desolder the relay. Add a transistor, and flyback diode and you're done. Just be careful with mains power.
-
Why use a flyback diode? I assume because it's a mech. relay - I've used these, and had problems one wouldn't expect when switching at ~1 sec intervals for tests. Do you place it between VCC and GND on the relay? (mine were 5V relays which were supposedly isolated from higher currents, but not from the relay 'motor' itself) Did I just answer my own question? Edit: more precisely, the arduino would be reset after the relay went a bit haywire; failing to switch, seitching several other channels.user400344– user4003442016年09月09日 22:02:03 +00:00Commented Sep 9, 2016 at 22:02
-
@user400344 please create a new question instead of hijacking someone else's question.Gerben– Gerben2016年09月10日 07:41:46 +00:00Commented Sep 10, 2016 at 7:41
-
I would if I could, but it appears I am prevented from posting new questions. I'll just try using a diode from GND to VCC, thanks anyway.user400344– user4003442016年09月10日 11:15:13 +00:00Commented Sep 10, 2016 at 11:15