@zboblamont said in Trouble with the JSN SR04T:
The sensor is working perfect outside the tank - tested both with 10us and 15us. Also, same with / without a voltage divider.
Saw a possible issue in the code
Ultrasonic ultrasonic1(4, 13); // An ultrasonic sensor HC-04
Ultrasonic ultrasonic2(4, 12); // An ultrasonic sensor HC-04
Was using same trigger pins on the esp for both sensor, ideally this should not have been creating a problem. but just to be sure, tried with only one sensor - worked fine outside the tank
Inside the tank in all cases, back to square one i.e. readings between 20-25cm only.
For now , putting this sensor aside and switching to the IR laser sensor VL53L0X. Lets see how that does, will post back the results soon