How is it possible to store data with an Arduino ?
Which card do I have to buy for this purpose ?
For information, I have an arduino Uno
Thank you in advance ![]()
How is it possible to store data with an Arduino ?
Which card do I have to buy for this purpose ?
For information, I have an arduino Uno
Thank you in advance ![]()
How much data?
What that is depends on what you want to do, so we need more details about the application you are planning.
For < 1kbyte you can use the EEPROM on the MCU, but that is not 'removable' from the MCU.
For > 1kbyte you need to use external storage (external EEPROM, SD card, etc).
Thank you for your answers.
The purpose of my device is to store datas from sensors installed during almost a Week so I think I will need a sd card ?
NicolasLAUBE:
Thank you for your answers.
The purpose of my device is to store datas from sensors installed during almost a Week so I think I will need a sd card ?
How much data do you need to store?
If your intention is to store the data and then take it away for analysis somewhere then an SD card is the easiest choice. This does mean that you will need to have access to the card to insert/remove it.
If you intend to transmit the data electronically (USB serial or wireless) then you still have the choice of using EEPROM but it depends on how much data you need to store, so you really need to think about that aspect.
To estimate data stored you need to work out how many bytes you will store for each reading and then multiply it by the number of readings you expect in a week. For example, 10 bytes of data every 5 minutes means 60 bytes per hour or 1440 bytes per 24 hr day, which already exceeds the EEPROM capacity. 2 bytes per 5 minutes is 288 bytes per day (< 4days EEPROM). 6 bytes per hour is 1008 bytes per 7 days. As you can see, unless you are collecting very low amounts of data, then an SD card is about the most practical solution for large storage capacity.