Hi,
I am new to the arduino community. I want to built a fast motorbike GPS/gyro/accel loggeur.
I want to log acceleration/gyro data coming from a MPU6050.
I have also a GPS shield which outputs NMEA messages at 5HZ
The MPU ouputs Data with a 100Hz rate. It is based on interrupt : an ISR raises a flag each time MPU6050 has data available.
I tried simple logging schemes to record GPS and MPU6050 data on a SD card, but it seems to be to slow and the FIFO buffer in the MPU6050 gets filled rapidly.
I want to use the LowLatency example of the SDfatlib which is supposed to be faster. But the code looks complicated to me.
Do you think this one is fast enough?
The LowLatencyLogger reads data at reagular time interval (500Hz) which is not exaclly fitted to my purpose. I need to record data when they are made available from the MPU6050 and GPS.
Which way should I modify this code to get it work for my purpose.
Thanks for your help!