I am using Arduino NB MKR1500. I never thought I could use an SD card. I just checked and seems that I can use it for logging data.
I am continuously reading the analog value from the output of a remote control which regulates the speed of the motor. I am planning on saving it in .txt format