I'd like to add a timestamping and data logging section to my data acquisition code. It would be great to have anyone's input.
I was thinking that, for polled or interrupted ADC readings, I'd use an RTC to stamp the time along with the data at, say, channel 2. Something like: [time] [16-bit data] [channel #].
My goal is to see the real sampling frequency of the ADC. Funny thing is I know that just by testing it, it'll slow it down, but I'd still like to observe it.
From there I'm planning to write the data to the chip's EEPROM, or an external EEPROM, for later reading. My roadblock here is that it would be great to be able to easily plot the data into Excel, but with the format that EEPROM records the data in, I think this would be fairly challenging. Converting the data from hex, and then separating the points from one another, that seems like it would be a huge pain. Then again, I'll do it if I have to.
Are there better ways of doing these things?