i am using a arduino uno along with a sd card module for logging acceleration data from adxl 345 accelerometer via I2c , i am having trouble with writing the acquired data into the sd card at faster rates , required is minimum 250hz , i am able to get only 50hz thats not sufficient for Plotting fft of vehicle vibrations, i am a novice at programming .
is there a possibility of increasing the speed.
i am not able to implement the buffering and interrupts into my programming , I have attached my code below .
code.ino (2.36 KB)
adxl data stored in sd card.TXT (833 KB)