所需E币: 4
时间: 2019-12-24 21:22
大小: 144.3KB
Almostalltemperaturesensorcircuitsusesomeformofdiscretecomponent(suchasathermistororasolid-statesensor)toactuallymeasuretheenvironment’stemperature.Itislefttothemicrocontrollertointerpretthereadingintoahuman-friendlyformfortheuser’sbenefit.Itispossible,however,todesignadigitalthermometerwithoutanexternalsensor,byusingatemperaturesensitivepropertyofthemicrocontrolleritself.ThisApplicationNoteshowshowtousetheWatchdogTimer(WDT)ofaPICmicro®microcontrollerfortem-peraturemeasurement.MAN828MeasuringTemperaturewiththePIC16F84AWatchdogTimerAuthor:LeenaChaudhariTHEORYOFOPERATIONMicrochipTechnologyInc.TheWDTonallPICmicromicrocontrollershasanomi-naltime-outperiodof18ms.TheWDTtime-outperiodvarieswithtemperature,VDDandpart-to-partprocessINTRODUCTION……