It occurred to me that the reason niether of the far old cables were working might be that the pull up resistor being used may not be allowing good communication with the sensor and the Arduino. After reading it turns out that I was correct and I previously even wrote about it here, https://github.com/PhysicsUofRAUI/binTempSensor/blob/master/how_to_docs/assemble_pcb.md. The furthest one is still not quite working.
The furthest one is bouncing between -100 and 85 C. The 85 C is an error code/default value from the DS18B20, and the -100 is my own error value.
As can be shown by this code snippet here:
one_middle = binOneSensors.getTempC(one_middle_address);
if (one_middle == DEVICE_DISCONNECTED_C)
{
Serial.println("Error");
one_middle = -100;
}
After reading some more and just sort of guessing at the situation I am going to try lowering the pull-up resistor again to maybe as low as 220 Ohm.
I estimated the capacitance to be 3200 pF because the length of the wire is about 160ft and the wire should have around 20pF/ft so,
C = (160ft)(20pF/ft) = 3200 pF
RC = (3200pF)(560 Ohm) = 1.8us
This should be fine according to page 3 of the DS18B20 datasheet (https://www.analog.com/media/en/technical-documentation/data-sheets/DS18B20.pdf), but the cable might have a higher capacitance and it could be longer.