所需E币: 4
时间: 2019-12-24 22:22
大小: 69.18KB
Abstract:ThisapplicationnoteprovidesanexampleofinterfacinganA/DconvertertoaPCusingastandardserialport.TheCSlinesandSCLKlinesareemulatedbytheRTSandDTRlinesrespectively.Conversiondataappearsonthedata-set-ready(DSR)line.ExampleCcodeisgiventodemonstratetheapplicationcircuit.Maxim>AppNotes>A/DandD/AConversion/SamplingCircuitsKeywords:serial,RS-232,rs232,232,SPI,3-wire,A/D,ADCconverter,analogtodigital,analogdigital,converters,MAX232,MAX220Jul01,2001APPLICATIONNOTE827PCSerialPortDrives12-BitA/DConverterAbstract:ThisapplicationnoteprovidesanexampleofinterfacinganA/DconvertertoaPCusingastandardserialport.TheCSlinesandSCLKlinesareemulatedbytheRTSandDTRlinesrespectively.Conversiondataappearsonthedata-set-ready(DSR)line.ExampleCcodeisgiventodemonstratetheapplicationcircuit.ThecircuitshowninFigure1performsataskusuallycarriedoutbyamicrocontroller―thatofdrivinga12-bitA/Dconverter(ADC)fromtheserialportofaPC.Powerc……