Thanks Bob, It is a linear response. Will try it out :-) Cheers Ravi > Are you expecting a linear response? If so... > > We know the following: > >> 6500 Hz - 2500 TDS >> 400 Hz - 30 TDS > > Setting that up as equations in the form y=3Dmx + b we get: > > 2500 =3D m*6500+b > 400 =3D m*30+b > > Now just solve those two equations for 'm' and 'b' (a simple exercise for > the reader) and you have what you need. > > ~ Bob Ammerman > RAm Systems > >> -----Original Message----- >> From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf >> Of Ravi >> Sent: Friday, August 22, 2014 11:49 AM >> To: Microcontroller discussion list - Public. >> Subject: [EE] Formula for calibration >> >> Hello All, >> >> I hope that I have the right tag. I am a bit rusty and hope that some on= e >> would point me in the right direction. >> >> I am designing a TDS meter. >> >> For a TDS of 2500, I get a frequency of 6500 Hz and for a TDS of 30, I g= et > a >> frequency of 400 Hz. >> >> My 2 points of calibration are those below. >> >> 6500 Hz - 2500 TDS >> 400 Hz - 30 TDS >> >> I need a formula to calculate the intermediate values based on the > incoming >> frequency. >> >> Thanks in advance >> >> Cheers >> >> Ravi >> >> -- >> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .