Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Sundeep Goel
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by Sundeep Goel

    • RE: Trouble with the JSN SR04T

      @sundeep-goel said in Trouble with the JSN SR04T:

      will install in the tank tomorrow morning, fingers crossed

      Installed under a tank nipple (needed to attach to lower end, was getting issues at the end)

      0_1564315108561_VLX.jpg

      getting steady readings now
      0_1564315170092_Screen Shot 07-28-19 at 05.26 PM.PNG

      in brief, too many issues with the JSN SR04T sensor in my tank, Laser TOF Sensor VL53L0X is better and cheaper in given setup.

      posted in Troubleshooting
      Sundeep Goel
      Sundeep Goel
    • RE: Trouble with the JSN SR04T

      @zboblamont said in Trouble with the JSN SR04T:

      Can we please establish a baseline of what you are using and the physical parameters, a fresh pair of eyes is only useful if the blinds are removed

      I agree, let me try and address all the queries.

      1. This sensor is mounted on top of a 1000 ltr plastic tank (image attached)
      2. The sensor is a 5V version, which is feed from a 3.3V esp8266 (image attached) - Can this be an issue even though it si working fine outside the tank?
      3. Sensors work fine outside the tank, within orig mounting and also inside the standpipe (as long as the sensor face is no deeper than 1.2cm from end of standpipe - image attached)
      4. Looking into the code of the ultrasonic library, trigger pulse seems to be 10 microseconds which is as per the documentation. Should i increase this to 15ms?
        digitalWrite(trig, LOW);
        delayMicroseconds(2);
        digitalWrite(trig, HIGH);
        delayMicroseconds(10); 
        digitalWrite(trig, LOW);
      

      Tank - total height say 130cm
      0_1563950353958_IMG_20190724_114412.jpg
      Mounting Hole - its offset from the side by 25cms
      1_1563950353959_IMG_20190724_114522.jpg
      Inside of the tank
      2_1563950353959_IMG_20190724_114533.jpg
      JSN 04T driver module
      3_1563950353959_IMG_20190724_114804.jpg
      Sensor head mounted inside standpipes
      4_1563950353959_IMG_20190724_114859.jpg

      posted in Troubleshooting
      Sundeep Goel
      Sundeep Goel
    • RE: Trouble with the JSN SR04T

      @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

      posted in Troubleshooting
      Sundeep Goel
      Sundeep Goel
    • RE: Trouble with the JSN SR04T

      @sundeep-goel said in Trouble with the JSN SR04T:

      putting this sensor aside and switching to the IR laser sensor VL53L0X.

      replaced JSN SR04T with VL53L0X
      0_1564249378245_51IeEZEgrqL.SX425.jpg

      So far the tests in a experimental setup (i.e. using a mug of water as a reflective surface are good), will install in the tank tomorrow morning, fingers crossed.

      posted in Troubleshooting
      Sundeep Goel
      Sundeep Goel
    • RE: Trouble with the JSN SR04T

      @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

      posted in Troubleshooting
      Sundeep Goel
      Sundeep Goel