Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Calibration of turbidity sensor


dab11 Mar 24, 2023 09:44 AM

I have an old turbidity sensor that was originally not designed for use with campbell loggers which I've managed to get working. But I'm using code from the campbell OBS-3+

 

For Count = 1 To 21
			VoltSe(NTUArray(Count),1,mV2500,1,True,0,50,0.001,0)
			NTUArray(Count)=0.2661+(393.4*NTUArray(Count))+(36.59*NTUArray(Count)^2)
	SortSpa(NTUArray(),21,NTUArray())
			TurbNTU=NTUArray(11)

 

The code takes 21 readings, sorts them and then takes the middle value which it then exports to the table. 

My issue is with the 3rd line of the code where you can see it's doing a number of calculations. I believe this is to create a calibration curve for accurate readings. I have some turbidity standard solution and was planning on doing a 4 point calibration but I'm a bit lost on how I would go about manipulating the numbers within the code to achieve the calibration?

Log in or register to post/reply in the forum.