PC Serial Port Drives 12-Bit A/D Converter
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