0
\$\begingroup\$

There's a lamp in my son's room that we use for reading and the bedtime process. I'd also like to link it to a relay connected to a Particle Photon that we could signal him down for dinner with. But I'd like both methods of turning the lamp on and off to work independently of each other. Is this possible?!

\$\endgroup\$
  • \$\begingroup\$ 3-way switches are doing this exactly. Need a proper wiring in the walls, though... \$\endgroup\$ – Eugene Sh. Mar 12 '18 at 13:25
0
\$\begingroup\$

Assuming that you have SPDT contacts on your Particle Photon, you can wire it up the same way as a 3 way switch. One of the switches would be the physical switch in the bedroom, and the other one would be the remote controller switch in the Particle Photon.

When you change either switch, it changes the state of the lamp. If it was on it turns off, and vice versa. When you "blink" the light with the Particle Photon, if will blink ON/OFF if the light was off and OFF/ON if the light was on.

enter image description here

\$\endgroup\$
0
\$\begingroup\$

This has the same functionality as an exclusive or gate. Switch version: -

enter image description here

Use a relay with NO and NC contacts for one of the switches above.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.