Fast sampling ADC

I'm willing to use the fastest baud-rate possible to achieve this and if there is a better option than using the Arduino.

Teensy...
http://www.pjrc.com/teensy/

I would like to know how fast can I sample a waveform (1ms? 1us?)

Test to find out...

unsigned long Start;
unsigned short Count;

void setup( void )
{
  Serial.begin( 115200 );
  Start = millis();
}

void loop( void )
{
  if ( millis() - Start < 1000 )
  {
    analogRead( 0 );
    ++Count;
  }
  else
  {
    Serial.println( Count );
    Count = 0;
    Start = millis();
  }
}
1 Like