Logging data into the flash memory of the arduino

Hi,

Is it possible that I could write log files into the flash memory of the Arduino? I want to keep monitoring my sensor data when not connected to my laptop and if there is a error code which gets generated during the process. I would like to store that in flash memory. So I will be able to pull that info from the Arduino by printing the data over the serial monitor. Is this implementation possible?

Possible? Yes.

Better would be an external EEPROM or SD card.

1 Like

Which Arduino are you using and how many sensor readings and of what type do you anticipate saving ?

Have you considered saving to an SD card which would give you almost unlimited space to save to ?

1 Like

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

An SD card seems to be the obvious solution

1 Like

got it. Thanks!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.