Escolar Documentos
Profissional Documentos
Cultura Documentos
SearchAdafruit
SHOP
BLOG
LEARN
FORUMS
VIDEOS
SIGNIN
CLOSEMENU
0Items
SignIn
SHOP
BLOG
LEARN
FORUMS
VIDEOS
CalibratingSensors
Getpeakperformancefromall
yoursensors.
WhyCalibrate?
So,HowDoWeCalibrate?
OnePointCalibration
TwoPointCalibration
MultiPointCurve
Fitting
Maxim31855
Thermocouple
Linearization
SinglePage
DownloadPDF
Contributors
BillEarl
https://learn.adafruit.com/calibratingsensors/twopointcalibration 1/7
7/2/2016 TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem
Feedback?Corrections?
COMPONENTS/TEMPERATURESENSORS/FORCE&FLEXSENSORS/LIGHTSENSORS/WEATHERSENSORS/PROXIMITYTOOLS/INSTRUMENTS
ROBOTICS
TwoPointCalibration
byBillEarl
ATwoPointCalibrationisalittlemorecomplex.Butitcanbeappliedtoeitherraworscaledsensoroutputs.ATwoPointcalibrationessentiallyrescalestheoutputand
iscapableofcorrectingbothslopeandoffseterrors.Twopointcalibrationcanbeusedincaseswherethesensoroutputisknowntobereasonablylinearoverthe
measurementrange.
Howtodoit:
Toperformatwopointcalibration:
1. Taketwomeasurementwithyoursensor:Onenearthelowendofthemeasurementrangeandonenearthehighendofthemeasurementrange.Recordthese
readingsas"RawLow"and"RawHigh"
2. Repeatthesemeasurementswithyourreferenceinstrument.Recordthesereadingsas"ReferenceLow"and"ReferenceHigh"
3. Calculate"RawRange"asRawHighRawLow.
4. Calculate"ReferenceRange"asReferenceHighReferenceLow
5. Inyourcode,calculatethe"CorrectedValue"usingtheformulabelow:
CorrectedValue=(((RawValueRawLow)*ReferenceRange)/RawRange)+ReferenceLow
Example
Acommonexampleofatwopointcalibrationistocalibrateatemperaturesensorusinganicewaterbathandboilingwaterforthetworeferences.Thermocouplesand
othertemperaturesensorsarequitelinearwithinthistemperaturerange,sotwopointcalibrationshouldproducegoodresuts.
Sincethesearephysicalstandards,weknowthatatnormalsealevelatmosphericpressure,waterboilsat100Candthe"triplepoint"is0.01C.Wecanusetheseknown
valuesasourreferencevalues:
ReferenceLow=0.01C
ReferenceHigh=100C
ReferenceRange=99.99
Herewe'llshowatwopointcalibrationofalaboratorythermometer.Butthesameprinciplesapplytoanytemperaturesensor:
https://learn.adafruit.com/calibratingsensors/twopointcalibration 2/7
7/2/2016 TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem
PhasediagrambyMatthieumarechalviaWikimediaCommons
BoilingWater
Asyoucanseethislabthermometerisoffby4degreesatthe
boilingpointofwater.
https://learn.adafruit.com/calibratingsensors/twopointcalibration 3/7
7/2/2016 TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem
"TriplePoint"IceWaterBath
Thesamethermometerregistersalittlelessthanzerodegrees
intheicewaterbath.
Sothe"Raw"readingsare:
RawLow=0.5C
RawHigh=96.0C
RawRange=96.5C
So,ifwegetarawreadingof37Cwiththisthermometer,wecanplugthenumbersintotheequationtogetthecorrectedreading:
(((37+0.5)*99.99)/96.5)+0.01=38.9C
ONEPOINTCALIBRATIONMULTIPOINTCURVEFITTING
Lastupdatedon20150605at07.13.00AMPublishedon20150518at05.01.25PM
10KPrecisionEpoxyThermistor
$4.00AddToCart
ThermocoupleAmplifierMAX31855breakoutboard(MAX6675upgrade)
$14.95AddToCart
https://learn.adafruit.com/calibratingsensors/twopointcalibration 4/7
7/2/2016 TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem
ThermocoupleAmplifierwith1WireBreakoutBoardMAX31850K
$14.95AddToCart
ThermocoupleTypeKGlassBraidInsulated
$9.95AddToCart
Sensorpack900
$35.00AddToCart
ADDALLTOCART
RELATEDGUIDES
MAX31855ThermocoupleSensorPythonLibrary
UseaMAX31855thermocoupletemperaturesensoronaBeagleBoneBlackorRaspberryPi!
byTonyDiCola
LearnhowtoinstallandusetheMAX31855thermocoupletemperaturesensorPythonlibrary.
Adafruit1WireThermocoupleAmplifierMAX31850K
1Wireforallthethermocouples
byladyada
https://learn.adafruit.com/calibratingsensors/twopointcalibration 5/7
7/2/2016 TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem
ThisthermocoupleamplifiercancontrolanyKtypethermocoupleandworksona"1Wire"bus.Youcanconnectanynumberofthemonasingledataline!Checkout
thistutorialforwiringdiagrams,pinoutsandcodeexamples
Thermocouple
LetsusetheSeebeckeffect!
byladyada
Thermocouplesarebestusedformeasuringtemperaturesthatcangoabove100degC.Thisisabarewiresbeadprobewhichcanmeasureairorsurfacetemperatures.
Mostinexpensivethermocoupleshaveavinylcoveringwhichcanmeltataround200degC,thisoneusesafiberglassbraidsoitcanbeusedinhightemperature
measurementssuchasheatersandovens.ThisisahandyguidewhichcoversthermocoupleuseincludinganArduinolibraryandexamplecode.
NEW
AdafruitDRV8871BrushedDCMotorDriverBreakout
Upto45Vand3.6Aofmotorcontrol
byladyada
CrankupyourroboticswithpowerfulAdafruitDRV8871motordriverbreakoutboard.Thismotordriverhasalotofgreatspecsthatmakeitusefulforawidevarietyof
mechatronics.Inparticular,thesimpleresistorsetcurrentlimitingandautomagicPWMsupportmakeitsupereasytouse.
OUTOFSTOCKNOTIFICATION
YOURNAME
YOUREMAIL
NOTIFYME
CONTACT
SUPPORT
DISTRIBUTORS
EDUCATORS
JOBS
FAQ
SHIPPING&RETURNS
TERMSOFSERVICE
PRIVACY&LEGAL
ABOUTUS
ENGINEEREDINNYCAdafruit
"Onlyknowledgethatisusedsticksinyourmind"DaleCarnegie
https://learn.adafruit.com/calibratingsensors/twopointcalibration 6/7
7/2/2016 TwoPointCalibration|CalibratingSensors|AdafruitLearningSystem
https://learn.adafruit.com/calibratingsensors/twopointcalibration 7/7