I've been reading everything I can on data logging and reading data for the Arduino. Now, I am looking for what would be the best option for my project.
I will be using an input rig to send 7 values to a Mega 2560R3. I want to record these values at given intervals (like every 100 milliseconds), preferably to an SD card. A PC file like Excel could work, but I was hoping to keep the Arduino relatively a standalone system.
Then I want to be able to access the file and use the data at the same interval to control a separate Arduino system.
The idea is to create a motion, store it, and be able to have the second system mimic the input movement via the data file.
I've been looking at Gobetwino , but again I was hoping not to use a PC if possible.
MrDoggss:
I will be using an input rig to send 7 values to a Mega 2560R3. I want to record these values at given intervals (like every 100 milliseconds), preferably to an SD card.
In general that should be perfectly feasible. What have you tried?
How will the 7 values get to the Mega? If they are coming via a serial connection you may find the examples in Serial Input Basics useful.
I'm using 2 ADC1115's from Adafruit to send the data to the Mega.
I just started looking into the different routes I can go. I didn't want to get too far in this before I figure out what direction I am going.
My first thought is to use the Adafruit Data Logger Shield which SEEMS to be the simple solution... Just not sure if the stored data can be read and used in the right way.
I've been reading everything I can on data logging and reading data for the Arduino. Now, I am looking for what would be the best option for my project.
I will be using an input rig to send 7 values to a Mega 2560R3. I want to record these values at given intervals (like every 100 milliseconds), preferably to an SD card. A PC file like Excel could work, but I was hoping to keep the Arduino relatively a standalone system.
Then I want to be able to access the file and use the data at the same interval to control a separate Arduino system.
The idea is to create a motion, store it, and be able to have the second system mimic the input movement via the data file.
I've been looking at Gobetwino , but again I was hoping not to use a PC if possible.
Another way of handling your need for storing data is to use a scheme similar to digital TV. Record and store only those values that change during your time clock, 100ms. The every 10 seconds or so, send every data point, and then return to storing only the changes.
You replay program will have to use the same clocking, but you knew that.
Referring to Reply #2, that shield is just a holder for an SD Card. It seems expensive for that - but I may be misjudging. What I would be more concerned about is that it blocks access to all the Arduino female headers and, although it seems to have space to fix female headers onto it, the shield is not supplied with any female headers.