PDA

View Full Version : Fast Data Logging



dksoba
- 19th February 2010, 23:26
Is there a way to record several seconds (2-3 seconds) of data at 1khz or even 10khz? I'd like to store 6 words per iteration.

6 words * 2 bytes = 12 bytes
12 bytes * 1000 hz = 12000 bytes/s
after 3 seconds...

36000 bytes, or 35.2 kilobytes.

It'd also be nice if it didn't take too many instructions or time to do the actual logging (it'll interfere with what I'm trying to log).

Can I do this using an SD card? would it be fast enough such that my 1ms loop wouldn't change significantly?

Thanks,
Matt

Normnet
- 20th February 2010, 21:08
May not be much help but I can do a SD FAT16 sequential read (not reading the
partition table) at 353 K bytes per sec.
Write is slower and to read on a PC you would need to write the partition tables.

Norm