Increase sample rate to 1 ksps

Greetings,

I want to get a 1k samples per second from an heart rate sensor. Afterwards, store this data in a sd card and manipulate them from Matlab.
I have attach the code and I got 300 samples per second.

Thank you in advance

ArduinoGetDataFromHeartRateSensorAndWriteThem.ino (1016 Bytes)

EEPROM.write() is quite slow. How many samples you need to store and what microcontroller do you have?

Greetings,

I have the Arduino Uno, I saved the data in external sd card. Which I accomplished to save ~= 4ksps, but I want to ask if someone can achieve even bigger sample rate e.g. 8ksps (for audio recording).

Thank you in advance

georgekasa:
but I want to ask if someone can achieve even bigger sample rate e.g. 8ksps (for audio recording).

Where are you going to save the data ?

In an external ssd card, which afterwards I could manipulate the data in Matlab.

Atmel/Microchip claims "Up to 76.9kSPS (Up to 15kSPS at Maximum Resolution)".
So yes, it should be possible with proper ADC prescaler setting and fast code to process the data.