Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
S

Sundeep Goel

@Sundeep Goel
About
Posts
15
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Trouble with the JSN SR04T
    S Sundeep Goel

    @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.

    Troubleshooting

  • Trouble with the JSN SR04T
    S Sundeep Goel

    @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

    Troubleshooting

  • Trouble with the JSN SR04T
    S Sundeep Goel

    @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

    Troubleshooting

  • Trouble with the JSN SR04T
    S Sundeep Goel

    @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.

    Troubleshooting

  • Trouble with the JSN SR04T
    S Sundeep Goel

    @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

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular