How to access the flash memory on the MKRMEM Shield

Hi,

I have decided to use Arduino in my professional project that is focused on automatically taking water samples to collect waterborne DNA, so called eDNA.

I have never worked with Arduino before and have spent the last two weeks to learn about the HW, SW and necessary design tools.

Most likely I will use the MKR 1010 wifi board together with three (3) shields, the MKR gps, the MKR relay and the MKR memory shield.

The MKR memory shield includes a Flash memory and a SC-card holder. I have found some examples how to store data on the SD-card but no example how to store data in the Flash memory on the memory shield . The data to be stored is sampled data from three (3) senors measuring Water flow, Pressure and Temperature.

Does anybody know how to write/read data to/from the Flash memory and not to the SD-card?

Any help or advises regarding this is highly appreciated.

Have a great day!

Bengt

You can use the official "Arduino_MKRMEM" library.

Install it via the Arduino IDE's Library Manager (Sketch > Include Library > Manage Libraries). It comes with several example sketches that demonstrates its usage. You will find them under File > Examples > Arduino_MKRMEM in the Arduino IDE after you install the library.

You also have the option of using any other library or example code you find for the Winbond W25Q16DV flash chip the shield uses.

Hi in0,

Thanks indeed for your reply, it helps me a lot!

However, the truth is that I need to learn more about the Arduino system before I fully can interpret and understand the code and all abbreviations.

What could help me is a practical example showing how, for example, 10 consecutive sampled sensor data are temporary stored in the flash memory and thereafter being read our from the memory and sent to an external device over a Bluetooth channel. This code will of course already exist but to find it.........

Any idea where I should search for such example code?

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