I have played with arduino and processing for a while and have made up a (very) simple oscilloscope which seems to be fine for up to about 50kHz but I would like to do better. The main problem is the limitation of analogread even after the trick of altering register settings of the ATMega328 as below:
byte bytevalue;
int dtime=5;
void setup()
{
bitClear(ADCSRA,ADPS0);
bitClear(ADCSRA,ADPS1);
bitSet(ADCSRA,ADPS2);
Serial.begin(115200);
}
void loop()
{
byteValue = analogRead(0)/4;
Serial.write(byteValue);
delayMicroseconds(dtime);
}
What I am wondering is if I could use the following ADC:
which looks fairly easy to set up ( OTOH I have NO experience using these )
If the arduino can read a whole bunch of digital inputs in one go and then
just do a Serial.write I am thinking it might be possible to get a better throughput.
Any thoughts as to whether this is practical?