I'm attempting to set up a code to read multiple XL-MaxSonar-EZ/AE (1300) ultrasonic sensors, but I'm having a bit of trouble. I've set them up as a daisy chain, but when I look at the data it shows that the first sensor reads normally, but the second sensor in the chain always shows a much higher value.
They are both facing the same obstacle and should be outputting similar values. I have tried switching the sensors and the readings remain the same.
The issue is either in how I am implementing the code, or with how I have wired it (I have been messing around with the input to pin one as it is the only one I'm unsure of).
Any advice or suggestions would be welcomed.