Arduino Analog Sampling Rate

Hello Arduino enjoyers!

I have an Arduino Nano 33 IoT, and an Arduino Due. I am using the ADC pin for signal acquisition and I need to know the sampling rate from the ADC (I was reading around the forum but I could not figure it out). Does anyone know whats the sampling rate in Arduino Due and Nano 33 IoT? or how to get it.

Thank you very much for your help,

You could do an experiment to find out.

  • note the time using millis()
  • Take say 1000 samples
  • check the time again with millis()
  • subtract one time from the other
  • divide by the number of samples

The ADC and DAC in the Due are poor (noise, sparkle codes), I wouldn't recommend using them.

What are you trying to do?