Shop OBEX P1 Docs P2 Docs Learn Events
Storing Information — Parallax Forums

Storing Information

ghost13ghost13 Posts: 133
edited 2007-08-31 13:04 in BASIC Stamp
I am developing an altimeter and I need a way to log approximately 3000 samples (each sample consisting of a four digit number and the time). So, what is the best way (and smallest way) to store this info? An EEPROM (I've never used one before... is there an appnote?)?
Also, what is the best way to keep track of the time? I only need information like the number of milliseconds since launch.

Thanks!

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-08-31 13:04
    I would recommend something like the Parallax Datalogger or Hitt Consulting's data logger. I'd suggest the one from Hitt Consulting since it's smaller and lighter. Both come with examples of their use and these are downloadable from their websites.

    Timekeeping will be harder. There are plenty of real time clocks that will give you a time in seconds, but won't give you anything finer. I suspect you'd be better off using something like an SX rather than a Stamp. You could program it in SX/B which is (deliberately) similar to PBasic. It could easily interface with an EEPROM ... there are examples available and it can do the timekeeping itself, certainly to millisecond resolution.
Sign In or Register to comment.