depend on cabling type, length and quality. Main target here like I was teached by Derek is to have pullup resistors close to sensors.
E.g. one of the configurations working for me: - six sensors, cat5 cabling, total length around 100m - connections are star-like, each sensor on a separate leg - resistors soldered to sensors are 2k7, 2k4, 6k8, 6k8, 2k7, 1k6 (smaller values for longer legs) - total resistance is around 480 ohms that is close to limit (maybe over already in some other setup)
Lawrence. It's not about number of resistors it's about total resistance and bus type. For an unusual and star shape bus individual resistors at each sensor seems to work best for a simple bus 1 resistor will be fine It's a case of trial and error I find! Thanks Garry
Member for
16 years 10 monthsThat's an easy one. One pull
That's an easy one. One pull up resistor per 1-wire bus. As only 1 bus is provided you need but 1 resistor.
Its value well there is another discussion right there. It can move around depending on the length and number of devices on your bus.
Member for
14 years 8 monthsThanks Brett,The next
Thanks Brett,
The next question is does it matter where it is located along the bus?
Member for
15 years 8 monthsExact values and location
depend on cabling type, length and quality. Main target here like I was teached by Derek is to have pullup resistors close to sensors.
E.g. one of the configurations working for me:
- six sensors, cat5 cabling, total length around 100m
- connections are star-like, each sensor on a separate leg
- resistors soldered to sensors are 2k7, 2k4, 6k8, 6k8, 2k7, 1k6 (smaller values for longer legs)
- total resistance is around 480 ohms that is close to limit (maybe over already in some other setup)
BR,
Aivo
Member for
14 years 8 monthsHi Aivo,This is in conflict
Hi Aivo,
This is in conflict with Brett's update.
You state having 1 resistor per sensor, but Brett advises that only 1 resistor per bus is required!
Member for
15 years 7 monthsIt about total resistance
Lawrence. It's not about number of resistors it's about total resistance and bus type. For an unusual and star shape bus individual resistors at each sensor seems to work best for a simple bus 1 resistor will be fine It's a case of trial and error I find! Thanks Garry