![Smile :)](./images/smilies/icon_e_smile.gif)
Today I wrote much about controlling:
https://forums.factorio.com/forum/vie ... 6234#p6234
https://forums.factorio.com/forum/vie ... 8&start=30
https://forums.factorio.com/forum/vie ... 6237#p6237
And there are many other threads which covers this area...
But I thought about what would make the smart inserters more useful. I mean the hole system lacks flexibility. Smart inserters can be used only in one way. But this isn't always, what's needed.
I had an idea: Control voltage was and is used in analog synthesizers. http://en.wikipedia.org/wiki/Modular_synthesizer
I know that, cause one of my hobbies is making music. I use most times Reason for that. A demo version of Reason can be downloaded here: http://www.propellerheads.se/download/
I mention this, cause in Reason control voltage is fully implemented.
( Here is more info abou how it works:
http://electronicmusic.wikia.com/wiki/Control_voltage
http://www.propellerheads.se/substance/ ... cle=part40
)
Hard stuff. But in general the only thing you need to know is
- You have devices
- every device has some input and outputs.
- the inputs are plugged to an output by a cable
So, just to make you see, what I mean I describe, how the smart inserters and smart chest would be implemented with control voltage:
- a SMART CHEST would have outputs: for every type of item one. The voltage of the output is the number of items of this type in a chest. (I will explain later how to get rid of all the outputs)
- a SUMARIZER has N inputs (2, 3, 4 or 8 are common) and just adds the incoming voltages and output this sum also as voltage.
- a CONTROLLER has one or more inputs and outputs the highest possible voltage, if this input voltage is higher, lower, equal eyc. to a reference voltage.
- a SMART INSERTER has an input and if plugged, he only works, if the highest voltage is imputed.
This is of course complicated and not so simple, than currently. More cabling,more devices.
I introduce midi here. One reason of inventing midi standard was to get rid of all the cabling. For the chest this means that we have only one output. the number of items are like notes with a velocity. The midi standard knows also the concept of channels. Up to 16 channels can be transmitted in one cable. Many devices can be connected to only one cable/bus/network but they hear on different channels.
With this the above example look like this:
- SMART CHEST outputs number of items. By default to channel 1
- SUMARIZER adds all items from channel one and outputs summed number of items to channel 2 (default)
- the CONTROLLER takes the signals from channel 2, filters an item, compares with referents amounts and outputs a signal to channel 3
- SMART INSERTER reads from channel 3 ( again, only one cable!) and works, if there is some output.
Why is this so much better, than current handling? Because of its flexibility! There is nothing against moving the signal from the first controller to a second and sum it again. There are endless possibilities thinkable. This is currently not the case and I mean, this is the reason, why automation isn't used that much...
Other reasons: cabling gets much easier. Instead of handling red and green wires, you handle one network and have one function in one network. And logical consequence: every device in factorio can be connected, because you need to develop the special cable first.
And one more argument. Midi is a well known standard. I didn't say,that it must be implemented! And if, I wouldn't call it midi. I mean, that you can use it as working reference. One crazy idea: why not connecting a real master-keyboard as a device into factorio. When playin c rockets will be produced.
![Smile :)](./images/smilies/icon_e_smile.gif)
Crazy stuff? Yes. But think to it and try to imagine the limits when you make it like this: there are just none.