Go Down

Topic: Reading analog input at high frequency using arduino mega 2560 and SD card (Read 2253 times) previous topic - next topic



I am trying to read a couple of signals using my arduino mega 2560. I need to read them at 4kHz. To do so I am using interrupts and the analogRead function.

My question is: how can I continuously send the data to a SD card? I can create a buffer and send it when is full but I don't know how to  avoid data losses with the reading and writing speeds so different.

Thanks in advance


That is great! Thank you.

I only have one question so far: how can I control the acquisition time? If I only need 10 secs, is there a way to set it?

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