Tags : :
This is just my response to Voidghoul's request and my aching want to actually create this guide so
If you want to find something, just scroll down far enough. I arranged this as well as I could. And also i will be splitting this in a few posts so please don't reply until i say it is finished.
- SR Latch
A) The And Gate
- This is the gate that has the letter "A" on it
- This gate requires the two signals on its side to be on
- Once both signals are on, the gate will transmit a signal from its top or point
- However, if only on signal is on or no signal is on at all, the gate will be off
Still off when the one is on and the other is off:
And vice versa:
When both are on:
Just to recap,
And Gate gives off a signal only if the two signal so its side are on
It will give off that signal when this signal AND that signal are on. Explaining "And"
B) Or Gate
- This is the gate with the "O" on it.
- It gives off a signal if either signal from its side is on
- Even if both signals are on, the Or Gate will still give off a signal
Off when both are off
On when one is on and the other is off
And still when the other way around
And it is still on when both are on
Just to recap.
- Or gates give off a signal if at least one of the inputs are on
- It will give of a signal if this one OR this one is on. Explaining "Or"
- This gate can be used for redirection in compact circuits
C) XOR Gate
- This is the gate with "X" on it
- XOR Gates will gives off a signal if only one signal is on
- Unlike Or Gates, XOR Gates will turn off when both signals are on
Off when both are off
On when one is on and the other is off:
And vice versa
But it is Off when both are on
Just to recap
- XOR Gate is almost like the Or Gate except that it turns off when both are on
- Think that X means exactly
- So exactly or?
- When you use the word "Or", you mean that you can only have option but not both
- This gate uses that definition exact definition.
- It will turn on when one input is on but not both
D) Not Gate
- This is the gate with the "N" on it
- This gate only has one input and that is at the bottom
- This gate inverts the signal
- If the signal is on, it turns it off
- And vice versa, if the signal is off it turns it off
When the signal is off, it turns it on
When the input is on however, the gate turns it off
You can string them together and if you know math or grammar well enough, two negatives negate each other(when in a positive operation)
Think of the childish not not not not ... thing.
An even amount of Nots make a positive while An odd makes things negative
Like this example, the switch is off and since there are two gates, nothing happens and the output is still off
And when I turn it on the output becomes on
OK another recap
- A Not gate will turn the signal to the other state ( i.e. on to off, off to on)
- This functions like the not word in English. Explaining not
- These things can be chained together
- If the chain has an even number of not gates then it just negates itself
- This is useful for compacting circuits.
- If the chain has an odd number of gates then it functions as a normal not gate would.
- Also useful for compacting circuits.
E) Delay Gates
- This is the gates with "D" on it
- This gate uhh.... delays a signal.
- This gate also has one input.
- This gate delays the circuit for 0.2 seconds
I pull the lever....
And after a 0.2 second delay it gives off the signal
Now. This Delay Gate can be chained also but
If you chain two Delay Gates, it will delay for one second
If you chain three Delay Gates, it will delay for five seconds
What it I only wanted to delay for 0.6 seconds or 0.4 seconds?
Just add a wire in between.
Chaining gates means you place a gate after a gate with no wire in between.
So here is a delay tree
And an example of the how to get 0.4, 0.6, 0.8, etc.
We now know that delay gates delay on signals but did you know that delay gates also delay the off signal?
They delay the off signal by the same amount of time they would with the on signal.
- A Delay gate delays a signal. Explaining delay.
- The Delay Gate delays the on signal and the off signal
- They can also be chained to produce longer delays but only up to 5 seconds
- If you chain 4 Delay Gates then that delays the signal by 5.2 seconds total
F) Random Gate
- A Random Gate appeared in Survivalcraft version 1.21
- It is the gate that has random looking scribbles on it
- It gives off a signal at a random interval on a random length
- It has something called a clock input
- But you don't need to connect the clock input in order for this gate to work
What is a clock input?
-- A clock input is present in both the SR Latch and the Random Gate.
--Think of the sound a clock makes. Tic TOC tic TOC
Notice the pause in betweens these tics and tocs.
Think of it now as an on and off
On, off, on, off
That, my friend is what you call a clock mechanism
Something that goes on then off then on again and again.
A clock input is something that turns on
Don't worry, I will explain clocks more at non-gate electrics
Here is my clock (you are not limited to my design. I saw another clock design somewhere)
Now remember this clock inputs because that is really important in SR Latches
Time to Recap
- Random Gate is random
- Random Gate gives a signal at a random time and will keep the signal for a random length
- Picky little thing isn't it?
- It has something called a clock input
G) SR Latch
- This is the gate with S and R on it
- This is dubbed as a memory gate
- It has the most inputs of all the gates
- How many? It has 3 inputs
- Set input (S)
- Reset input (R)
- And Clock input (^)
Since this gates has many features I shall cut it up a bit.
The Set Input ( S )
Where is the set input?
It is at the side where the S is at.
What does it do?
It sets a signal to be stored in its memory and it will give off that stored signal
What if I turn off the set input?
Nothing will happen. Since the signal is stored in its memory, it will still give off a signal
Is there any way to remove the stored signal?
Yes. Turn on the Reset Input.
Where is the Reset Input?
Over where the R is.
What about the clock input?
You see. The clock input locks the Set and Reset inputs when wired and only will unlock the inputs when on the start of the on state of a clock.
The clock input will stop any signal of set and reset unless it senses an signal from what was previously off but only for a short time UNLESS the signal is a clock mechanism then it will be the same as when it did not have any clock input.
So, do you have pics?
Here is an SR latch connected by all 3 inputs
And when I turn the Set input on,
Then turning on the clock
Then turning off the clock
Then turning off the set, turning on the Reset and turning on the clock
What is that thing under the clock?
That is my version of a togglable clock.
Why didn't you show all inputs on?
Because all that happens is that is turns on and off repeatedly
Anything you would like to say?
Yes. SR Latches will always follow the Set input even if the Reset input is on after the set is on.