Trouble with the JSN SR04T
-
Hello everyone, I am having problems with the jsn-sr04t V2 sensor and I came to this forum looking for a solution.
In my case I am getting erroneous readings in a cylindrical water tank 3.5 meters high.
I am measuring once a minute (below a sample) and the readings are disparate. Do not match the actual measurement.
109 cm 2019-11-05 21:01:42
141 cm 2019-11-05 21:00:42
90 cm 2019-11-05 20:59:42
168 cm 2019-11-05 20:58:41
170 cm 2019-11-05 20:57:41
111 cm 2019-11-05 20:56:41
143 cm 2019-11-05 20:55:41I am using a 220V switching power source at 5V and 700 mA maximum. From the food source a Wemos D1 mini (with esp8266) and from the 5V and GND pins to the sensor.
In tests outside the tank, I used the USB power of my notebook and the samples were wrong, however when I powered up with an original Motorola fast-charge charger, the samples were perfect.
Is it possible to think that the 700mA source (from china) is not enough? Or that the power source may be putting some noise to the sensor signal?
-
Hello everyone, I am having problems with the jsn-sr04t V2 sensor and I came to this forum looking for a solution.
In my case I am getting erroneous readings in a cylindrical water tank 3.5 meters high.
I am measuring once a minute (below a sample) and the readings are disparate. Do not match the actual measurement.
109 cm 2019-11-05 21:01:42
141 cm 2019-11-05 21:00:42
90 cm 2019-11-05 20:59:42
168 cm 2019-11-05 20:58:41
170 cm 2019-11-05 20:57:41
111 cm 2019-11-05 20:56:41
143 cm 2019-11-05 20:55:41I am using a 220V switching power source at 5V and 700 mA maximum. From the food source a Wemos D1 mini (with esp8266) and from the 5V and GND pins to the sensor.
In tests outside the tank, I used the USB power of my notebook and the samples were wrong, however when I powered up with an original Motorola fast-charge charger, the samples were perfect.
Is it possible to think that the 700mA source (from china) is not enough? Or that the power source may be putting some noise to the sensor signal?
@dmacros My guess would be noise, I had similar problems when I tried using a 5v booster only for the JSN, the boards seem quite "temperamental" over voltage supplies.
I understood the Wemos to be 3.3v logic anyway, so powering the JSN off the 3.3v pin would be normal, and the regulator should kill noise sufficiently to allow the JSN to work reliably.I have two of these installed, one works perfectly on 3.3v to maximum range, the other has problems at maximum unless fed 5vDC from a battery, yet fine for closer range (<1.5m) at 3.3v.
Have ordered another JSN in hopes it is better behaved at 3.3v, it must be a QC issue...Today the second (troublesome) one is working at range on 3.3v, but it is not reliable. I have it try max 10 times (I think) to get a valid reading every hour, so it does not kill the batteries much.
Whether yours will work at 3.5m or not you can only test, but having a mains supply means battery power is no barrier.. -
@zboblamont said in Trouble with the JSN SR04T:
what the range is that version, I've seen 1m and 2m quoted for the same model number..?
I have tested till around 2meters succesfully. I read somewhere that you can also switch to another mode to increase range, haven't tried that though.
Let me know if you need more information, as of now I have added only one sensor, will be adding one more next week, so can run more tests then
@Sundeep-Goel did u face any issues due to water vapours or water in general?