PDA

View Full Version : Data Logging



barkerben
- 14th October 2005, 12:48
Hi,

I'm putting together a system to talk to a GPS board I have. It will do various things, such as output to an LCD etc. I wanted to do some data logging - record waypoints, track position every x seconds, etc.

Serial EEPROM seems to be the way to go. But 1 Million write cycles is not neccesarily as much as it sounds if you are recording a few bytes every few seconds. Does anyone have any thoughts...?

Cheers,

Ben

barkerben
- 14th October 2005, 13:28
I found a few other posts on this site. I also found a site here:

http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/08.htm#8.3

This talks about writing to CF using a POC, but seems to be for a different distribution of Basic...?

rhino
- 14th October 2005, 13:55
Look into FRAM from www.ramtron.com

Ingvar
- 14th October 2005, 16:00
Ben, every BYTE can be written to 1 million times. Surely you don't fill your entire memory every few seconds.

barkerben
- 14th October 2005, 16:13
Ah... every byte. That makes a lot more sense, now I come to think about it!

Interfacing a serial EEPROM to a PIC should be quite simple. I still need to find an easy way of getting the data out of the eeprom and onto a PC, which is why the CF idea seemed nice. But probably far more complicated...

Ben

NavMicroSystems
- 14th October 2005, 16:39
Ben,

have you had a look at This Thread (http://www.picbasic.co.uk/forum/showthread.php?t=2130&highlight=logging) ?

barkerben
- 14th October 2005, 16:58
Thanks - I found that a few minutes ago - it seems very thorough!

Cheers,

Ben

barkerben
- 14th October 2005, 20:03
Yeah. An EEPROm would certainly store the data - but accessing it on a PC once it has been recored seems slightly more involved. An advantage of using something like a formatted flash card is it is possible to just plug it in and read what's there.

The disadvantage seems to be the added complexity of circuitry and programming to achieve this...