This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
[Question] Increase maximum bundled cable output?
Started by ndm250, 12 February 2013 - 02:57 PMPosted 12 February 2013 - 03:57 PM
With 1 bundled cable on each side of a computer there's a possible of 96 unique signal outputs. Without using another computer is it possible to effectively increase that number?
Posted 12 February 2013 - 04:30 PM
No
Posted 12 February 2013 - 05:06 PM
Um…with one cable on one side of the computer, there should be 256 possible unique output states. With six cables, there should be a…really many more unique output states than you can possibly need.
And of course, CC computers are not the only way to process signals. I suppose the question is what exactly you want to do with the various possible output states.
And of course, CC computers are not the only way to process signals. I suppose the question is what exactly you want to do with the various possible output states.
Posted 12 February 2013 - 05:18 PM
Um…with one cable on one side of the computer, there should be 256 possible unique output states. With six cables, there should be a…really many more unique output states than you can possibly need.
And of course, CC computers are not the only way to process signals. I suppose the question is what exactly you want to do with the various possible output states.
I'm creating an item retrieval system where 1 color of the bundled cable on each side represents an item. Each colored wire is connected to a filter. If each bundled cable has 16 colors, that's only a maximum of 96 unique items?
Posted 13 February 2013 - 09:10 AM
make several computers that are connected with rednet and have bundled cables attached then *poof* more cables
Posted 13 February 2013 - 09:16 AM
Um…with one cable on one side of the computer, there should be 256 possible unique output states. With six cables, there should be a…really many more unique output states than you can possibly need.
And of course, CC computers are not the only way to process signals. I suppose the question is what exactly you want to do with the various possible output states.
I'm creating an item retrieval system where 1 color of the bundled cable on each side represents an item. Each colored wire is connected to a filter. If each bundled cable has 16 colors, that's only a maximum of 96 unique items?
make those 16 colors into a "bit system"… then one bundled cable can lead up to 2^16 unique items which should be more than enough xD requires some additional redstone or programming to get to work though..
Posted 13 February 2013 - 09:25 AM
16 bit not 8Um…with one cable on one side of the computer, there should be 256 possible unique output states. With six cables, there should be a…really many more unique output states than you can possibly need.
And of course, CC computers are not the only way to process signals. I suppose the question is what exactly you want to do with the various possible output states.
Spoiler
1 2
2 4
3 8
4 16
5 32
6 64
7 128
8 256
9 512
10 1024
11 2048
12 4096
13 8192
14 16384
15 32768
16 65536
Beaten to the punch line.
Posted 13 February 2013 - 12:32 PM
Um…yeah (derp)
That is theoretical, though. Unless you're using another computer on the other end, there would be practical difficulties with decoding.
An important difference arises between "effectively" and "pragmatically" on the decoding end. You can make it so that each device is activated by a specific combination of redstone inputs using ordinary redstone circuitry, but that will only take so many inputs before becoming quite unwieldy to build and it will invariably cost more than just using a computer. But it certainly is possible and effective.
That is theoretical, though. Unless you're using another computer on the other end, there would be practical difficulties with decoding.
An important difference arises between "effectively" and "pragmatically" on the decoding end. You can make it so that each device is activated by a specific combination of redstone inputs using ordinary redstone circuitry, but that will only take so many inputs before becoming quite unwieldy to build and it will invariably cost more than just using a computer. But it certainly is possible and effective.
Posted 14 February 2013 - 07:19 AM
You could theoretically use the RP AND gates and six bundled outputs to address a 32x32x32 cube. It's only 32768 valid addresses, but it's better than only 96.
Posted 14 February 2013 - 07:40 AM
Using 3 bundle outputs you can control 16. If applied to the remaining 3 sides you can control a total of 40 Bundled cables for Input or Output.(I would recommend for output more than Input) using this IO expander design. applying this to the other available sides would create a huge amount of IO. it would require poling for input thought.
I don't have the code that controlled this just the screen shots. the basic idea is using the bus transceiver as a latch for storing output and controlling that.
Spoiler
Posted 28 February 2013 - 01:19 PM
It's not a huge up but … i just done a little math and program to control 1 048 576 signal with 5 bundles (16^5). The only thing is that you can't keep 2 differents signal "on" at the same time. But if you need something like 4000 outputs (for Wireless and other systems), you can do with 3 bundles ;)/>.
(i'll soon post an explanation and tutorial on how i did it)
PS: Just read that you need this system to do a retrieval system, i did this thing to do the same ;)/>,
(i'll soon post an explanation and tutorial on how i did it)
PS: Just read that you need this system to do a retrieval system, i did this thing to do the same ;)/>,
Posted 28 February 2013 - 01:25 PM
No bump