Which memory is the best for frequently storing data
Posted: Mon Nov 27, 2023 3:13 pm
Hello,
i'm struggling with my ESP32-C6-WROOM-N8 module to store adc measurements over some days.
I want to store 4 adc measurements every minute in for example a .txt or .csv file.
With this stored data i create a diagram on my http server read out by javascript to show it to the user.
Therefore i'm not sure which storage medium is the best for this application.
NVS seems not to be the right choice because it is a too large amount of data.
And i'm not sure if the 8 MB of flash would be the right choice with SPIFFS, because of the NOR flash lifetime limitation.
What would be the professional way here?
i'm struggling with my ESP32-C6-WROOM-N8 module to store adc measurements over some days.
I want to store 4 adc measurements every minute in for example a .txt or .csv file.
With this stored data i create a diagram on my http server read out by javascript to show it to the user.
Therefore i'm not sure which storage medium is the best for this application.
NVS seems not to be the right choice because it is a too large amount of data.
And i'm not sure if the 8 MB of flash would be the right choice with SPIFFS, because of the NOR flash lifetime limitation.
What would be the professional way here?