documentation on PhMin, PhMax

Do you have a question on how to do something.
Ask in here.
Post Reply
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

documentation on PhMin, PhMax

Post by rossbryant1956 »

Is there any documentation on using these hard-coded (in the code) values? I am also wondering about values for the secondary Ph, as well as the Salinity expansion.

Since my rebuild my main pH is doing much better but while my ph expansion worked great for a while but now is back in the 9's, my salinity probe no longer has big swings but still moves between 33 and 30 in 4-5 hour swings.

My question would be whether if I had these preset values would my probes fluctuate between the presets or would something else happen. Thx
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: documentation on PhMin, PhMax

Post by rimai »

These values are just the 2 points for the linear interpolation.
pH reading is very linear, so you can use only 2 points to find any other point in between those two.
http://en.wikipedia.org/wiki/Linear_interpolation
If you move them, all you are going to be doing is also be shifting the displayed reading up or down depending on where you move those two points to.
Roberto.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: documentation on PhMin, PhMax

Post by rossbryant1956 »

My thought is that if I set the basic calibrated values in the code of both pH, pHExp, and potentially even Salinity then and fluctuations of those values will move within those ranges. As stated previously, I am pretty happy right now with regular pH (since the rebuild) but pHExp continues to elude me.

Will this work?
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: documentation on PhMin, PhMax

Post by rimai »

I'm not following.
Roberto.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: documentation on PhMin, PhMax

Post by rossbryant1956 »

if I put my calibrated values in my code for both ph and ph ext will my probes then fluctuate between those two numbers?

I am not code-smart enough to understand this but I think my stored in memory values for these calibrated values is getting corrupted somehow. There is no reason for my pHExp value to be reading perfectly one week, RA lock up or something, and now it is reading in the middle 9's

I tested extensively for stray voltage (none), and while my salinity probe works occasionally the every 4 -5 hour slide doesn't make any sense. Any help or ideas appreciated
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: documentation on PhMin, PhMax

Post by rimai »

I'm looking at your chart now. Can you place the salinity probe in a cup with tank water and leave there for a day?
I'd like to see what it does.
What do you do to bring the reading back up when it slides down?
Do you have bubbles where the salinity probe is located?
Let's modify your code a bit to check something else.
Please replace this from your code:

Code: Select all

ReefAngel.Portal("rossbryant1956");
ReefAngel.ShowInterface();
With this:

Code: Select all

ReefAngel.ShowInterface();
ReefAngel.Params.ORP=ReefAngel.PH.Read();
ReefAngel.Portal("rossbryant1956");
Let it create history for the next couple days.
Roberto.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: documentation on PhMin, PhMax

Post by rossbryant1956 »

okay. made the changes.

- moved salinity probe to cup of tank water beside tank
- added lines to code as suggested and uploaded.

Be advised the pHExt probe is in a separate tank not plumbed to the main tank.
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: documentation on PhMin, PhMax

Post by rimai »

Ok, so looking at the graphs for the past couple days, we can see that everything has been pretty stable.
The pH expansion only needs to have the calibration values changed, cause it is reporting stable readings.
The salinity is also solid. Can you put back into your tank?
Just make sure this time, it goes into a place with no air bubbles.
Roberto.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: documentation on PhMin, PhMax

Post by rossbryant1956 »

1. can you tell me what you were doing with the ORP calculation you were looking at?
2. What could have caused the pH Ext to blow it's calibration? It was just calibrated within the last two weeks, ran beautifully, then just changed. This is why I asked about hard-coded calibration values
3. I'll move the salinity probe back in but have already moved it all over the sump seeking a better home...this thing is more finicky than my big anemone. ;>
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: documentation on PhMin, PhMax

Post by rimai »

The ORP values I was using to store the raw readings from your ph expansion module, before they were interpolated to ph values. You can definitely hard code them:

Code: Select all

ReefAngel.PHExpMin = 500;
ReefAngel.PHExpMax = 2500;
Please note that you must enter your own calibration numbers in above.
Roberto.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: documentation on PhMin, PhMax

Post by rossbryant1956 »

Take a look at my salinity chart today. MUCH better but it still moves between 35.1 and 30.1 and back every 45 minutes. Just seems too programmatic but be normal tank fluctuations. Haven't done the PHMinMax stuff yet. Thx for your help.
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: documentation on PhMin, PhMax

Post by rimai »

What do you do to bring it back to 35?
Do you have filter floss, or sock that you can wrap the probe with?
I'm curious to see what happens to the readings. The idea is to prevent any bubble to reach the tip and yet let the water pass through.
Roberto.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: documentation on PhMin, PhMax

Post by rossbryant1956 »

Thats the thing, I don't touch it....it just sits in the sump going back and forth, back and forth. I'll see about wrapping it in something asap. Thx
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
bencollinz
Posts: 140
Joined: Wed Mar 13, 2013 5:36 pm

Re: documentation on PhMin, PhMax

Post by bencollinz »

I would honestly assume it's micro bubbles. I had the same issue with my own thread on the matter affecting PH and SAL and it was micro bubbles. I just turned the probes upside down in my sump, problem solved. hopefully it's something that simple for you.
Image
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: documentation on PhMin, PhMax

Post by rossbryant1956 »

Wow, really? Upside down? Cool. I'll try it.
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
Post Reply