35
« on: June 12, 2015, 09:49:05 AM »
If you are looking to create a motion data logger, it sounds like you have the right idea. You will need a SD card shield. The storage on a TinyDuino is too limited for two weeks worth of data. You would need to set the time/date at the sketch upload point to use for a timestamp. Otherwise, you will need a real time clock shield as well which will draw more current. The TinyDuino would then pull the accelerometer data at the time interval you desire, calculate the current time based on the start time plus number of intervals, and write it to the SD card.
I would use the TinyDuino with LiPo support for the LiPo battery tends to last alot longer than the coin cells.
It sounds like a great little project. If you want to take it a step farther, you could use the 9dof shield and get compass direction and gyro orientation as well which would be cool if you expect the item to be rotated a great deal during application.
Have fun.