It might be a stupid question but, I am currently using Arduino Uno with the 16MHz processor, what is maximum sampling rate of data available to me if I want to read data of a sensors such as accelerometer?

  • 1
    It depends how the accelerometer is read. Is it I2C? SPI? Serial? Can you provide a part number or link? Please read How do I ask a good question?
    – Nick Gammon
    Apr 8, 2016 at 23:28
  • I m sorry for incomplete information,i am using MPU6050 with I2C .
    – Pedro
    Apr 9, 2016 at 20:37

1 Answer 1


I have a page about I2C. The speed of I2C depends on a number of things, such as the I2C clock (which you can change) and also how many data bytes are in a "packet". There is a fixed overhead of the device address in each packet.

A broad rule-of-thumb would be around 4700 bytes per second for a single-byte payload at the default clock rate. You may also need to spend time asking for a reading. I haven't read the datasheet (which you didn't link).

The datasheet for the MPU6050 may give you more information about how fast it can respond.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.