ORP calibration with 220mV fluid
Re: ORP calibration with 220mV fluid
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
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
Thank you for your assistancelnevo 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
-
- Posts: 21
- Joined: Wed Mar 27, 2013 2:58 am
- Location: Johannesburg, South Africa
Re: ORP calibration with 220mV fluid
Any luck with an update on this?
Re: ORP calibration with 220mV fluid
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
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:
To this:
Then open ReefAngel.cpp located in the same folder and look for line 583 and change this:
To this:
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};
Code: Select all
unsigned int iCal[2] = {0,220};
Code: Select all
Params.ORP=map(Params.ORP, ORPMin, ORPMax, 0, 470); // apply the calibration to the sensor reading
Code: Select all
Params.ORP=map(Params.ORP, ORPMin, ORPMax, 0, 220); // apply the calibration to the sensor reading
Roberto.
-
- Posts: 132
- Joined: Sun Mar 09, 2014 11:01 am
- Location: Santos - Brazil
Re: ORP calibration with 220mV fluid
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
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
-
- Posts: 132
- Joined: Sun Mar 09, 2014 11:01 am
- Location: Santos - Brazil
Re: ORP calibration with 220mV fluid
Simple as that..
tks Roberto
tks Roberto
Re: ORP calibration with 220mV fluid
Actually, no. You should be fine as long as you know the readings would be about half of what RA is showing.
Roberto.