Electronic – 1-wire bus topology using Cat5 cable

1-wire

I have a 1-wire network using cat5 cable. There is a bus running along the roofspace of the building and the sensors are on stubs off this bus. The bus along the roofspace is about 25 metres long and the stubs are between 1 and 5 metres long.

I understand that a linear bus is better than one having stubs or a star configuration. It occurs to me that without having to replace any cabling I could rewire each sensor to be directly on the bus. By using one of the twisted pairs in the Cat5 cable to run the DQ and Vdd down to the sensor and then use another pair (in the same cable) to run the DQ and Vdd back up again the bus could continue without having made a spur.

enter image description here

Would running the out and back wires inside the same sheath be OK? Would it improve the network or would it cause interference, make the total cable length even longer and be worse than just having spurs on the bus?

UPDATE:

The bus is driven using a Maxim DS2482 at standard 1-wire speed. The devices are not using parasitic power.

I am about to add some more sensors onto the bus. I am wondering if there would be any benefit in changing the way it is wired since I will soon have an opportunity to do so.

I would not be able to replace the existing cables, hence the idea of running two legs of the bus inside the same physical sheath to create a linear bus. Does this sound like a good idea worth pursuing further or is it pointless?

Best Answer

I think that capacitance is going to be the enemy in your setup. Accordingly, I think that the option that you are mentioning instead of using stubs will cause more problems.

The best way to figure this out is to either measure the capacitance of your existing cable or look at the datasheet for the cable. Then calculate how much the capacitance changes when you re-wire to eliminate the stubs. You can then use that capacitance value along with your pull-up resistor to see if you are going to run into problems.