How to get the correct data from ADC ?
jimltlee
Posts: 6
Hi,there are some issue that I can't understand, and need some suggestion -->
well,I am trying to utilize the ADC10464(10 bit) as the ADC converter, but ,in·IC’s datasheet,
it outputs data by 10 pins,so,it means I have to use 10 basic stamp I/O pin to grap the data at 1 time ??
Is there any method to reduce the needed I/O pin to grap the data ?···
By the way, should I use the command “SHIFTIN” to read the 0/1data from the BASIC’s I/O pin ??···
rgs
Jim
well,I am trying to utilize the ADC10464(10 bit) as the ADC converter, but ,in·IC’s datasheet,
it outputs data by 10 pins,so,it means I have to use 10 basic stamp I/O pin to grap the data at 1 time ??
Is there any method to reduce the needed I/O pin to grap the data ?···
By the way, should I use the command “SHIFTIN” to read the 0/1data from the BASIC’s I/O pin ??···
rgs
Jim
Comments
That ADC is designed for parallel output, as you have found.
One solution is to use a serial ADC like the LTC1298 which can send data to the stamp on a serial link.
Second, keep your existing converter and use a multiplexer between it and the stamp to allow you to let one stamp pin sense the parallel bits one at a time. You will still tie up 3 or 4 other bits for addressing and chip-select.
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
thanks so much,it seems that I choose the in-correct ADC,
well, I need to proceed 3 channel ADC,·so,·maybe,I can also try to use
3 piece IC:ADC0831 (1 I/O port)·, or (1 ADC0831 + 1 LTC1298.)
multiplexer is also a good method~ thanks again
rgs
Jim··
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
The MAX1270 has 8 channels at 12-bits each on one chip. It may cost a little more but would simplify code and reduce I/O pin consumption. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support