shafri
Member
sorry i'm not in the mood of full presentation, and i dont have this ultrasonic sensor and never programmed it. i only can show you the example link, you should modify the code to suite your need, here https://arduino.cc/en/Tutorial/Ping if you have trouble modifying it, i'm sure it will be more trouble to me, if you ask me how, my advice only is just to learn programming. afaik, ultrasonic sensor is not suitable in high humid environment such as in a water tank. worst if it got splashed or submerged in the water.