Hello world,
I've just setup a easyrelay module.. and work great.
But a little mod is required for me and i think for everybody want to integrate system in existing home lights...
If we need to turn on the lights and we have normal home 220 relay i suppose that we must "simulate" a "impulse" switch with our relay.
I suppose that is very simple by make it OPEN and CLOSE immediately.
Obviously in this mod ON and OFF must be the same command (OPENandshortCLOSE) but we need two buttons to report correctly LIGHTS ON or OFF in software
Please letmeknow how to do this
AND Other issue :
With this module i can command 1 relay... but if i want to use for example 4 relay with one esp8266 and one arduino uno ?
How i can do that ?
cdj wrote: Hello world,
I've just setup a easyrelay module.. and work great.
But a little mod is required for me and i think for everybody want to integrate system in existing home lights...
If we need to turn on the lights and we have normal home 220 relay i suppose that we must "simulate" a "impulse" switch with our relay.
I suppose that is very simple by make it OPEN and CLOSE immediately.
Obviously in this mod ON and OFF must be the same command (OPENandshortCLOSE) but we need two buttons to report correctly LIGHTS ON or OFF in software
Please letmeknow how to do this
AND Other issue :
With this module i can command 1 relay... but if i want to use for example 4 relay with one esp8266 and one arduino uno ?
How i can do that ?
Thanks
Dario
Examples are basic, modify Arduino program as you wish.
Code example for two relays is somewhere on forum. Try to find it.