Oh, it fails at every distance. That means either: (a) the modules are bad, (b) the Vcc
power is bad, (c) the wiring is incorrect, (d) the signal levels are incorrect, or (d) the
software is incorrect.
First, check (b), better be 3.3V only. Then check (c), wIth 8 wires, it's a good chance
something is miswired. Then check (d), better be 3.3V only. One can only guess at what
hardware and interfaces are being used.
Then verify the pin callouts in the s.w. being used match the wiring, and and one can only
guess what s.w. is being used.
A lot of guessing here, not much information.