ORP calibration with 220mV fluid

User avatar
Posts: 5361
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Sun Jun 30, 2013 12:38 pm
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: 90
Joined: Thu Apr 18, 2013 2:16 am
Location: Stockport, Cheshire, UK
PostPosted: Mon Jul 01, 2013 6:46 am
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 :-)
Image

Posts: 21
Joined: Wed Mar 27, 2013 2:58 am
Location: Johannesburg, South Africa
PostPosted: Tue Nov 26, 2013 9:25 am
Any luck with an update on this?
User avatar
Posts: 5361
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Tue Nov 26, 2013 6:14 pm
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..

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Nov 26, 2013 6:32 pm
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
Roberto.

Posts: 133
Joined: Sun Mar 09, 2014 11:01 am
Location: Santos - Brazil
PostPosted: Mon Jan 15, 2018 9:41 am
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
Image

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Jan 15, 2018 10:42 am
Yes, you will get twice less resolution.
Roberto.

Posts: 133
Joined: Sun Mar 09, 2014 11:01 am
Location: Santos - Brazil
PostPosted: Mon Jan 15, 2018 1:02 pm
Simple as that..

tks Roberto
Image

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Mon Jan 15, 2018 1:43 pm
Actually, no. You should be fine as long as you know the readings would be about half of what RA is showing.
Roberto.
Previous

Return to Ask anything here

Who is online

Users browsing this forum: No registered users and 2 guests