Page 1 of 1

Re: ORP calibration with 220mV fluid

Posted: Sun Jun 30, 2013 12:38 pm
by lnevo
Ok, I started a branch and added in all the framework to do the flexible orp calibration... now the function just needs to be written.

I have to back out a little bit because it's quite a large function with lots of drawing, etc. Maybe phrusher wants to get involved :) or if anyone else wants to give it a try, you can checkout the flexOrp branch on my repo

https://github.com/lnevo/Libraries/tree/flexOrp

Re: ORP calibration with 220mV fluid

Posted: Mon Jul 01, 2013 6:46 am
by coolbird
lnevo wrote:Ok, I started a branch and added in all the framework to do the flexible orp calibration... now the function just needs to be written.

I have to back out a little bit because it's quite a large function with lots of drawing, etc. Maybe phrusher wants to get involved :) or if anyone else wants to give it a try, you can checkout the flexOrp branch on my repo

https://github.com/lnevo/Libraries/tree/flexOrp
Thank you for your assistance :-)

Re: ORP calibration with 220mV fluid

Posted: Tue Nov 26, 2013 9:25 am
by Graham2212
Any luck with an update on this?

Re: ORP calibration with 220mV fluid

Posted: Tue Nov 26, 2013 6:14 pm
by lnevo
Not really. I think if roberto can answer its easy enough to manually modify. Its a lot of work i dont have time for to create the screens for flex orp calibration. Sorry :( maybe someone else can pitch in and pick it up but not sure how close the framework is since i did it a few versions ago..

Re: ORP calibration with 220mV fluid

Posted: Tue Nov 26, 2013 6:32 pm
by rimai
For manual edit, there files that need to be modified is a different one.
In the new libraries, you actually need to update the file ReefAngel_1.5_LCD.h located in \Documents\Arduino\Libraries\ReefAngel
Look for the line 3786 and change this:

Code: Select all

	unsigned int iCal[2] = {0,470};
To this:

Code: Select all

	unsigned int iCal[2] = {0,220};
Then open ReefAngel.cpp located in the same folder and look for line 583 and change this:

Code: Select all

		Params.ORP=map(Params.ORP, ORPMin, ORPMax, 0, 470); // apply the calibration to the sensor reading
To this:

Code: Select all

		Params.ORP=map(Params.ORP, ORPMin, ORPMax, 0, 220); // apply the calibration to the sensor reading

Re: ORP calibration with 220mV fluid

Posted: Mon Jan 15, 2018 9:41 am
by rrodriguess
Roberto

Any loss (precision or somethong else) calibrating with a 220mv instead of 470mv? What about 400mv?

Just to understand our options here.

Best regards
Rafa

Re: ORP calibration with 220mV fluid

Posted: Mon Jan 15, 2018 10:42 am
by rimai
Yes, you will get twice less resolution.

Re: ORP calibration with 220mV fluid

Posted: Mon Jan 15, 2018 1:02 pm
by rrodriguess
Simple as that..

tks Roberto

Re: ORP calibration with 220mV fluid

Posted: Mon Jan 15, 2018 1:43 pm
by rimai
Actually, no. You should be fine as long as you know the readings would be about half of what RA is showing.