I discovered how to build these gates while trying to make my logic circuits more compact.
Please note that I am not an electrical engineer. I made this tutorial easy enough, that even I can understand it!
I watched your video and I have a question: What exactly is your gate supposed to do? What is it useful for? I don't mean the whole thing about "all redstone contraptions are useless", but I can't actually figure out the function that your "IF" gate would serve.
Also, I'm not even sure if there is such a thing as an "IF" gate. I've made things which I call "signal-blockers" which seem to function similarly, but I use them for shutting-off large busses.
What sort of device would your "IF" gate be used in? What is so special about "A and ~B"?
Rollback Post to RevisionRollBack
Hans Lemurson's Thread of Links:http://www.minecraftforum.net/topic/371610-hans-lemursons-thread-of-links/
Look here to find links to my inventions, creations, and my Youtube channel featuring Amazing Creations of Mine (Redstone engineering FTW!!!) and charming Music-Videos about clones. I also made "Minecraft in Minecraft" (2D platformer/building game). I'm currently trying to make a computer.
In my little world, If Gates exist, because I am not an electrical engineer, and have no prier experience with advanced electronics at all.
An IF gate takes the data from 2 or more buses, and IF they meet the criteria [*1] set forth by the builder, they produce output .
It's my answer to making bus readers more compact. Regardless how many buses you have, it's 3 wide.
They are a combination of And, Negative And, Or, and Negative Or gate in one unit.
*1 - if the builder wants the If Gate to fire, he first sets the outputs to what he desires ... than builds it ... it will only fire IF the conditions are satisfied.
Build some buses, and than set the outputs to what you want the If gate to activate on ... than watch my video again so you can build it.
Wait, so is it a Multiplexer or a Combination Lock?
Ok, I think I understand: You've made a gate which responds only to a particular input pattern and ignores all others? Is that it? But what's this about it handling multiple busses?
If this device is in fact a "Respond only to a particular input pattern", then wouldn't this be vastly simpler:
I don't want to diminish the hard work you put into coming up with this device and then making a video to explain it. Making videos is hard work! However, unless I misunderstand what you're trying to do, your device seems to be needlessly complicated.
Rollback Post to RevisionRollBack
Hans Lemurson's Thread of Links:http://www.minecraftforum.net/topic/371610-hans-lemursons-thread-of-links/
Look here to find links to my inventions, creations, and my Youtube channel featuring Amazing Creations of Mine (Redstone engineering FTW!!!) and charming Music-Videos about clones. I also made "Minecraft in Minecraft" (2D platformer/building game). I'm currently trying to make a computer.
if bus 1 = off ... if bus 2 = on... if bus 3 = on... if bus 4 = off ... activate output
The unit sits on top of the buses it reads, and the point is to make it smaller than using normal inverters and And gates ... your diagram takes up 8 spaces, the If gate takes up 3, and preforms the same function ... If gates line up nice to ...
if bus 1 = off ... if bus 2 = on... if bus 3 = on... if bus 4 = off ... activate output
The unit sits on top of the buses it reads, and the point is to make it smaller than using normal inverters and And gates ... your diagram takes up 8 spaces, the If gate takes up 3, and preforms the same function ... If gates line up nice to ...
It takes up 7 blocks because I wanted to show it all in one layer for simplicity of graphical layout.
Ok, now that I've seen the second video I understand what your "IF" gates are all about: Individual decoder segments.
I have some experience with decoders myself, and one of the things that I learned is that you can actually make them smaller than what you've done (32 blocks long) using an architecture where the Input-Lines run on the top rather than bottom. You get better speed that way since you don't have to constantly interrupt your lines with repeaters to get past blocks. Even if you keep the bottom-to-top architecture, you can still actually compact each unit to just 1 block thick.
If I seem a little bit annoyed it's because it seems that you've reinvented the wheel and are advertising it as a "Horizontal Friction Reducer". I have to forgive you somewhat though, given that you have no electronics background and have been figuring out all of these mechanisms on your own. The problem I have is that you seem to be taking credit for it. You have to realize that in the field of computer engineering, everything has already been invented, and already has a name. We are simply figuring out Redstone implementations of existing concepts, and even that has been going on for many many months.
Edit:
Here's a 3-bit decoder I whipped up in Simnik's redstone simulator:
It's displaying the number 5 and is only 17 blocks long (counting the input levers). I'm only showing the bottom layers because the top 2 layers are simply lines of redstone wire on blocks above the torches. It's only 3 bits because I ran out of room trying to do a 4 bit decoder, and also this is a better size for forum screenshots.
Hans Lemurson's Thread of Links:http://www.minecraftforum.net/topic/371610-hans-lemursons-thread-of-links/
Look here to find links to my inventions, creations, and my Youtube channel featuring Amazing Creations of Mine (Redstone engineering FTW!!!) and charming Music-Videos about clones. I also made "Minecraft in Minecraft" (2D platformer/building game). I'm currently trying to make a computer.
An IF gate would, by definition, have the output be same state as its input. Thus an IF gate would be... A repeater, if you didn't want to just wire it directly.
I'm pretty sure that is a decoder, it only allows an output when all the inputs are (on or off) as desired. I use these all the time for displays like 7 segment, or for addressing memory based upon binary input.
A repeater lacks a condition. What you mean is an AND-gate.
A repeater has an input and an output, and the output changes depending on the input.
An IF gate would, hypothetically, turn one thing on when something else turns on. This is normally done by placing redstone dust between the two, but if you need to say something is a gate for that then the simplest form would be a repeater.
On the other hand if you wanted specifically "If C then X->Y" you would hook up C and X to an AND gate with Y as the output.
Please note that I am not an electrical engineer. I made this tutorial easy enough, that even I can understand it!
Also, I'm not even sure if there is such a thing as an "IF" gate. I've made things which I call "signal-blockers" which seem to function similarly, but I use them for shutting-off large busses.
What sort of device would your "IF" gate be used in? What is so special about "A and ~B"?
Look here to find links to my inventions, creations, and my Youtube channel featuring Amazing Creations of Mine (Redstone engineering FTW!!!) and charming Music-Videos about clones. I also made "Minecraft in Minecraft" (2D platformer/building game). I'm currently trying to make a computer.
An IF gate takes the data from 2 or more buses, and IF they meet the criteria [*1] set forth by the builder, they produce output .
It's my answer to making bus readers more compact. Regardless how many buses you have, it's 3 wide.
They are a combination of And, Negative And, Or, and Negative Or gate in one unit.
*1 - if the builder wants the If Gate to fire, he first sets the outputs to what he desires ... than builds it ... it will only fire IF the conditions are satisfied.
Build some buses, and than set the outputs to what you want the If gate to activate on ... than watch my video again so you can build it.
Ok, I think I understand: You've made a gate which responds only to a particular input pattern and ignores all others? Is that it? But what's this about it handling multiple busses?
If this device is in fact a "Respond only to a particular input pattern", then wouldn't this be vastly simpler:
I don't want to diminish the hard work you put into coming up with this device and then making a video to explain it. Making videos is hard work! However, unless I misunderstand what you're trying to do, your device seems to be needlessly complicated.
Look here to find links to my inventions, creations, and my Youtube channel featuring Amazing Creations of Mine (Redstone engineering FTW!!!) and charming Music-Videos about clones. I also made "Minecraft in Minecraft" (2D platformer/building game). I'm currently trying to make a computer.
The unit sits on top of the buses it reads, and the point is to make it smaller than using normal inverters and And gates ... your diagram takes up 8 spaces, the If gate takes up 3, and preforms the same function ... If gates line up nice to ...
It takes up 7 blocks because I wanted to show it all in one layer for simplicity of graphical layout.
Ok, now that I've seen the second video I understand what your "IF" gates are all about: Individual decoder segments.
I have some experience with decoders myself, and one of the things that I learned is that you can actually make them smaller than what you've done (32 blocks long) using an architecture where the Input-Lines run on the top rather than bottom. You get better speed that way since you don't have to constantly interrupt your lines with repeaters to get past blocks. Even if you keep the bottom-to-top architecture, you can still actually compact each unit to just 1 block thick.
If I seem a little bit annoyed it's because it seems that you've reinvented the wheel and are advertising it as a "Horizontal Friction Reducer". I have to forgive you somewhat though, given that you have no electronics background and have been figuring out all of these mechanisms on your own. The problem I have is that you seem to be taking credit for it. You have to realize that in the field of computer engineering, everything has already been invented, and already has a name. We are simply figuring out Redstone implementations of existing concepts, and even that has been going on for many many months.
Edit:
Here's a 3-bit decoder I whipped up in Simnik's redstone simulator:
It's displaying the number 5 and is only 17 blocks long (counting the input levers). I'm only showing the bottom layers because the top 2 layers are simply lines of redstone wire on blocks above the torches. It's only 3 bits because I ran out of room trying to do a 4 bit decoder, and also this is a better size for forum screenshots.
Look here to find links to my inventions, creations, and my Youtube channel featuring Amazing Creations of Mine (Redstone engineering FTW!!!) and charming Music-Videos about clones. I also made "Minecraft in Minecraft" (2D platformer/building game). I'm currently trying to make a computer.
I don't know what this is, but it's not an IF.
A repeater has an input and an output, and the output changes depending on the input.
An IF gate would, hypothetically, turn one thing on when something else turns on. This is normally done by placing redstone dust between the two, but if you need to say something is a gate for that then the simplest form would be a repeater.
On the other hand if you wanted specifically "If C then X->Y" you would hook up C and X to an AND gate with Y as the output.