05-20-2017, 09:33 PM
(This post was last modified: 05-20-2017, 09:34 PM by MarkHaysHarris777.)
Use multiplexing;
... the 74hc165 is a parallel in serial out chip; you multiplex and latch the ADC of choice and then use SPI to bring the ADC bits into the pine via serial. The 74hc595 reverses that. A combination of 165 and 595 is generally used to scan a keyboard matrix, for instance.
Basically each ADC has its own parallel to serial setup. Your software should use multiplexing to select the parallel to serial setup (for the particular ADC) and then SPI is used to read it. This can be done with i2c as well.
Heck yeah your pine and SPI can keep up with your ADC chips;
... the 74hc165 is a parallel in serial out chip; you multiplex and latch the ADC of choice and then use SPI to bring the ADC bits into the pine via serial. The 74hc595 reverses that. A combination of 165 and 595 is generally used to scan a keyboard matrix, for instance.
Basically each ADC has its own parallel to serial setup. Your software should use multiplexing to select the parallel to serial setup (for the particular ADC) and then SPI is used to read it. This can be done with i2c as well.
Heck yeah your pine and SPI can keep up with your ADC chips;
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )