UPDATE: See a few posts down for diagrams of completed design, sorry no new pictures but it is finally working and has been tested by a friend of mine for 4-bit and he's now working on a 6-bit communications system for our server.
Before I get 20 posts of how there are already threads for sending varied signals over a long distance with one wire, I thought I'd explain what it is I'm posting.
I have designed a output device that has more posible combinations for a shorter length than the purely signal length based systems. It uses a expandable binary pulse system with a leader and follower bit to allow the system to know when it is receiving information.
Signal Length:
Old System (Pulse Length)-
Max Length = 1+2 * #of Combinations
for 4 : 1+2*4=9
for 8 : 1+2*8=17
for 16 : 1+2*16=33
for 32 : 65
Binary System-
Max Length = 4 * {2 + log2(#of Combinations)}
for 4 : 4*(2+2)=16
for 8 : 4*(2+3)=20
for 16 : 4*(2+4)=24
for 32 : 28
Conclusion-
Pulse length is better for a few commands but for something similar to morse code or something with more than 8 possible "phrases" to communicate the Binary system is much better
Contents:
Input-
The input consists of a series of buttons each linked to a pulse generator that creates a pulse length of 3. This pulse is sent ot the signal generator that creates a specific binary signal with a leader and follower pulse to let the decoder know that the signal is centered. Example Signal:
5 or 101 in 3-bit
[111]0[111]0[000]0[111]0[111]
Leader -----Data----- Follower
The zeroes between each bit are to avoid errors in delay (It could be streamlined but this is mainly a proof of concept for the two machines.
Receiver/Decoder-
The receiver or decoder as I call it consits of a chain of delays with blocks inbetween to contain the signal. The signal from each data point as well as the leader and follower space are plugged into an AND gate which is then fed into a RSNOR latch which has a reset wired to be toggled when the follower is on and the leader is off (This will reset when a new signal is being received)
Pictures
Sorry if this is overly confusing but I hope atleast somebody finds this useful. If anyone is interested, I can upload the save, and if anyone has questions, feel free to ask.
Rollback Post to RevisionRollBack
Quote from hellspawn3200 »
you guys are posting in a troll thread, simply report and move on.
I've been working ou the kinks and may have discovered a way to shorten the signal even more and possibly make a binary input using levers to control which bits are turned on rather than a seperate button for each possible input.
Af far as converting the binary signal, I can just modify my 4-bit to hexadecimal decoder.
After I finish I'll edit the main post and maybe put up a video next week when I get back to my real computer (Traveling this week just got the idea and needed to put it down)
Rollback Post to RevisionRollBack
Quote from hellspawn3200 »
you guys are posting in a troll thread, simply report and move on.
EDIT: Replaced repeaters on output with redstone as they are redundant.
EDIT2: Updated the information for larger bit-numbers
EDIT3: Reduced the height of the decoder to 5
Finally worked out the kinks and figured I'd post my design. The decoder has a 10x10 footprint and a height of 6 5 for a 3-bit decoder and only increases by 2 in length for each additional bit. The input can be tiled horizontally and its length (21 for 3-bit) increases by 2 for each additional bit. They can both be modified up to 6-bit 5-bit easily without changing the shape but would require some tinkering to make any larger.
Decoder Schematic Layout (3-bit):
2-Story 4-Input Module (3-bit):
The Inputs are as follows:
I1:[011]
I2:[010]
I3:[100]
I4:[110]
For those of you who want 8-bit, If you move the Leader and Follower positions to the other side of the rest of the positions (Above them in my diagram) and extend the delay of 3 to two delays (1 and 2) or just add a peice of redstone and shift the delayers that lead to the reset torches to the front edge (Bottom on my diagram) you should be able to work 8-bit in the decoder. For the input, you will only be able to run inputs on one side of the output line; however you can still run one above and one under need to add a delay of one along the output line and input threads. These should counter eachother and keep the signal running proper. I can post a diagram of this as well if anyone expresses interest.
Rollback Post to RevisionRollBack
Quote from hellspawn3200 »
you guys are posting in a troll thread, simply report and move on.
For those of you who are interested, I built the complete circuit out in a logic simulator I found online http://logic.ly/demo... The switches represent the presence or absence of a torch at that position.
EDIT: Also, a 4-bit version with a 7-segment display attached for kicks...
Rollback Post to RevisionRollBack
Quote from hellspawn3200 »
you guys are posting in a troll thread, simply report and move on.
viewtopic.php?f=1034&t=248352
You can ignore this:
UPDATE: See a few posts down for diagrams of completed design, sorry no new pictures but it is finally working and has been tested by a friend of mine for 4-bit and he's now working on a 6-bit communications system for our server.
Before I get 20 posts of how there are already threads for sending varied signals over a long distance with one wire, I thought I'd explain what it is I'm posting.
I have designed a output device that has more posible combinations for a shorter length than the purely signal length based systems. It uses a expandable binary pulse system with a leader and follower bit to allow the system to know when it is receiving information.
Signal Length:
Old System (Pulse Length)-
Max Length = 1+2 * #of Combinations
for 4 : 1+2*4=9
for 8 : 1+2*8=17
for 16 : 1+2*16=33
for 32 : 65
Binary System-
Max Length = 4 * {2 + log2(#of Combinations)}
for 4 : 4*(2+2)=16
for 8 : 4*(2+3)=20
for 16 : 4*(2+4)=24
for 32 : 28
Conclusion-
Pulse length is better for a few commands but for something similar to morse code or something with more than 8 possible "phrases" to communicate the Binary system is much better
Contents:
Input-
The input consists of a series of buttons each linked to a pulse generator that creates a pulse length of 3. This pulse is sent ot the signal generator that creates a specific binary signal with a leader and follower pulse to let the decoder know that the signal is centered. Example Signal:
5 or 101 in 3-bit
[111]0[111]0[000]0[111]0[111]
Leader -----Data----- Follower
The zeroes between each bit are to avoid errors in delay (It could be streamlined but this is mainly a proof of concept for the two machines.
Receiver/Decoder-
The receiver or decoder as I call it consits of a chain of delays with blocks inbetween to contain the signal. The signal from each data point as well as the leader and follower space are plugged into an AND gate which is then fed into a RSNOR latch which has a reset wired to be toggled when the follower is on and the leader is off (This will reset when a new signal is being received)
Pictures
Sorry if this is overly confusing but I hope atleast somebody finds this useful. If anyone is interested, I can upload the save, and if anyone has questions, feel free to ask.
Af far as converting the binary signal, I can just modify my 4-bit to hexadecimal decoder.
After I finish I'll edit the main post and maybe put up a video next week when I get back to my real computer (Traveling this week just got the idea and needed to put it down)
EDIT: Replaced repeaters on output with redstone as they are redundant.
EDIT2: Updated the information for larger bit-numbers
EDIT3: Reduced the height of the decoder to 5
Finally worked out the kinks and figured I'd post my design. The decoder has a 10x10 footprint and a height of
65 for a 3-bit decoder and only increases by 2 in length for each additional bit. The input can be tiled horizontally and its length (21 for 3-bit) increases by 2 for each additional bit. They can both be modified up to6-bit5-bit easily without changing the shape but would require some tinkering to make any larger.Decoder Schematic Layout (3-bit):
2-Story 4-Input Module (3-bit):
The Inputs are as follows:
I1:[011]
I2:[010]
I3:[100]
I4:[110]
For those of you who want 8-bit, If you move the Leader and Follower positions to the other side of the rest of the positions (Above them in my diagram) and extend the delay of 3 to two delays (1 and 2) or just add a peice of redstone and shift the delayers that lead to the reset torches to the front edge (Bottom on my diagram) you should be able to work 8-bit in the decoder. For the input, you will
only be able to run inputs on one side of the output line; however you can still run one above and one underneed to add a delay of one along the output line and input threads. These should counter eachother and keep the signal running proper. I can post a diagram of this as well if anyone expresses interest.Thanks for the blueprints, I am currently working on this right now to encode my secret messages.
EDIT: Also, a 4-bit version with a 7-segment display attached for kicks...