所需E币: 3
时间: 2019-12-24 21:21
大小: 247.82KB
ManyoftheembeddedcontrolsystemsdesignedtodayrequiresomeflavorofaAnalog-to-Digital(A/D)Con-verter.Embeddedsystemapplicationssuchasdataacquisition,sensormonitoringandinstrumentationandControlallhavevaryingA/DConverterrequirements.Forthemostpart,theseA/DConverterrequirementsareacombinationofperformance,cost,packagesize,andavailability.Microchipoffersavarietyofsolutionstomeetthesedesignrequirements.ThefirstpossiblesolutionistoimplementthePICmicro®microcontroller(MCU).ThePICmicroMCUoffersmanyoptionsforsmartsolutions.OneofthesefeaturesistheA/DCon-vertermodule.TheseA/DConvertermodulesarepri-marilysuccessiveapproximationregister(SAR)typeandrangeinfunctionalityfrom8-to12-bitwithchannelsizerangesof4to16.Forexample,thePIC16C77has8-channelsof8-bitA/DConverter,whilethePIC17C766has16-channelsof10-bitA/DConverter.Theseon-boardA/DConvertermodulesfitwellintoembeddedapplications,whichrequiresa10-35kspsA/DConverter.Forthoseapplicationswhichrequireahigherperfor-manceorremotesensecapability,theMicrochipMCP3201,12-bitA/DConverterfitsverynicely.AN719InterfacingMicrochip’sMCP3201Analog-to-DigitalConvertertothePICmicroMicrocontrollerTheMCP3201employsaclassicSARarchitecture.Author:RichardL.FischerThedeviceusesaninternalsampleandholdcapacitorMicrochipTechnologyInc.tostoretheanaloginputwhiletheconversionistakingplace.Conversionratesof100kspsarepossibleontheINTRODUCTIONMCP3201.Minimumclockspeed(10kHzor625sps,……