I would like to constantly save data coming from sensors (for an activity tracker) while consuming as less battery as possible (I'd like to have a 4/5 days autonomy on a 3000 mAh battery) but I can't find the best way to save about 2 kBytes/s on a memory large enough to contain several days of data.
Sensors would be read at a rate of 20 times per second and produce about 100 bytes each time.
What options do I have in order to:
- store such an amount of data (hardware)?
- ensure the system can work properly with required autonomy?
What is the data you're storing? Is there any way to consume just the minimum amount of compute cycles on the Arduino in order to pack this data a bit more compactly. 2kB/s is a fair amount of data for a microcontroller to collect and send to storage.
And yes, for data logging, SD cards are pretty much the best option, if only for the fact that the card can be physically moved off to a computer for proper data analysis.
– WineSoaked Mar 16 '14 at 19:58