Hi, here in the UK, it is very difficult (and expensive) to get hold of 470mv cal solution.
However, 400mv solution is easy to obtain and cheap!
So, how can I change the calibration so that I can calibrate with the 400mv solution, as I am sure it must be possible!
Look forward to your replies!
ORP Calibration using 400mv cal solution - is it possible?
Re: ORP Calibration using 400mv cal solution - is it possibl
It's embedded in the libraries, but if you want to change it, you can.
The issue is that everytime libraries get updated, it will revert back to 470.
But, I don't think you will be calibrating that many times either...
It's inside ReefAngel.cpp line 3636
And line 757
The issue is that everytime libraries get updated, it will revert back to 470.
But, I don't think you will be calibrating that many times either...
It's inside ReefAngel.cpp line 3636
Code: Select all
unsigned int iCal[2] = {0,470};
Code: Select all
Params.ORP=map(Params.ORP, ORPMin, ORPMax, 0, 470); // apply the calibration to the sensor reading
Roberto.
Re: ORP Calibration using 400mv cal solution - is it possibl
Thats cool, no problem.
May be a silly question, but how do I open and edit the reef angel.cpp file??!!
May be a silly question, but how do I open and edit the reef angel.cpp file??!!
Re: ORP Calibration using 400mv cal solution - is it possibl
any plain text editor.
Even notepad works
Even notepad works
Roberto.
Re: ORP Calibration using 400mv cal solution - is it possibl
Got it & Sorted!!
That was easy!!
That was easy!!
Re: ORP Calibration using 400mv cal solution - is it possibl
Ok, edited the .cpp file fine, recompiled and uploaded, but cal value still showing as 470mv?
I have double checked and the reef angel.cpp file has def been changed to 400mv instead of 470mv.
Do I need to do something to force the change into the compiler?
I have double checked and the reef angel.cpp file has def been changed to 400mv instead of 470mv.
Do I need to do something to force the change into the compiler?
Re: ORP Calibration using 400mv cal solution - is it possibl
No, it should take it if the minute the file is saved.
I just tested and worked for me.
The ReefAngel.cpp file is located at Documents\Arduino\libraries\ReefAngel
I just tested and worked for me.
The ReefAngel.cpp file is located at Documents\Arduino\libraries\ReefAngel
Roberto.
Re: ORP Calibration using 400mv cal solution - is it possibl
Sorted, for some reason I see to have 2 groups of files - I changed the reef angel.cpp that was in applications on my mac, but didnt work as above. However, when I changed as in the file path from documents, now works!!