user28627: Is there a limit for the connector distance between an arduino and a HC-SR04 ultrasonic sensor?
I have a set-up for measuring a liquid's level in a tank. The benchtop version worked OK, but when I deployed it, I introduced a 10meter cat5 cable connecting the HC-SR04 to the arduino, it is giving me strange distance readings (they are showing the same distance, even though the level has changed significantly).
The 10m of cat5 is the only element that has changed from the benchtop tests.
Is this length of cat5 a potential problem? If so how can I diagnose it? I have a multimeter and basic oscilloscope?
Update:
I measured 4.77v across the sensor's 5v/GND on the breadboard with arduino and 4.65v on the sensor itself.

user14490: Cat 5.e cable is specially designed to carry on differential (or balanced) signals (that is why it consists of four twisted pairs - each pair is like tunnel for signal)
On the other hand, the ultrasonic sensor utilizes non-balanced, non-differential signal of high frequency, so, the valid length of cable, that couldn't destroy the data in the signal accuracy is about 0.3-0.5 meter only.
You can check my words by comparing a plots of the signal (on controller input pin) with 10cm and 10m cables.
The digital signal must have nice, square form like this:

But the signal, which is passed through long line of wire can be look like this:

And this is bad, because now the controller could not interpret this signal shape correctly.

28627: <p>Is there a limit for the connector distance between an arduino and a HC-SR04 ultrasonic sensor?</p>
<p>I have a set-up for measuring a liquid's level in a tank. The benchtop version worked OK, but when I deployed it, I introduced a 10meter cat5 cable connecting the HC-SR04 to the arduino, it is giving me strange distance readings (they are showing the same distance, even though the level has changed significantly).</p>
<p>The 10m of cat5 is the only element that has changed from the benchtop tests.</p>
<p>Is this length of cat5 a potential problem? If so how can I diagnose it? I have a multimeter and basic oscilloscope?</p>
<p>Update:
I measured 4.77v across the sensor's 5v/GND on the breadboard with arduino and 4.65v on the sensor itself.</p>
 14490: <p>Cat 5.e cable is specially designed to carry on differential (or balanced) signals (that is why it consists of four twisted pairs - each pair is like tunnel for signal)</p>
<p>On the other hand, the ultrasonic sensor utilizes non-balanced, non-differential signal of high frequency, so, the valid length of cable, that couldn't destroy the data in the signal accuracy is about 0.3-0.5 meter only.</p>
<p>You can check my words by comparing a plots of the signal (on controller input pin) with 10cm and 10m cables.</p>
<p>The digital signal must have nice, square form like this:</p>
<p><a href="https://i.stack.imgur.com/macUL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/macUL.png" alt="enter image description here" /></a></p>
<p>But the signal, which is passed through long line of wire can be look like this:
<a href="https://i.stack.imgur.com/9oQsm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9oQsm.png" alt="enter image description here" /></a></p>
<p>And this is bad, because now the controller could not interpret this signal shape correctly.</p>
