Page 1 of 1

Waterproof Ultrasonic Obstacle Sensor, Reversing Radar Sensor with Separate Probe

Posted: Thu Jul 04, 2024 10:10 am
by Ruturaj Mali
Hello,

I recently purchased a waterproof ultrasonic sensor JSN-SR04T. When I tried to use it, I encountered an issue where it was providing inconsistent output, and I was unable to obtain any readings in the serial monitor as it consistently displayed zero distance. Initially, I suspected that there might be problems with the connections or the controller. However, I have another ultrasonic sensor that I used with the same controller, and it worked perfectly fine. I also experimented with different sketches, but unfortunately, I didn't see any improvement. Could someone kindly assist me in identifying the possible cause of the problem with my module?

Thank you.

Re: Waterproof Ultrasonic Obstacle Sensor, Reversing Radar Sensor with Separate Probe

Posted: Thu Jul 11, 2024 3:22 pm
by Shraddha
Hello,
For troubleshooting the issue, you can try the following steps:

1. Install the library from https://drive.google.com/file/d/1J33abr ... DnYvp/view
2. Ensure that the TRIG_PIN and ECHO_PIN are connected as per the pin assignments in your program.
3. Calibrate the sensor before testing.
4. Test the sensor in both water and air environments to observe the differences in the output.
5. Check the voltage at TRIG_PIN and ECHO_PIN during testing to see if the values are changing.

Hope this helps you. *:)