Water level pipe

Post Reply
Ismaclst
Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm

Water level pipe

Post by Ismaclst »

I know that the manual says the max length of the pipe is 15". What would happen if I made it around 22" or 24"? Would it not calibrate correctly?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water level pipe

Post by rimai »

You should be able to achieve that without any problems.
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Water level pipe

Post by Sacohen »

Roberto;

Don't you have to change some code in the Water Level.cpp?

This is from the Water Level's Limitations thread http://forum.reefangel.com/viewtopic.ph ... imitations
rimai wrote:I still have not had the time to test it, but by looking at the libraries, you can try changing the gain.
Line 55 of WaterLevel.cpp
Change this:

Code: Select all

	addr+=0x03; // Programmable Gain
To this:

Code: Select all

	addr+=0x01; // Programmable Gain
Let me know if this helps.
Or has this been changed in recent library updates?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water level pipe

Post by rimai »

That's for when you use extra long pipe. I think for that size, it is not necessary.
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Water level pipe

Post by Sacohen »

rrodriguez was using a 23" tube in that other post and lsmsclst is taking about using a 22" or 24" tube.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Water level pipe

Post by rimai »

I still think that for that length the gain change is not needed, but further test needs to be done.
Just dip the entire pipe in water and watch what the calibration number is like. If it tops up, you will need to change the gain.
Roberto.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Water level pipe

Post by Sacohen »

Ok. Just double checking for when I start to setup my ATO & NSW system.
Ismaclst
Posts: 250
Joined: Wed Jan 28, 2015 5:17 pm

Re: Water level pipe

Post by Ismaclst »

I will try it tonight and let you know.
Image
rrodriguess
Posts: 133
Joined: Sun Mar 09, 2014 11:01 am
Location: Santos - Brazil

Re: Water level pipe

Post by rrodriguess »

Hy there

I use a 23'' (give or take), but I had to change the gain value on line 55 of WaterLevel.cpp, otherwise the reading gets nuts.

After that.. works perfectly

Rafa
Image
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Water level pipe

Post by Sacohen »

Thanks Rafa that is the way I read it.
Post Reply