Page 1 of 1

XOR Gates

Posted: Wed Jan 17, 2018 9:35 pm
by GameOver2017
Is there any way to create a XOR gate (Output true if receiving 1 signal, false if receiving 0 or 2+) using the logic gates available? I needed it to make some automatic stuff in my newest submarine but I can't figure out how.

Re: XOR Gates

Posted: Thu Jan 18, 2018 5:32 am
by HalfdeadKiller
XOR Gate - https://www.dropbox.com/s/5uf4brini1l5h ... e.sub?dl=0

Green OR is input.
Green AND compares the OR Gates.
Cyan NOT checks if there is no signal from Green OR.
Cyan AND checks if there is no signal from both Green ORs.
Red AND checks if both Cyan AND and Green AND are on.
Orange OR (Output) receives Red AND.

Cyan AND output is 0, False output is 1.
Green AND output is 0, False output is 1.

Since there is no way to count how many inputs are connected simultaneously, you will have to have a green OR gate for every four extra inputs at least. Depending on what you wire, you may have a lot of spaghetti mesh wires.

Re: XOR Gates

Posted: Thu Jan 18, 2018 6:13 pm
by Auios
I made this diagram. You can easily follow it to create an XOR gate.
Image

Re: XOR Gates

Posted: Sat Jan 20, 2018 5:03 pm
by Yellownes
Don't try OR with Water sensors, its buggy as hell.

Re: XOR Gates

Posted: Sun Jan 21, 2018 8:21 pm
by GameOver2017
Thanks for the replies. Appreciated :D