Measuring capacitance of a dual cable with arduino

If the cable has two leads, or an inner and outer conductor, use those two in the same circuit. Makle sure the wires are not connected at the far end.

You may have to change the resistor values, as the cable capacitance will usually be in the pF to nF range (unless it is quite long).

Hint: you can look up the capacitance per unit length for most cables and wiring. For example, 12 AWG "zip" cable for household lamps and audio speakers has capacitance of about 60 pF/meter.