SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By jim.c.sims
#199433
Hello Sparkfun and forum members:

I would like to be able to sense the level of the tide in the salt water canal near me. I have found that a sonic distance sensor like an
HY-SRF05 will give me the distance to the surface of the water but I am concerned that the salt atmosphere will destroy my project. I have tried to protect the electronics with a saran wrap window in an enclosure but the signal is attenuated and will not give me a reading.

I thought I would try the SPARK X SPX-14667 IR Laser Distance Sensor.

I am using an Arduino Fio which operates at 3.3 Volts. I have connected gnd, 3.3V, SDA to FIO D4, and SCL to FIO D5. I have the SparkFun VL53L1X_Arduino_Library installed and have tried the Example1_ReadDistance sketch. I only get zero as output on the serial monitor. There does not appear to be any "vacuum tape" on the sensor.

Do I need to connect INT or SHUT in order to get readings?

Thanks for your help.