As you can see, the bottom two floors have barely anything on them. For that reason, I personally have them buried, so that the 3rd Floor is set on ground level and run the clock powering the flipflop underground as well.
This is the best JK I've managed to come up with thus far. Can anyone beat it?
Theres something that scares me about this.
its not using redstone, or that its complex or anything.
its that people will make 1x1 block tunnels for redstone in their buildings, a network of "Ducts" and hopefully we can have vertical Trails. Crouching is probably going to be implemented.
[Large][/size]
^.^
There's spiders in the circuitry of this 7 segment counter! D:
If you use a normal 4 bit counter run off a clock then have a switch be a counter from the 1s to the 10s and have a switch when a 6 is in the 10s and a 1 signal is sent to the 1s to increase the 100s, and restart both 1s and 10s to 0. Rinse repeat for 100s,1000s, but insure that if a 2 is sent to the 1000s, and a 5 is sent to the 100s it is reset to 0001.
The binary to decimal decoder can be done with creative input selection into your displays. I would suggest using a hidden display to convert the binary to decimal(and to insure it is doing it properly. Though I am still working on the blueprint of my clock it will be automatic and will need 0 input from the user. (clocked rs flip-flops are awesome sauce).
Though I am technically using a clocked rs latch. And for the delay thing make 10x10 clocks that stack their outputs to the next ones input. this will multiply the delay. vs. just adding to it.
My two-press button is functional, but takes up masses of space. I will begin to build my four-button lock, but I suspect it will go deep underground. My method for making a repeat-press button is to connect the button to an RS Nor latch, and connect the output from the button to a not gate and then to an and gate. The RS-nor powers the other end of the And. That means that the And will not be on until the button is pressed to turn on the RS Nor and it shuts down. That is then put into an RS-Nor to store it, and sent to another And, along with the signal from the button, and is sent to another RS-Nor latch to store the signal, so the button needs to come on again. If you can simplify that, please tell. This system can be repeated for any number of presses.
OK now make a synchronous button press pass system. (have to time the button presses with a clock in order for them to count. also if people would make some kinda video when explaining this stuff i would make the mental work in figuring out what your going on about much easier;).
Has anyone thought of using a multiplexer and de-multiplexer to make some sort of information system. Have it a 3-bit multiplexer. So either 1 of 8 possible "outcomes" could be sent through to the output. Which gets sent to a friend's base. But I suppose it would only work good if you have just a main hub, and many smaller hubs. Otherwise you'd also need a multiplexer and demultiplexers from the smaller hubs to the main hub.
2-bit might be better.
0 - Everything normal.
1 - Need food.
2 - Need Materials
3 - Being attacked.
Just thought I would put this here, I cannot remember if someone has already done a working airlock, but regardless here:
And the rdat file for those who want to load it up, yes I know itd only take a few seconds to recreate but meh!
Edit: And shortly after...compacted it, and for a proper airlock youll prolly always approach it from the same side anyway, which means the door will always be open and so I removed the 2 outside switches: rdat download
for a proper airlock youll prolly always approach it from the same side anyway, which means the door will always be open and so I removed the 2 outside switches
Assuming you don't die and you don't want to use the design for SMP, sure.
Oh, and those dust trails heading to the doors would be exposed if you build it in game.
As you can see, the bottom two floors have barely anything on them. For that reason, I personally have them buried, so that the 3rd Floor is set on ground level and run the clock powering the flipflop underground as well.
This is the best JK I've managed to come up with thus far. Can anyone beat it?
Baezon posted a jk flipflop earlier in this thread that looked like it could be optimized to be much smaller than this one and the one I have.
Just about 1/3 done with replicating this with red stone. All those damn overlapping wires make my head hurt. Hope it works.
That's a 4-bit adder? What a stupid design.
You're better off using a half-adder(for the first bit) and full-adders(for all the others)
It's a bit silly to call a design stupid if you don't seem to understand what it is. It's a carry lookahead adder, which is faster than a ripple carry adder (an adder built of full adders chained together).
It's a stupid design for Minecraft. It would run much slower than a ripple-carry adder with the same number of bits. Sure, in real life it would be faster, but in MC all the extra gates, inverters, wire would slow it down.
Half/Full adders for 4 bits:
7 XORs
7 ANDs
a few inverters
Lookahead carry for 4 bits:
6 XORs
16 ANDs
tons of extra wire(need for inverters which slow it down)
plus a bunch of inverters scattered throughout which will slow it down
I don't count the ORs in either one, because those are free by having wires touch.
It's a stupid design for Minecraft. It would run much slower than a ripple-carry adder with the same number of bits. Sure, in real life it would be faster, but in MC all the extra gates, inverters, wire would slow it down.
Half/Full adders for 4 bits:
7 xors
7 ands
a few inverters
Lookahead carry for 4 bits:
6 xor
16 and
tons of extra wire(need for inverters which slow it down)
plus a bunch of inverters scattered throughout which will slow it down
...Yeah, but look at a circuit diagram of each. Carry look-ahead adders are larger, and have more gates, but ripple carry versions go through a longer sequence of events. More gates != slower... unless your computer can't handle the strain :tongue.gif:
It's a stupid design for Minecraft. It would run much slower than a ripple-carry adder with the same number of bits. Sure, in real life it would be faster, but in MC all the extra gates, inverters, wire would slow it down.
Half/Full adders for 4 bits:
7 xors
7 ands
a few inverters
Lookahead carry for 4 bits:
6 xor
16 and
tons of extra wire(need for inverters which slow it down)
plus a bunch of inverters scattered throughout which will slow it down
...Yeah, but look at a circuit diagram of each. Carry look-ahead adders are larger, and have more gates, but ripple carry versions go through a longer sequence of events. More gates != slower... unless your computer can't handle the strain :tongue.gif:
No, the redstone gets slowed down by every inverter it passes through. More gates, inverters = slower adder.
A flip flop or a latch is like a memory cell inside of a circuit. The best way to understand it is to build one yourself and see it at work, so first go build this out on the grass somewhere:
Red is a line of dust, green is the ground, grey is a block of something like dirt on top of the ground, and the torches are stuck to the walls of the nearest grey block. The sticks are levers you can use to manipulate the circuit.
Now as soon as you set this up, you should notice that the square in the middle makes a sort of loop. One of the torches is on, which makes the other torch turn off, so half of the square is lit up and the other half is dark. Now go to the control lever for the block with the lit torch on it, and flip it. This makes that torch turn off, which in turn allows the other torch to turn on. When you flip the lever back, the circuit will stay this way; you need to go to the other lever and toggle it to change it back. The circuit has flipped sides, hence the name "flip flop".
The easiest practical example of this is an alarm system. You can't rely on an intruder to see a lever that says "please flip this lever if you are invading my base" and turn it on. But you can probably get him to walk over a strategically placed pressure plate. The plate will only be on when he walks over it, but if you attach it to one end of a flip flop, the alarm will stay on until you press a different button to turn it off.
All of the other flip flops that get mentioned (D, T, JK) are really just more complex forms of this with some special features, which are very useful for building things like computers, but not really necessary for the average base builder. But the RS flop (meaning "Reset and Set" flop) is vital knowledge if you're going to do practical wiring.
"We're from the government and we're here to help."
BRB, building 4-bit carry look-ahead in MCRedstoneSim.
You build a 4-bit ripple-carry, and we'll compare the number of steps it takes to get output from each, settling this. Sound good?
Heh, I'm 20 years old and studying computer science in college. I got a lot of the information for this from the two pages I linked on my first post, though. But I find this pretty interesting, so I'm able to sit here and mess with it without going insane =P
As for deleting random blocks..... I hate you...
I removed almost all of the unecessary blocks from the 7 segment decoder. There are a couple in there still that act as stepping stones to navigate it, but a lot of the blocks that look like they aren't doing anything are actually preventing connections between blocks below them and ones beside them.
BRB, building 4-bit carry look-ahead in MCRedstoneSim.
You build a 4-bit ripple-carry, and we'll compare the number of steps it takes to get output from each, settling this. Sound good?
Glad I started a competition :smile.gif:. It'd be interesting to see the results.
-----8<----------8<-------
Bah, I don't care anymore. You can still test it if you want. I guess you would need some sort of "add" button in place so you could set up all the inputs and THEN have it add, instead of it adding while you set it up giving you bad timing results. If you're only gonna test it half-assed, don't bother posting your results.
-----8<----------8<------
1st Floor:
[] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] []
[] [] [] [] [] [] [] [] []
2nd Floor:
[] [] []
[] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] []
[] [] []
3rd Floor:
[] []
[] [] [] [] []
[] [] [] [] []
[] [] [] [] [] []
[] []
4th Floor:
[] []
[] []
[]
[] [] [] [] []
[]
[] []
[] []
5th Floor:
[] [] [] [] [] [] [] [] []
[] []
[] [] [] [] []
[] [] [] [] [] [] [] [] []
[] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] []
As you can see, the bottom two floors have barely anything on them. For that reason, I personally have them buried, so that the 3rd Floor is set on ground level and run the clock powering the flipflop underground as well.
This is the best JK I've managed to come up with thus far. Can anyone beat it?
There's spiders in the circuitry of this 7 segment counter! D:
The binary to decimal decoder can be done with creative input selection into your displays. I would suggest using a hidden display to convert the binary to decimal(and to insure it is doing it properly. Though I am still working on the blueprint of my clock it will be automatic and will need 0 input from the user. (clocked rs flip-flops are awesome sauce).
Though I am technically using a clocked rs latch. And for the delay thing make 10x10 clocks that stack their outputs to the next ones input. this will multiply the delay. vs. just adding to it.
OK now make a synchronous button press pass system. (have to time the button presses with a clock in order for them to count. also if people would make some kinda video when explaining this stuff i would make the mental work in figuring out what your going on about much easier;).
2-bit might be better.
0 - Everything normal.
1 - Need food.
2 - Need Materials
3 - Being attacked.
Etc. Just an idea. :3
That was awesome! :biggrin.gif:
Hurry notch, you glorious bearded *******! - Kilbas
And the rdat file for those who want to load it up, yes I know itd only take a few seconds to recreate but meh!
Edit: And shortly after...compacted it, and for a proper airlock youll prolly always approach it from the same side anyway, which means the door will always be open and so I removed the 2 outside switches:
rdat download
Assuming you don't die and you don't want to use the design for SMP, sure.
Oh, and those dust trails heading to the doors would be exposed if you build it in game.
This is not a spammy link, but rather a handy guide
DISCLAIMER: any diagrams I post should be taken with a grain of salt.
Yeah, though its easy enough to build them below the ground level, not as easy to represent in 2D
Baezon posted a jk flipflop earlier in this thread that looked like it could be optimized to be much smaller than this one and the one I have.
It's a stupid design for Minecraft. It would run much slower than a ripple-carry adder with the same number of bits. Sure, in real life it would be faster, but in MC all the extra gates, inverters, wire would slow it down.
Half/Full adders for 4 bits:
7 XORs
7 ANDs
a few inverters
Lookahead carry for 4 bits:
6 XORs
16 ANDs
tons of extra wire(need for inverters which slow it down)
plus a bunch of inverters scattered throughout which will slow it down
I don't count the ORs in either one, because those are free by having wires touch.
...Yeah, but look at a circuit diagram of each. Carry look-ahead adders are larger, and have more gates, but ripple carry versions go through a longer sequence of events. More gates != slower... unless your computer can't handle the strain :tongue.gif:
This is not a spammy link, but rather a handy guide
DISCLAIMER: any diagrams I post should be taken with a grain of salt.
No, the redstone gets slowed down by every inverter it passes through. More gates, inverters = slower adder.
Exactly what I needed to see, thanks a lot!
BRB, building 4-bit carry look-ahead in MCRedstoneSim.
You build a 4-bit ripple-carry, and we'll compare the number of steps it takes to get output from each, settling this. Sound good?
This is not a spammy link, but rather a handy guide
DISCLAIMER: any diagrams I post should be taken with a grain of salt.
What two pages did you link?
The wikipedia?
Glad I started a competition :smile.gif:. It'd be interesting to see the results.
Bah, I don't care anymore. You can still test it if you want. I guess you would need some sort of "add" button in place so you could set up all the inputs and THEN have it add, instead of it adding while you set it up giving you bad timing results. If you're only gonna test it half-assed, don't bother posting your results.
-----8<----------8<------
Here's the post he was talking about.
viewtopic.php?f=35&t=16440&p=314912#p314912