this post was submitted on 30 Oct 2024
858 points (99.3% liked)
Science Memes
11148 readers
2404 users here now
Welcome to c/science_memes @ Mander.xyz!
A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.
Rules
- Don't throw mud. Behave like an intellectual and remember the human.
- Keep it rooted (on topic).
- No spam.
- Infographics welcome, get schooled.
This is a science community. We use the Dawkins definition of meme.
Research Committee
Other Mander Communities
Science and Research
Biology and Life Sciences
- !abiogenesis@mander.xyz
- !animal-behavior@mander.xyz
- !anthropology@mander.xyz
- !arachnology@mander.xyz
- !balconygardening@slrpnk.net
- !biodiversity@mander.xyz
- !biology@mander.xyz
- !biophysics@mander.xyz
- !botany@mander.xyz
- !ecology@mander.xyz
- !entomology@mander.xyz
- !fermentation@mander.xyz
- !herpetology@mander.xyz
- !houseplants@mander.xyz
- !medicine@mander.xyz
- !microscopy@mander.xyz
- !mycology@mander.xyz
- !nudibranchs@mander.xyz
- !nutrition@mander.xyz
- !palaeoecology@mander.xyz
- !palaeontology@mander.xyz
- !photosynthesis@mander.xyz
- !plantid@mander.xyz
- !plants@mander.xyz
- !reptiles and amphibians@mander.xyz
Physical Sciences
- !astronomy@mander.xyz
- !chemistry@mander.xyz
- !earthscience@mander.xyz
- !geography@mander.xyz
- !geospatial@mander.xyz
- !nuclear@mander.xyz
- !physics@mander.xyz
- !quantum-computing@mander.xyz
- !spectroscopy@mander.xyz
Humanities and Social Sciences
Practical and Applied Sciences
- !exercise-and sports-science@mander.xyz
- !gardening@mander.xyz
- !self sufficiency@mander.xyz
- !soilscience@slrpnk.net
- !terrariums@mander.xyz
- !timelapse@mander.xyz
Memes
Miscellaneous
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
XNOR (Exclusive NOR) is the opposite of XOR (Exclusive OR)
A way to remember XOR is "must have one or the other but not both" XNOR is the opposite so it's "must have both or none" so both inputs must be 1 or 0.
XNOR or XOR is very common in homes with staircases so that you can turn on and off the light in the staircase regardless of which floor you are on.
If you google staircase switches, you will be told that they mostly use XOR but according to the wiring diagrams they use XNOR.
so AND. Always AND.
My bad. It's "must have both or none"
That's the reason I set up Home Assistant. I'm not smart enough for wiring.
Wiring a staircase switch is actually very easy, you pretty much just need two wires going from one switch to another and then a light.
Your light switches also has to be three way switches but afaik most switches in my country are that, so you can pretty much use any switch.
I was gonna say lol that's a fancy way of describing three-ways
Fun fact, you can put as many 4-ways in between those 3-ways as you want, or as many as your electrician will agree to anyway. You can switch the same light from a dozen spots if you really want to.
I have no clue what that means. More diagrams plz?
This should help
Yeah, it does. Thank you! What did You create it with?
Oh I pulled that from Google, I just looked until I found the one that helped me grasp it.
"The light won't turn off! Now to hunt down the ONE SWITCH in the house that's flipped...hnngg...."
Troll electricianship would be hilarious entertainment.
I understand it now, but I'll have it forgotten in five minutes. I'm a software engineer, this here is dark magic to me. Well, not this, but more complicated stuff. I envy you all for your big, juicy brains.
Oh, I am no electrician. I an IT admin.
Being an electrician would be pretty high on the list of things to do if I weren't allowed to work in IT though. Seems fairly fun.
That's at least magic I understand kind of 😅
Isn’t that the same as AND but with a lot of extra words?
No, AND won't match 0,0 while XNOR will. An AND switch would be useless for a staircase.
AND also won't match 1,0 or 0,1 while XOR does.