-1
\$\begingroup\$

how to install a wiring where I can have two switches the two switches will turn on a bulb

I have to turn on the light if any of the switch is on and I have to turn off the light if any of the switch is turned off

can you suggest me a way to install such a mechanism thanks in advance

\$\endgroup\$
6
  • 1
    \$\begingroup\$ Environment? Voltage levels? If you are asking for household stuff, ask your local electrican. We don't thank in advance, we thank with an accepted answer. \$\endgroup\$
    – Eggi
    Commented Aug 12, 2016 at 9:40
  • 2
    \$\begingroup\$ If you write a truth table for this you will see that it is impossible, however if you relax one implied condition it can done with something like an ex-or. See 'three way' if you are really stuck. This is kind of trick question. \$\endgroup\$ Commented Aug 12, 2016 at 9:43
  • 3
    \$\begingroup\$ For household lighting this is called a three-way switch, and requires two (or more) switches with both a normally open and normally closed contact. \$\endgroup\$
    – R Drast
    Commented Aug 12, 2016 at 9:44
  • 1
    \$\begingroup\$ What state should the light be in, if one switch is on and one is off? \$\endgroup\$
    – Martin
    Commented Aug 12, 2016 at 10:26
  • \$\begingroup\$ Dual edge triggered T Flip-Flop? (with debouncing circuitry ofc) \$\endgroup\$
    – Bradman175
    Commented Aug 12, 2016 at 12:26

2 Answers 2

1
\$\begingroup\$

I have to turn on the light if any of the switch is on and I have to turn off the light if any of the switch is turned off.

Your stated requirements are contradictory. If one switch is on and the other is off then, according to your requirement:

  • "Turn on the light if any of the switch is on." So the light is on.
  • "Turn off the light if any of the switch is turned off." So the light is off.

You need to make up your mind.

If you want a two-way lighting system then you use two changeover switches.

schematic

simulate this circuit – Schematic created using CircuitLab

Figure 1. Two-way lighting circuit using 2-way switches. (These are called 3-way switches in North America - probably because they have three wires. They only have two switch positions.)

The circuit of Figure 1 is probably what you want but not what you asked for.

\$\endgroup\$
1
  • \$\begingroup\$ Agreed. I looked at the requirements for a few seconds and thought I was going crazy. \$\endgroup\$
    – Jim
    Commented Aug 12, 2016 at 12:59
1
\$\begingroup\$

You can use two single pole double throw switch as shown in schematic enter image description here

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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