I noticed a few threads asking for an NPN transistor to be developed. I found a way to make it with existing redstone. First, lay down a sticky piston. Easy enough.
Next, stick wool onto it. Color doesn't matter.
Put a repeater in front of the wool. For some reason, when a repeater goes into wool, the signal can travel through the wool.
Put in whatever input you want to the repeater. I'm just using a torch.
And then your output goes on the other side of the space after the repeater. Like this. Notice the square I'm aiming at is empty.
Now just put an input to the sticky piston. This will be the "base" of our transistor. I chose a lever.
And you're done! If you have any questions, please post!
You can't really build a NPN transistor in minecraft because redstone does not behave like electricity. Kirchof's laws do not work for redstone so the way a inverter is made from a NPN transistor that drops the voltage at the emitter will not work.
My thoughts exactly. Although it behaves like a NPN transistor, it isn't at all like a real life one, since redstone only has one power level.
Rollback Post to RevisionRollBack
I always wanted to argue with a brick wall, I suppose the internet is the second best option.
It's just a basic AND gate, and you can do this simply without pistons.You cant' build an NPN transistor in Minecraft due to the fact electricity behaves(As stated above).
They aren't that difficult to make. Memory is nastier, D-latches in minecraft are quite simple because you can delay signals so the reset of the RS-latch dies 1 tick before the set. In real life you don't have that advantage (unless you work with capacitors) so you need a pretty complicated circuit for the same functionality.
I meant in minecraft. But I am unsure if that is possible, because you can make an inverter using minecraft transistors. And I can only image how nasty D flip flops would look..
Rollback Post to RevisionRollBack
I always wanted to argue with a brick wall, I suppose the internet is the second best option.
The 'transistor' as in the OP is incapable of being used to construct a adder. It has a AND logical identity which is incapable of making XOR gates. You can turn it into an inverter quite easily by moving the line 1 block further from the piston. But then you just made a big redstone torch.
Sure it is. Just build your flip-flops out of NAND based latches rather than XOR
An AND gate is equivalent to a transistor switching. If you want to use a piston, this works:
Truth table:
A = input on the piston, similar to the gate.
|A|B|Out
|0|0|0
|0|1|0
|1|0|0
|1|1|1
A signal from B is transmitted only when A is powered. Of course, it can't act as an amplifier, since it's purely digital, so it's more of a relay than a transistor.
This design is useful because there's only a delay when switching, otherwise the signal is transmitted with 0 ticks delay. A normal AND gate has 2 ticks delay, your design has 1 tick delay.
My thoughts exactly. Although it behaves like a NPN transistor, it isn't at all like a real life one, since redstone only has one power level.
haha... redstone has 15 levels lol ;D
Rollback Post to RevisionRollBack
If you need any help with any computer issues, check my website for contact information. I also do Minecraft Mods... well basic ones, I can make blocks that do specific things. I've also dabbed into making Plugins... like before, simple plugins
At first I was under the impression that some new contraption was made out of somebodies innovation.
But let me clarify a few things here:
1. You can make the same contraption by putting a lever on a solid block, and a torch on another side. It does the exact same function, but it's quieter.
2. A repeater can either transfer power, or recieve power through a solid block. (Glass, glowstone, half-slabs and stairs are not solid. Among other various things)
So you can have redstone leading into a block, and have a repeater on another side to take power out (useful for certain things), or you can have a repeater leading into a block, and have a repeater/redstone dust take the power out. (useful for other things)
3. If you add a lever onto the spot where the torch is, you made a very very large AND gate.
Nice try, but you just created something that people have been using for years. You re-invented the frisbee - so to speak. Keep going though, you may figure something else out.
Also, redstone is limited in "voltage" levels but can still do Pulse Width Modulation.
So you can create variable clocked PWM generators, with a faster PWM output rate corresponding to a higher "current" flow, and the PWM in rate acting as a gate.
Verilog for a similar thing, taking serial in from a pin on an Altera FPGA and outputting a PWM signal to a resistor ladder to make a DAC:
PWM_in is, of course, a byte. It's not pulse width modulated, just a normal 8 bit value.
You'd have to be a special kind of crazy to use that design in minecraft, but if someone writes a good verilog -> redstone compiler or makes a redstone FPGA...
This is an and gate, for sure. An or gate means that either one or the other or both signals are on. This one requires both signal to be on, thus making it an and gate.
OP here. I'm really sorry for making this thread. Looking back on this post, one of my first, I was an idiot. I'm sorry to have forced you to see this thread, as it is absolutely ridiculous. All facepalms were quite deserved. Again, I am sorry to have vomited this onto the forums. I'll go walk away and die of shame, now.
No, that is a OR gate, he puts the lever on, output is on. Lever is off, output is off.
Actually it is a NPN transistor, the torch is the source, the wool is the gate and the other redstone is the output. Go buy a NPN transistor and see for yourself.
Next, stick wool onto it. Color doesn't matter.
Put a repeater in front of the wool. For some reason, when a repeater goes into wool, the signal can travel through the wool.
Put in whatever input you want to the repeater. I'm just using a torch.
And then your output goes on the other side of the space after the repeater. Like this. Notice the square I'm aiming at is empty.
Now just put an input to the sticky piston. This will be the "base" of our transistor. I chose a lever.
And you're done! If you have any questions, please post!
Edit:
No, that is a OR gate, he puts the lever on, output is on. Lever is off, output is off.
Even bigger facepalm.
He suggested adding a lever instead of the RStorch. That would be an and gate.
My thoughts exactly. Although it behaves like a NPN transistor, it isn't at all like a real life one, since redstone only has one power level.
I meant in minecraft. But I am unsure if that is possible, because you can make an inverter using minecraft transistors. And I can only image how nasty D flip flops would look..
Sure it is. Just build your flip-flops out of NAND based latches rather than XOR
[represent]
......
Hmmm, let's see. By studying the screenshots, it would seem that BOTH of the TWO inputs need to be high to return a true value.
...... Yup, definitely an OR gate.
Truth table:
A = input on the piston, similar to the gate.
|A|B|Out
|0|0|0
|0|1|0
|1|0|0
|1|1|1
A signal from B is transmitted only when A is powered. Of course, it can't act as an amplifier, since it's purely digital, so it's more of a relay than a transistor.
This design is useful because there's only a delay when switching, otherwise the signal is transmitted with 0 ticks delay. A normal AND gate has 2 ticks delay, your design has 1 tick delay.
haha... redstone has 15 levels lol ;D
But let me clarify a few things here:
1. You can make the same contraption by putting a lever on a solid block, and a torch on another side. It does the exact same function, but it's quieter.
2. A repeater can either transfer power, or recieve power through a solid block. (Glass, glowstone, half-slabs and stairs are not solid. Among other various things)
So you can have redstone leading into a block, and have a repeater on another side to take power out (useful for certain things), or you can have a repeater leading into a block, and have a repeater/redstone dust take the power out. (useful for other things)
3. If you add a lever onto the spot where the torch is, you made a very very large AND gate.
Nice try, but you just created something that people have been using for years. You re-invented the frisbee - so to speak. Keep going though, you may figure something else out.
So you can create variable clocked PWM generators, with a faster PWM output rate corresponding to a higher "current" flow, and the PWM in rate acting as a gate.
Verilog for a similar thing, taking serial in from a pin on an Altera FPGA and outputting a PWM signal to a resistor ladder to make a DAC:
PWM_in is, of course, a byte. It's not pulse width modulated, just a normal 8 bit value.
You'd have to be a special kind of crazy to use that design in minecraft, but if someone writes a good verilog -> redstone compiler or makes a redstone FPGA...
Actually it is a NPN transistor, the torch is the source, the wool is the gate and the other redstone is the output. Go buy a NPN transistor and see for yourself.