下载
![](https://oss-datasheet.aipcba.com/html/14DF789521F35AC14FF1FA900656E014/bg1.png)
Maxim > Design Support > Technical Documents > Application Notes > A/D and D/A Conversion/Sampling Circuits > APP 827
Keywords: serial, RS-232, rs232, 232, SPI, 3-wire, A/D, ADC converter, analog to digital, analog digital, converters, MAX232, MAX220
APPLICATION NOTE 827
PC Serial Port Drives 12-Bit A/D Converter
Jul 01, 2001
Abstract: This application note provides an example of interfacing an A/D converter to a PC using a standard serial port. The CS lines
and SCLK lines are emulated by the RTS and DTR lines respectively. Conversion data appears on the data-set-ready (DSR) line.
Example C code is given to demonstrate the application circuit.
The circuit shown in Figure 1 performs a task usually carried out by a microcontroller—that of driving a 12-bit A/D converter (ADC)
from the serial port of a PC. Power consumption is low: The 2mA operating current drops to only 15µA in shutdown.
Page 1 of 3