Round water tank level sensor
-
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. -
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.
@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?
-
@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?
@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.
-
@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.
@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?
-
@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?
@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.
-
@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.
-
very interesting and another Aussie, QLDer here
-
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.
-
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.
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.
-
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.
-
@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!@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....
-
@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....
@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?
-
@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....
@zboblamont I got mine to work by following the instructions from this guy. I also found the following drawing.
. 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.
-
@zboblamont I got mine to work by following the instructions from this guy. I also found the following drawing.
. 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.
-
@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.
@Denverado Not to worry, I like the use of the voltage divider in the article you linked to. Always room for more ideas.
-
@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?
@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.
-
@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.
@zboblamont I have the 2.0 as well.
-
@zboblamont I have the 2.0 as well.
@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...
-
@zboblamont I got mine to work by following the instructions from this guy. I also found the following drawing.
. 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.
@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....
-
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.