Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
where the two inputs are the switches and the output is used to control the lights
By the way, you can still use multiple switches to activate a movement sensor. I use it this way because during the day I really don't need lights at all.
XOR
Switch A Switch B Light Status
ON ON OFF
OFF ON ON
ON OFF ON
OFF OFF OFF
XNOR
ON ON ON
OFF ON OFF
ON OFF OFF
OFF OFF ON
For the sake of having two logic gates, it'll accomplish the same task. If you really wanted to get funky, you could tie the output of this XNOR/XOR to the output of a motion sensor, feed it threw an OR gate, and then really have a signal intensive light setup. You know, if you're feeling freaky.
Not really. The XOR will work but not as conveniently as the XNOR.
The XNOR is the only one that'll give you that staircase double switch functionality. Want to go up the stair case? Flip the switch at the bottom to turn on the light, go up, flip the switch at the top to turn the light off. Your mom was also downstairs or you just happen to have another exit and you are coming up again: just flip the switch a the bottom again and the light comes on again, go up the stairs and flip the switch at the top, the light comes off. Works every time no matter at what lever you are, you can always switch off/on by flipping the switch at your current location.
With the XOR, in the other hand, when you reach the first lever and the lights are off you'll be able to turn them on, but when you reach the top of the stairs (the other location), you won't be able to turn the light off. You only have one one option for off (funny, you said you had two but your table is showing only one).
I myself had that one backwards so not mocking you, we all make mistakes.
Bottom switch is on? Turn the top one on. Lights are now off.
Bottom switch is off? Turn the top on off. Lights are now off.
An XNOR gate is literally the same as an XOR gate with an inverter. They behave the exact same in that regard.
I stand corrected!