Huge amount of analogue inputs

I was planning a project consisting of 24 faders and 192 linear 10k potentiometers. Now, is Arduino (using multiplexers or external ADCs) capable of dealing with that many componenets without running into delay issues?

How often do you want to sample the inputs?

jremington:
How often do you want to sample the inputs?

I have no idea. What do you suggest?

What is the application you have in mind??

terryking228:
What is the application you have in mind??

24-channel MIDI controller.

Short answer: yes it can.
You can make a bank of 8-input, 12-bit ADC chips, sample them using SPI.
24+192 = 216 inputs. 8 inputs/chip = 27 chips.
With Atmega1284P & 32 IO, can use a single chip to read them all and still have Serial lines free for IO:
SCK
MISO
MOSI
27 chip selects
Rx
Tx

32 IO pins.
MCP3208

Might even be able to daisy chain them vs having individual chip selects.
Then supply a channel number to all 27, take a reading and read in the 27 channels, then command the next channel, etc. Could do that with an Uno.
With SPI interface at 2 MHz will be pretty quick. Need 3 SPI.transfer()s to read back a sample - so doing the math:
3 bytes x 8 bits/byte * 1/2000000 sec/bit * 216 devices = 2.6mS for data transfer for 216 devices, plus the overhead of a loop to create the 8 channel numbers, add some tens of microseconds.

CrossRoads:
With Atmega1284P & 32 IO
...

Might even be able to daisy chain them vs having individual chip selects.
Then supply a channel number to all 27, take a reading and read in the 27 channels, then command the next channel, etc. Could do that with an Uno.
With SPI interface at 2 MHz will be pretty quick. Need 3 SPI.transfer()s to read back a sample - so doing the math:
3 bytes x 8 bits/byte * 1/2000000 sec/bit * 216 devices = 2.6mS for data transfer for 216 devices, plus the overhead of a loop to create the 8 channel numbers, add some tens of microseconds.

Thanks. Only the bold part confuses me - are you saying I should control Atmega1284P using Uno or?

No - if the MCP3208's can be daisychained, then they can controlled with an Uno.
Reading the datasheet some more, I don't think they can be.
In which case, 27 of them with Atmega1284 would be an efficient way to go.
Maybe use a '1284 card with 3 10 cm x 10cm cards with 10 MCP3208s and connecters each.
One these talking to 3 of something like this:
http://www.crossroadsfencing.com/BobuinoRev17/


Thanks a lot! One more question: Should I use external power supply to power up that many pots?

External vs what? 500mA from USB?
Say they were all 10K pots powered from 5V.
5/10000 = 0.5mA.

500mA/0.5mA/pot = 1000 pots
Subtract the current needed for all the other electronics:
(500mA - 200mA (guesstimate) )/.5mA/pot = 600 pots.

CrossRoads:
External vs what? 500mA from USB?
Say they were all 10K pots powered from 5V.
5/10000 = 0.5mA.

500mA/0.5mA/pot = 1000 pots
Subtract the current needed for all the other electronics:
(500mA - 200mA (guesstimate) )/.5mA/pot = 600 pots.

More than enough then. Thanks.