Libelium Plug & Sense Smart water ions erroneous

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Libelium Plug & Sense Smart water ions erroneous

Post by libelium-dev » Tue Aug 28, 2018 2:09 pm

Please, use a reference probe too. Reference probe have connected in socket D and PH sensor in socket A (as i can see in your code), both probes need to be inserted in the same liquid at the same time.

After you can try again the calibration process. Please, share your results.

Regards,

varsha6006
Posts: 15
Joined: Thu Mar 01, 2018 5:21 pm
Company: Birminghamcity univ

Re: Libelium Plug & Sense Smart water ions erroneous

Post by varsha6006 » Thu Aug 30, 2018 4:16 pm

Hi,

I tried with ph solution 7.0 and this is the results after 3 hours of calibarartion.
Could you please help me ? Will it be some issue with the sensor?

pH value: 2.7121875286volts | temperature: 21.6194763183degrees | pH Estimated: 3.8970437049
pH value: 2.7121305465volts | temperature: 21.6713867187degrees | pH Estimated: 3.8974411010
pH value: 2.7122159004volts | temperature: 21.6716613769degrees | pH Estimated: 3.8970605850
pH value: 2.7012877464volts | temperature: 21.7420959472degrees | pH Estimated: 3.9460968971
pH value: 2.6993513107volts | temperature: 21.7254333496degrees | pH Estimated: 3.9547066688
pH value: 2.6981389522volts | temperature: 21.7744445800degrees | pH Estimated: 3.9602573394
pH value: 2.6995911598volts | temperature: 21.7579650878degrees | pH Estimated: 3.9537224769
pH value: 2.7000675201volts | temperature: 21.7585449218degrees | pH Estimated: 3.9515951156
pH value: 2.6999666690volts | temperature: 21.7247924804degrees | pH Estimated: 3.9519546508
pH value: 2.6953108310volts | temperature: 21.7413024902degrees | pH Estimated: 3.9728080749
pH value: 2.6993637084volts | temperature: 21.7240295410degrees | pH Estimated: 3.9546472549
pH value: 2.7004430294volts | temperature: 21.7240295410degrees | pH Estimated: 3.9498233795
pH value: 2.7008407115volts | temperature: 21.6901550292degrees | pH Estimated: 3.9479541778
pH value: 2.7039484977volts | temperature: 21.7413024902degrees | pH Estimated: 3.9342026710
pH value: 2.7001533508volts | temperature: 21.7582397460degrees | pH Estimated: 3.9512107849
pH value: 2.7001199722volts | temperature: 21.7253112792degrees | pH Estimated: 3.9512708663
pH value: 2.7002162933volts | temperature: 21.7752990722degrees | pH Estimated: 3.9509754180
pH value: 2.7002844810volts | temperature: 21.7573852539degrees | pH Estimated: 3.9506220817
pH value: 2.7002549171volts | temperature: 21.7243347167degrees | pH Estimated: 3.9506649971
pH value: 2.7001199722volts | temperature: 21.7756958007degrees | pH Estimated: 3.9514069557
pH value: 2.7003126144volts | temperature: 21.7240295410degrees | pH Estimated: 3.9504062652
pH value: 2.7002499103volts | temperature: 21.7931213378degrees | pH Estimated: 3.9508733749
pH value: 2.7003126144volts | temperature: 21.7429809570degrees | pH Estimated: 3.9504575729
pH value: 2.7005000114volts | temperature: 21.7758178710degrees | pH Estimated: 3.9497089385
pH value: 2.7003469467volts | temperature: 21.7255859375degrees | pH Estimated: 3.9502571105
pH value: 2.7003750801volts | temperature: 21.7756958007degrees | pH Estimated: 3.9502668380
pH value: 2.7003750801volts | temperature: 21.7594299316degrees | pH Estimated: 3.9502229690
pH value: 2.7003211975volts | temperature: 21.7584838867degrees | pH Estimated: 3.9504611968
pH value: 2.7004091739volts | temperature: 21.7585449218degrees | pH Estimated: 3.9500682830
pH value: 2.7003173828volts | temperature: 21.7758178710degrees | pH Estimated: 3.9505250930
pH value: 2.7003405094volts | temperature: 21.7923583984degrees | pH Estimated: 3.9504663467
pH value: 2.6999166011volts | temperature: 21.7759399414degrees | pH Estimated: 3.9523164749
pH value: 2.7005331516volts | temperature: 21.7585449218degrees | pH Estimated: 3.9495141983
pH value: 2.7005000114volts | temperature: 21.8271789550degrees | pH Estimated: 3.9498479843
pH value: 2.7004086971volts | temperature: 21.7589111328degrees | pH Estimated: 3.9500713348
pH value: 2.7004375457volts | temperature: 21.7758178710degrees | pH Estimated: 3.9499881744
pH value: 2.7004375457volts | temperature: 21.7755737304degrees | pH Estimated: 3.9499872207
pH value: 2.7005624771volts | temperature: 21.7922668457degrees | pH Estimated: 3.9494741439
pH value: 2.7004668712volts | temperature: 21.7931213378degrees | pH Estimated: 3.9499036788
pH value: 2.7003462314volts | temperature: 21.7597656250degrees | pH Estimated: 3.9503526687
pH value: 2.7005908489volts | temperature: 21.7419738769degrees | pH Estimated: 3.9492113113
pH value: 2.7005338668volts | temperature: 21.7759399414degrees | pH Estimated: 3.9495577812
pH value: 2.7004957199volts | temperature: 21.7585449218degrees | pH Estimated: 3.9496812820
pH value: 2.7003750801volts | temperature: 21.7424926757degrees | pH Estimated: 3.9501770019
pH value: 2.7004430294volts | temperature: 21.7758178710degrees | pH Estimated: 3.9499635696
pH value: 2.7005963325volts | temperature: 21.7773742675degrees | pH Estimated: 3.9492824554
pH value: 2.7007544040volts | temperature: 21.7766113281degrees | pH Estimated: 3.9485740661
pH value: 2.7006249427volts | temperature: 21.8111877441degrees | pH Estimated: 3.9492462158
pH value: 2.7006874084volts | temperature: 21.7933654785degrees | pH Estimated: 3.9489185333
pH value: 2.7006874084volts | temperature: 21.7758178710degrees | pH Estimated: 3.9488714218
pH value: 2.7006874084volts | temperature: 21.8104248046degrees | pH Estimated: 3.9489650726
pH value: 2.7005624771volts | temperature: 21.8441772460degrees | pH Estimated: 3.9496145248
pH value: 2.7005624771volts | temperature: 21.8443908691degrees | pH Estimated: 3.9496152877
pH value: 2.7005281448volts | temperature: 21.8448791503degrees | pH Estimated: 3.9497697830
pH value: 2.7004034519volts | temperature: 21.8104248046degrees | pH Estimated: 3.9502342224
pH value: 2.7006874084volts | temperature: 21.8107299804degrees | pH Estimated: 3.9489658355
pH value: 2.7007160186volts | temperature: 21.7938232421degrees | pH Estimated: 3.9487919807
pH value: 2.7019379138volts | temperature: 21.7766113281degrees | pH Estimated: 3.9432845115
pH value: 2.7011826038volts | temperature: 21.8269958496degrees | pH Estimated: 3.9467966079
pH value: 2.7007837295volts | temperature: 21.8100585937degrees | pH Estimated: 3.9485335350
pH value: 2.7009656429volts | temperature: 21.7932739257degrees | pH Estimated: 3.9476749420
pH value: 2.7010674476volts | temperature: 21.8104858398degrees | pH Estimated: 3.9472665786
pH value: 2.7009093761volts | temperature: 21.8114318847degrees | pH Estimated: 3.9479756355
pH value: 2.7009656429volts | temperature: 21.8449401855degrees | pH Estimated: 3.9478149414
pH value: 2.7009036540volts | temperature: 21.7760620117degrees | pH Estimated: 3.9479055404
pH value: 2.7008461952volts | temperature: 21.8443908691degrees | pH Estimated: 3.9483472824
pH value: 2.7006874084volts | temperature: 21.7938232421degrees | pH Estimated: 3.9489200592
pH value: 2.7010624408volts | temperature: 21.7585449218degrees | pH Estimated: 3.9471485137
pH value: 2.7009375095volts | temperature: 21.8278503417degrees | pH Estimated: 3.9478942871
pH value: 2.7009665966volts | temperature: 21.8106384277degrees | pH Estimated: 3.9477176666
pH value: 2.7009091377volts | temperature: 21.8447875976degrees | pH Estimated: 3.9480669021
pH value: 2.7008125782volts | temperature: 21.8433837890degrees | pH Estimated: 3.9484947204
pH value: 2.7009043693volts | temperature: 21.8781127929degrees | pH Estimated: 3.9481784820
pH value: 2.7010340690volts | temperature: 21.8623962402degrees | pH Estimated: 3.9475563049
pH value: 2.7005956172volts | temperature: 21.8441772460degrees | pH Estimated: 3.9494665145
pH value: 2.7014374732volts | temperature: 21.8107299804degrees | pH Estimated: 3.9456136703
pH value: 2.7008521556volts | temperature: 21.8449401855degrees | pH Estimated: 3.9483221054
pH value: 2.7009155750volts | temperature: 21.8796997070degrees | pH Estimated: 3.9481327056
pH value: 2.7006919384volts | temperature: 21.9114990234degrees | pH Estimated: 3.9492179870
pH value: 2.7008750438volts | temperature: 21.8959655761degrees | pH Estimated: 3.9483577728
pH value: 2.7009041309volts | temperature: 21.8466796875degrees | pH Estimated: 3.9480943679
pH value: 2.7025680541volts | temperature: 21.8643188476degrees | pH Estimated: 3.9407062530
pH value: 2.6946537494volts | temperature: 21.8449401855degrees | pH Estimated: 3.9760227203
pH value: 2.7025856971volts | temperature: 21.8959655761degrees | pH Estimated: 3.9407131195
pH value: 2.7009086608volts | temperature: 21.8969116210degrees | pH Estimated: 3.9482102394
pH value: 2.7008590698volts | temperature: 21.8601379394degrees | pH Estimated: 3.9483320236


[PH SENSOR IS CONNECTED INTO THE SOCKET C AND REFERENCE SENSOR INTO SOCKET E AND TEMPERATURE SENSOR INTO THE CORRESPONDING SOCKET. CHARGE OF THE BOARD IS SHOWING 100%]
The used code is as below:

#include <smartWaterIons.h>
// Calibration values
#define cal_point_10 1.150
#define cal_point_7 2.018
#define cal_point_4 2.687

// Temperature at which calibration was carried out
#define cal_temp 18.0
ionSensorClass pHSensor(SOCKET_C);
//socket1Class pHSensor; //<------ Define the connection SOCKET
pt1000Class temperatureSensor;

void setup()
{
// Configure the calibration points
pHSensor.setpHCalibrationPoints(cal_point_10, cal_point_7, cal_point_4, cal_temp);

// Turn ON the Smart Water Ions Sensor Board and start the USB
SWIonsBoard.ON();
USB.ON();
}
void loop()
{
// Read the pH sensor
float pHVoltage = pHSensor.read();

// Read the temperature sensor
float temperature = temperatureSensor.read();

// Print the output values
USB.print(F("pH value: "));
USB.print(pHVoltage);
USB.print(F("volts | "));

USB.print(F(" temperature: "));
USB.print(temperature);
USB.print(F("degrees | "));

// Convert the value read with the information obtained in calibration
float pHValue = pHSensor.pHConversion(pHVoltage, temperature);
USB.print(F(" pH Estimated: "));
USB.println(pHValue);
}

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Libelium Plug & Sense Smart water ions erroneous

Post by libelium-dev » Fri Aug 31, 2018 8:25 am

Hi,

What is the problem? You have a steady value in 2,700 and if you have get this point with PH 7.0 calibration solution, you have one point, and need two more (4.0 and 10.0)

You not need 3 hours of calibration process, when you see that values are steady, you can stop. Ph sensor is faster and he sensor could get steady values in 10 minutes.

When you finish the calibration process, you need put the new values in the code. Please, read the guide.

Regards,

varsha6006
Posts: 15
Joined: Thu Mar 01, 2018 5:21 pm
Company: Birminghamcity univ

Re: Libelium Plug & Sense Smart water ions erroneous

Post by varsha6006 » Mon Sep 03, 2018 11:49 am

Hi,

I am sorry to bother you again. I am aware about the steady value (volts) in 2,700 and putting the new steady value in codes as mentioned in the technical guide, but my query is that my pH estimated is showing 3.9 something on the calibration solution 7.0. That is what my question is and the reason that I am concerned whether there is some issue with the ph sensor or reference sensor. Hope you understood my query.

Thanks and regards

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Libelium Plug & Sense Smart water ions erroneous

Post by libelium-dev » Mon Sep 03, 2018 4:47 pm

Do you have 3.9 value after finishing the calibration process with the 3 bottles and copy the volts in the code?

Regards

varsha6006
Posts: 15
Joined: Thu Mar 01, 2018 5:21 pm
Company: Birminghamcity univ

Re: Libelium Plug & Sense Smart water ions erroneous

Post by varsha6006 » Thu Sep 06, 2018 12:22 pm

Thankyou libelium. Isuues are sorted out. Thanks for your support.

Regards

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Libelium Plug & Sense Smart water ions erroneous

Post by libelium-dev » Thu Sep 06, 2018 12:35 pm

You're welcome!

varsha6006
Posts: 15
Joined: Thu Mar 01, 2018 5:21 pm
Company: Birminghamcity univ

Re: Libelium Plug & Sense Smart water ions erroneous

Post by varsha6006 » Thu Sep 13, 2018 12:25 pm

Hi Libelium,
I have calibarated using the solution and got 3 voltage values[2.107,3.127,2.704] and updated in the code. I tried to test just the tap water and this is the output I received..My question is where should I stop and which ph estimated reading should I take as the second and third decimal places(volts) is not reaching to a stable value and the estimated ph keeps on increasing..Please help

pH value: 2.7575278282volts | temperature: 21.6376647949degrees | pH Estimated: 6.6295456886
pH value: 2.7579088211volts | temperature: 21.6373901367degrees | pH Estimated: 6.6268587112
pH value: 2.7573125362volts | temperature: 21.6207275390degrees | pH Estimated: 6.6310553550
pH value: 2.7564034461volts | temperature: 21.6203918457degrees | pH Estimated: 6.6374669075
pH value: 2.7555000782volts | temperature: 21.6025085449degrees | pH Estimated: 6.6438288688
pH value: 2.7544088363volts | temperature: 21.6547851562degrees | pH Estimated: 6.6515507698
pH value: 2.7532451152volts | temperature: 21.6712951660degrees | pH Estimated: 6.6597657203
pH value: 2.7523081302volts | temperature: 21.6549072265degrees | pH Estimated: 6.6663656234
pH value: 2.7513749599volts | temperature: 21.6542358398degrees | pH Estimated: 6.6729464530
pH value: 2.7504036426volts | temperature: 21.6373291015degrees | pH Estimated: 6.6797890663
pH value: 2.7497785091volts | temperature: 21.6203918457degrees | pH Estimated: 6.6841902732
pH value: 2.7489044666volts | temperature: 21.6203918457degrees | pH Estimated: 6.6903548240
pH value: 2.7483124732volts | temperature: 21.6537170410degrees | pH Estimated: 6.6945443153
pH value: 2.7480285167volts | temperature: 21.6549072265degrees | pH Estimated: 6.6965470314
pH value: 2.7470912933volts | temperature: 21.6211547851degrees | pH Estimated: 6.7031426429
pH value: 2.7462162971volts | temperature: 21.6037902832degrees | pH Estimated: 6.7093067169
pH value: 2.7454712390volts | temperature: 21.6715087890degrees | pH Estimated: 6.7145886421
pH value: 2.7446875572volts | temperature: 21.6878967285degrees | pH Estimated: 6.7201218605
pH value: 2.7438750267volts | temperature: 21.6549072265degrees | pH Estimated: 6.7258391380
pH value: 2.7431583404volts | temperature: 21.6393737792degrees | pH Estimated: 6.7308874130
pH value: 2.7424719333volts | temperature: 21.6727905273degrees | pH Estimated: 6.7357406616
pH value: 2.7416875362volts | temperature: 21.6378173828degrees | pH Estimated: 6.7412600517
pH value: 2.7409999370volts | temperature: 21.6376647949degrees | pH Estimated: 6.7461090087
pH value: 2.7400574684volts | temperature: 21.6364440917degrees | pH Estimated: 6.7527556419
pH value: 2.7392838001volts | temperature: 21.6383361816degrees | pH Estimated: 6.7582125663
pH value: 2.7384665012volts | temperature: 21.6894836425degrees | pH Estimated: 6.7639932632
pH value: 2.7376248836volts | temperature: 21.6210632324degrees | pH Estimated: 6.7699065208
pH value: 2.7369093894volts | temperature: 21.6542358398degrees | pH Estimated: 6.7749629020
pH value: 2.7360055446volts | temperature: 21.6896667480degrees | pH Estimated: 6.7813482284
pH value: 2.7353749275volts | temperature: 21.6880798339degrees | pH Estimated: 6.7857947349
pH value: 2.7346251010volts | temperature: 21.6715698242degrees | pH Estimated: 6.7910776138
pH value: 2.7337501049volts | temperature: 21.6722106933degrees | pH Estimated: 6.7972483634
pH value: 2.7329375743volts | temperature: 21.6717834472degrees | pH Estimated: 6.8029785156
pH value: 2.7320625782volts | temperature: 21.6735534667degrees | pH Estimated: 6.8091497421
pH value: 2.7312841415volts | temperature: 21.6894836425degrees | pH Estimated: 6.8146433830
pH value: 2.7305912971volts | temperature: 21.6383361816degrees | pH Estimated: 6.8195166587
pH value: 2.7298750877volts | temperature: 21.6715698242degrees | pH Estimated: 6.8245759010
pH value: 2.7291250228volts | temperature: 21.6898803710degrees | pH Estimated: 6.8298697471
pH value: 2.7283408641volts | temperature: 21.6894836425degrees | pH Estimated: 6.8353996276
pH value: 2.7275624275volts | temperature: 21.6725463867degrees | pH Estimated: 6.8408851623
pH value: 2.7269425392volts | temperature: 21.6722106933degrees | pH Estimated: 6.8452568054
pH value: 2.7259411811volts | temperature: 21.6889648437degrees | pH Estimated: 6.8523221015
pH value: 2.7251591682volts | temperature: 21.6551208496degrees | pH Estimated: 6.8578300476
pH value: 2.7242219448volts | temperature: 21.6549072265degrees | pH Estimated: 6.8644394874
pH value: 2.7232785224volts | temperature: 21.7062072753degrees | pH Estimated: 6.8711023330
pH value: 2.7226593494volts | temperature: 21.7074890136degrees | pH Estimated: 6.8754687309
pH value: 2.7219998836volts | temperature: 21.6376647949degrees | pH Estimated: 6.8801074028
pH value: 2.7213749885volts | temperature: 21.6725463867degrees | pH Estimated: 6.8845200538
pH value: 2.7208125591volts | temperature: 21.6549072265degrees | pH Estimated: 6.8884835243
pH value: 2.7201874256volts | temperature: 21.6209411621degrees | pH Estimated: 6.8928871154
pH value: 2.7196249961volts | temperature: 21.6551208496degrees | pH Estimated: 6.8968586921
pH value: 2.7190337181volts | temperature: 21.6557922363degrees | pH Estimated: 6.9010286331
pH value: 2.7186250686volts | temperature: 21.6737670898degrees | pH Estimated: 6.9039130210
pH value: 2.7180624008volts | temperature: 21.6543884277degrees | pH Estimated: 6.9078788757
pH value: 2.7174041271volts | temperature: 21.6551208496degrees | pH Estimated: 6.9125213623
pH value: 2.7170586585volts | temperature: 21.6384887695degrees | pH Estimated: 6.9149556159
pH value: 2.7163174152volts | temperature: 21.6722106933degrees | pH Estimated: 6.9201869964
pH value: 2.7156250476volts | temperature: 21.6723937988degrees | pH Estimated: 6.9250698089
pH value: 2.7149031162volts | temperature: 21.6893615722degrees | pH Estimated: 6.9301624298
pH value: 2.7142782211volts | temperature: 21.6722106933degrees | pH Estimated: 6.9345679283
pH value: 2.7138750553volts | temperature: 21.6557922363degrees | pH Estimated: 6.9374094009
pH value: 2.7133462429volts | temperature: 21.6553955078degrees | pH Estimated: 6.9411387443
pH value: 2.7127544879volts | temperature: 21.6891174316degrees | pH Estimated: 6.9453148841
pH value: 2.7122218608volts | temperature: 21.6723937988degrees | pH Estimated: 6.9490694999
pH value: 2.7115056514volts | temperature: 21.6378173828degrees | pH Estimated: 6.9541182518
pH value: 2.7112159729volts | temperature: 21.7059631347degrees | pH Estimated: 6.9561653137
pH value: 2.7107501029volts | temperature: 21.6722106933degrees | pH Estimated: 6.9594488143
pH value: 2.7103793621volts | temperature: 21.6887512207degrees | pH Estimated: 6.9620642662
pH value: 2.7098751068volts | temperature: 21.6896667480degrees | pH Estimated: 6.9656200408
pH value: 2.7095043659volts | temperature: 21.7069091796degrees | pH Estimated: 6.9682354927
pH value: 2.7091250419volts | temperature: 21.6377258300degrees | pH Estimated: 6.9709076881
pH value: 2.7087211608volts | temperature: 21.7404174804degrees | pH Estimated: 6.9737596511
pH value: 2.7082500457volts | temperature: 21.6887512207degrees | pH Estimated: 6.9770798683
pH value: 2.7079093456volts | temperature: 21.7067565917degrees | pH Estimated: 6.9794831275
pH value: 2.7074091434volts | temperature: 21.7240295410degrees | pH Estimated: 6.9830107688
pH value: 2.7070333957volts | temperature: 21.7240295410degrees | pH Estimated: 6.9856605529
pH value: 2.7065346240volts | temperature: 21.7067565917degrees | pH Estimated: 6.9891777038
pH value: 2.7062168121volts | temperature: 21.6558837890degrees | pH Estimated: 6.9914178848
pH value: 2.7059419155volts | temperature: 21.7243347167degrees | pH Estimated: 6.9933571815
pH value: 2.7054083347volts | temperature: 21.7410888671degrees | pH Estimated: 6.9971199035
pH value: 2.7057158946volts | temperature: 21.7055664062degrees | pH Estimated: 6.9949512481
pH value: 2.7049999237volts | temperature: 21.6886596679degrees | pH Estimated: 7.0000000000
pH value: 2.7045910358volts | temperature: 21.6894836425degrees | pH Estimated: 7.0020060539
pH value: 2.7041537761volts | temperature: 21.6894836425degrees | pH Estimated: 7.0041518211
pH value: 2.7042160034volts | temperature: 21.7067565917degrees | pH Estimated: 7.0038461685
pH value: 2.7038362026volts | temperature: 21.6893005371degrees | pH Estimated: 7.0057101249
pH value: 2.7034716606volts | temperature: 21.6897277832degrees | pH Estimated: 7.0074987411

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Libelium Plug & Sense Smart water ions erroneous

Post by libelium-dev » Fri Sep 14, 2018 8:49 am

Hi,

In the calibration process you should wait a fixed time for each point. For example, to wait for stable measurements 2 minutes for point 4, 7, 10. Then after calibration, you should wait 2 minutes to get the ph.

Regards

varsha6006
Posts: 15
Joined: Thu Mar 01, 2018 5:21 pm
Company: Birminghamcity univ

Re: Libelium Plug & Sense Smart water ions erroneous

Post by varsha6006 » Mon Sep 17, 2018 12:00 pm

Hi Libelium,
I didn't get you. I have already done the calibaration and got 3 voltage values using the 3 calibaration solutions 10, 4 and 7 [ as 2.107,3.127,2.704] and updated in the code as I have mentioned before.
Then I was trying to test the ph of tap water and the output I have received was updated above(in the previous post).

1. My question is where should I stop and which ph estimated reading should I take (as I assume that I don't know the ph of tap water or any other solutions that I am testing ) as the second and third decimal places(volts) is not reaching to a stable value and the estimated ph keeps on increasing..

I hope my question is clear now and thanks in advance for the support:)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest