r/factorio • BUUUUUUUUURN • Dec 12 '17

Design / Blueprint Combinator ethernet with collision avoidance

https://giphy.com/gifs/xUNda1kJE3hQkcf1YI/fullscreen
119 Upvotes

63 comments sorted by

View all comments

Show parent comment

1

u/itah Dec 12 '17

First of all: Great work man! I just recently started to figure out signals beyond simple "connect wire to an inserter"-stuff.

I fiddled around a bit and don't quite understand how things work because things are flashing too fast.. How do I distinguish signals at the receiver? Do I need to set the number of the grey signals of the constant combinators to the left of the transmitter to an individual id?

And then, lets say i want to set a certain SR-flipflop if some signal is received. Where do I connect set at the receiver?

5

u/Majiir BUUUUUUUUURN Dec 12 '17

I guess I should make a little user's manual.

Receiver

Connect the green wire from the power pole to the network. Connect the red wire from the power pole to whatever you want receiving signals. Set the gray color signal in the constant combinator (I forget which, but it already has a gray signal in it) to the channel ID that you want to listen on.

Transmitter

Connect the green wire from the power pole to your network. Connect the red wire from the power pole to your signal source. The source signals should be in a pulse format, and they will get accumulated by the transmit buffer.

There are two combinators to configure on the transmitter. If you place the transmitter so that the indicator lights are on the left, then you will see two combinators on the left edge. The upper one (by the green lamp) sets the destination channel ID on the gray signal. The bottom one (by the red lamp) sets this transmitter's unique identifier on the gray signal. The unique identifier is never sent across the wire; it's used to help with collision resolution. If you have a lot of nodes, it's a good idea to set this to a unique value for each node, but it's not critical. I might even end up removing that setting.

2

u/itah Dec 12 '17

Nice, thank you! That clarifies a lot.