Hi, regarding to the problem i faced, i have no idea at all how to interface a ADC to the PC serial port ... Anyone can give some idea to me ? Thank you ~ ! ! ! !
Please give more details: What is the speed of your ADC?, or what is your ADC number.
I think a good way is use a microcontroller with ADC incorporated (like PIC16F877A or PIC16F628A), the you can use the UART from the uC to communicate with your PC, and also can buffer many samples before sending it to PC.
Actually I want use an ADC (TLC549 , TI compny) to monitor an input voltage and ultimately represent this voltage as a function of time on a computer monitor. May anyone give me some technique how to interface to a PC for the ADC ? Thx ~!
I think u can use parallal port also..
use C programing ... r u taking sampled data to PC ???
write delay function o generate 1Mha clcok and put a counter so that it can count no of clock pulses.... put counter value max( according to max conversion time) and enable and disable CS signal also..... give all this tru control pins of parallal port... and take data thry data pins of parallal port..... this port is easy to interface.
do u ever use labview?..
i see someone that use labview to connect PC by serial port in my school.
you maybe try this software,by the way,i suggest u to use MCU to
connect ADC's IC, It is more convenient!!..
If the ADC has a Parallel interface then its better to use the parallel port and you can easily read the samples from the parallel port using the functions:
outportb and inportb in Turbo C++ or _outp and _inp in Visual C++
yes its possible to interface directly RS232 to serial ADC, if you know how to direct command RS232 lines (with special dll or MSCOM control for example)
then you only have to match the timings of your serial ADC
dont forget to make level adapter with resistor and 4.6V zener from RS232 to ADC