Go Down

Topic: Accelerometer allows only low sample rate? (Read 653 times) previous topic - next topic



I'm using a standard Arduino Uno board and connected an accelerometer (ADXL335). I measure voltages on the analog pins in the loop function and this goes on forever, no processing. However, the frame rate I get is 1700/s.

Can that be right? I was hoping for a frame rate 10 times as large, if not higher? Am I doing anything wrong?



Using analogRead, the most I'd expect would be one read every 100us or so, (about 9600 samples per second), so over three channels an update rate of 3200 per second (without any other processing or I/O).
If you need a higher rate, you'd have to use an external A/D converter, but this would seem to me to be a bit pointless, because the maximum bandwidth of the device is only around 1500Hz.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.


Using the accelerometer at this rate is not recommended. You'll pick up something like vibrations (if the board doesn't already have a capacitor to filter them out). What was your purpose of such a high sampling rate?
Serial LCD keypad panel,phi_prompt user interface library,SDI-12 USB Adapter

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131