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
  1. Home
  2. My Project
  3. Round water tank level sensor

Round water tank level sensor

Scheduled Pinned Locked Moved My Project
55 Posts 14 Posters 22.5k Views 19 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • breimannB Offline
    breimannB Offline
    breimann
    wrote on last edited by
    #21

    Awesome... i had a feeling you weren't too far away!

    Nice to connect with someone in the same country. Yes, i still haven't gotten the ACS712 operational but have temporarily put the switch node in for the pump to turn it on and off.
    I'm slowly creeping up on the ACS712 code. The latest i've gotten on that is going back over some of PeteB's projects in particular his Whole House Fan.

    1 Reply Last reply
    0
    • Boots33B Boots33

      @breimann

      I am in South East Qld so in the same country at least :)

      I remember the controller, that is the one you were going to use a ACS712 I think.

      I did build a controller for my tank pump but it is just a simple on off node.

      breimannB Offline
      breimannB Offline
      breimann
      wrote on last edited by
      #22

      @Boots33 I've been collecting some of the parts for this project. Just wanted to check something. I have a similar poly tank like yours, but is there an issue with mounting the transducer so it's not completely level as the roof slopes up?? Do you get what i mean?

      Boots33B 1 Reply Last reply
      0
      • breimannB breimann

        @Boots33 I've been collecting some of the parts for this project. Just wanted to check something. I have a similar poly tank like yours, but is there an issue with mounting the transducer so it's not completely level as the roof slopes up?? Do you get what i mean?

        Boots33B Offline
        Boots33B Offline
        Boots33
        Hero Member
        wrote on last edited by
        #23

        @breimann My sensor is on a slight angle as well but in use so far it has not caused any problems. I still have not had the tank below 80% so it may still be an issue when the tank is near to empty. Originally I was just going to make a wedge out of a plastic door stop to level it up but will wait and see as it may just work ok as it is.

        breimannB 1 Reply Last reply
        0
        • Boots33B Boots33

          @breimann My sensor is on a slight angle as well but in use so far it has not caused any problems. I still have not had the tank below 80% so it may still be an issue when the tank is near to empty. Originally I was just going to make a wedge out of a plastic door stop to level it up but will wait and see as it may just work ok as it is.

          breimannB Offline
          breimannB Offline
          breimann
          wrote on last edited by
          #24

          @Boots33 Nice. Good thinking re the wedge. I was thinking some sort of angle type thingy to level it.

          Just a question re your power supply. Once you got the node onto the 9v plug pack, did you find the sensor was ok being supplied with 5v from your Nano?

          Boots33B 1 Reply Last reply
          0
          • breimannB breimann

            @Boots33 Nice. Good thinking re the wedge. I was thinking some sort of angle type thingy to level it.

            Just a question re your power supply. Once you got the node onto the 9v plug pack, did you find the sensor was ok being supplied with 5v from your Nano?

            Boots33B Offline
            Boots33B Offline
            Boots33
            Hero Member
            wrote on last edited by
            #25

            @breimann yes the sensor has been very stable with 5v coming from the nano. I only experienced issues in the initial testing when I was powering the nano from my laptop usb. With the 9v supply to the nano V IN it is very good. I also use an minimum of 47uf for the nrf cap now as well.

            breimannB 1 Reply Last reply
            0
            • Boots33B Boots33

              @breimann yes the sensor has been very stable with 5v coming from the nano. I only experienced issues in the initial testing when I was powering the nano from my laptop usb. With the 9v supply to the nano V IN it is very good. I also use an minimum of 47uf for the nrf cap now as well.

              breimannB Offline
              breimannB Offline
              breimann
              wrote on last edited by
              #26

              @Boots33 Excellent. Thankyou.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                MasterCATZ
                wrote on last edited by MasterCATZ
                #27

                very interesting and another Aussie, QLDer here

                1 Reply Last reply
                1
                • D Offline
                  D Offline
                  Denverado
                  wrote on last edited by
                  #28

                  Hi there. I am currently making the exact same project using a RPi3 and a JSN-SR04T ultrasonic sensor. My tank is 2 meters tall and are currently having issues with the sensor giving echos off the side of the tank. Did you have any issues like this? Im a SE Qlder as well.

                  Boots33B 1 Reply Last reply
                  0
                  • D Denverado

                    Hi there. I am currently making the exact same project using a RPi3 and a JSN-SR04T ultrasonic sensor. My tank is 2 meters tall and are currently having issues with the sensor giving echos off the side of the tank. Did you have any issues like this? Im a SE Qlder as well.

                    Boots33B Offline
                    Boots33B Offline
                    Boots33
                    Hero Member
                    wrote on last edited by
                    #29

                    Hi @Denverado

                    It seems water tank projects are popular down under.

                    As to echo issues I have had no problems to date. I still have not had the tank bellow 80% though so can't yet tell if there may be issues. Ultrasonic sensors have been used commercially for tank level indicators so I think we should be ok.

                    As I noted in the first post a good 5v supply is essential for stable results. You could also have a look at this post it would seem that others have had some trouble with the JSN version as well.

                    Are you certain it is echo problems, what sort of readings are you getting? I know you can get sensors with a narrower beam but they usually cost a lot more too.

                    D 1 Reply Last reply
                    1
                    • Boots33B Boots33

                      Hi @Denverado

                      It seems water tank projects are popular down under.

                      As to echo issues I have had no problems to date. I still have not had the tank bellow 80% though so can't yet tell if there may be issues. Ultrasonic sensors have been used commercially for tank level indicators so I think we should be ok.

                      As I noted in the first post a good 5v supply is essential for stable results. You could also have a look at this post it would seem that others have had some trouble with the JSN version as well.

                      Are you certain it is echo problems, what sort of readings are you getting? I know you can get sensors with a narrower beam but they usually cost a lot more too.

                      D Offline
                      D Offline
                      Denverado
                      wrote on last edited by
                      #30

                      @Boots33, the readings I am getting are consistent..... they are just consistently wrong. :( I am going to try and install the sensor in a tube and see if that helps.
                      Fingers crossed!

                      zboblamontZ 1 Reply Last reply
                      0
                      • D Denverado

                        @Boots33, the readings I am getting are consistent..... they are just consistently wrong. :( I am going to try and install the sensor in a tube and see if that helps.
                        Fingers crossed!

                        zboblamontZ Offline
                        zboblamontZ Offline
                        zboblamont
                        wrote on last edited by
                        #31

                        @Denverado If this is a JSN-SR04T-2.0, as @Boots33 has already alluded to, now is a good time to take up religion. Spent a further 5 hours this afternoon trying all manner of variations of pullup resistor and sketch configurations per only available info and came up nada... Good luck... It is a veritable Chinese puzzle....

                        D 2 Replies Last reply
                        0
                        • zboblamontZ zboblamont

                          @Denverado If this is a JSN-SR04T-2.0, as @Boots33 has already alluded to, now is a good time to take up religion. Spent a further 5 hours this afternoon trying all manner of variations of pullup resistor and sketch configurations per only available info and came up nada... Good luck... It is a veritable Chinese puzzle....

                          D Offline
                          D Offline
                          Denverado
                          wrote on last edited by
                          #32

                          @zboblamont I don't have a problem with my sensor. It works perfectly. It just casts a really wide beam. I'm estimating around 60 degrees!!! Has anyone tried changing the variable inductor on the unit to see if the beam can be narrowed?? Or does anyone have a schematic of the unit, as I have a friend who is an electrical engineer and might be able to help?

                          zboblamontZ 1 Reply Last reply
                          0
                          • zboblamontZ zboblamont

                            @Denverado If this is a JSN-SR04T-2.0, as @Boots33 has already alluded to, now is a good time to take up religion. Spent a further 5 hours this afternoon trying all manner of variations of pullup resistor and sketch configurations per only available info and came up nada... Good luck... It is a veritable Chinese puzzle....

                            D Offline
                            D Offline
                            Denverado
                            wrote on last edited by
                            #33

                            @zboblamont I got mine to work by following the instructions from this guy. I also found the following drawing. here. So my therory is if you change the variable inductor. You should be able to narrow the beam..... just a therory. If someone wants to try it... im happy to hear the results.

                            D zboblamontZ 2 Replies Last reply
                            1
                            • D Denverado

                              @zboblamont I got mine to work by following the instructions from this guy. I also found the following drawing. here. So my therory is if you change the variable inductor. You should be able to narrow the beam..... just a therory. If someone wants to try it... im happy to hear the results.

                              D Offline
                              D Offline
                              Denverado
                              wrote on last edited by
                              #34

                              @Boots33 Sorry mate I have kind of taken over your thread! The project looks great. I might have to try the same sensor as you.

                              Boots33B 1 Reply Last reply
                              0
                              • D Denverado

                                @Boots33 Sorry mate I have kind of taken over your thread! The project looks great. I might have to try the same sensor as you.

                                Boots33B Offline
                                Boots33B Offline
                                Boots33
                                Hero Member
                                wrote on last edited by
                                #35

                                @Denverado Not to worry, I like the use of the voltage divider in the article you linked to. Always room for more ideas.

                                1 Reply Last reply
                                0
                                • D Denverado

                                  @zboblamont I don't have a problem with my sensor. It works perfectly. It just casts a really wide beam. I'm estimating around 60 degrees!!! Has anyone tried changing the variable inductor on the unit to see if the beam can be narrowed?? Or does anyone have a schematic of the unit, as I have a friend who is an electrical engineer and might be able to help?

                                  zboblamontZ Offline
                                  zboblamontZ Offline
                                  zboblamont
                                  wrote on last edited by
                                  #36

                                  @Denverado For clarity, you mentioned previously your sensor was the JSN-SR04T, I was referring to it's modern incarnation the JSN-SR04T-2.0. Although advertised as the former, it was the latter which was delivered. Another guy found no problem with the original either, until he got the 2.0, which seems to be a bit of an enigma.

                                  D 1 Reply Last reply
                                  0
                                  • zboblamontZ zboblamont

                                    @Denverado For clarity, you mentioned previously your sensor was the JSN-SR04T, I was referring to it's modern incarnation the JSN-SR04T-2.0. Although advertised as the former, it was the latter which was delivered. Another guy found no problem with the original either, until he got the 2.0, which seems to be a bit of an enigma.

                                    D Offline
                                    D Offline
                                    Denverado
                                    wrote on last edited by
                                    #37

                                    @zboblamont I have the 2.0 as well.

                                    zboblamontZ 1 Reply Last reply
                                    0
                                    • D Denverado

                                      @zboblamont I have the 2.0 as well.

                                      zboblamontZ Offline
                                      zboblamontZ Offline
                                      zboblamont
                                      wrote on last edited by
                                      #38

                                      @Denverado The puzzle continues then... I could not get it to work at all even having read through your linked post and meticulously following every step. All very strange...

                                      1 Reply Last reply
                                      0
                                      • D Denverado

                                        @zboblamont I got mine to work by following the instructions from this guy. I also found the following drawing. here. So my therory is if you change the variable inductor. You should be able to narrow the beam..... just a therory. If someone wants to try it... im happy to hear the results.

                                        zboblamontZ Offline
                                        zboblamontZ Offline
                                        zboblamont
                                        wrote on last edited by
                                        #39

                                        @Denverado I would intrigued if the electrical configuration of a transducer could influence it's formation of an ultrasonic cone as I understood this to be down to the emitting diaphragm thereby physical), but my only experience of ultrasonics was in the water industry where we would confine the transducer in a pipe to negate offside reflections to measure distance to a surface. The objective was to hit still fluid which was the shortest echo path back to the receiver. The shortest route was the trigger....

                                        1 Reply Last reply
                                        0
                                        • Huw ThomasH Offline
                                          Huw ThomasH Offline
                                          Huw Thomas
                                          wrote on last edited by
                                          #40

                                          I've been searching online for a project like this and it looks great. I'm doing something similar with an oil tank and have everything up and running, but the sketch I'm using is really basic, it just returns distance to oil level. Is it possible to change your sketch to allow for a rectangular tank, rather than cylindrical?! I'm an absolute beginner when it comes to coding unfortunately so any advice would be great. Thanks.

                                          zboblamontZ gohanG 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          10

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

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