Shop OBEX P1 Docs P2 Docs Learn Events
experimenting with new a memory stick datalogger — Parallax Forums

experimenting with new a memory stick datalogger

Tom PTom P Posts: 97
edited 2008-04-16 17:00 in BASIC Stamp
Greetings:

I have been experimenting with new a memory stick datalogger (#27937). I would like to also keep track of Date/time on the memory stick along with the data. I also experimented with a DS1302 clock chip, but when I try to integrate the two or combine the two things together in a program I don't not seem to have memory space. The code for the datalogger seems to occupy a lot of memory. Will I have to have a separate STAMP to keep track of time? Any ideas for this dilemma?
thanks
tom

Post Edited By Moderator (Joshua Donelson (Parallax)) : 10/22/2009 9:03:32 PM GMT

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2008-04-09 18:20
    Tom P -

    The FIRST thing I would do is to EDIT your post. Add a TITLE to it, and then folks will be able to know what you're saying. Presently is comes through as NO SUBJECT, which doesn't say much of anything.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Involvement and committment can be best understood by looking at a plate of ham and eggs. The chicken was involved, but the pig was committed. ANON
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-04-15 21:32
    Tom,

    You reposted the message instead of editing this message. That message was removed as it is the second time you have been asked to edit and add a title and have reposted. Duplicate posting is not allowed and is covered in the Forum Guidelines sent to you. There is a pencil icon in the top right of the message. Please click that and edit your message to add a descriptive subject line. Additional duplicate posts will be removed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • rockybulwinklerockybulwinkle Posts: 36
    edited 2008-04-16 02:21
    YOU HAVE BEEN WARNED! HAHAHAHAHAHAHAHAH.

    Have you considered getting a stamp with a larger internal memory? Also, have you optimized the heck out of your code?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    There are 10 kinds of people in the world;
    those who understand binary and those who don't.
  • Bill ChennaultBill Chennault Posts: 1,198
    edited 2008-04-16 03:46
    tom--

    I am really interested in the answers you receive. However, you will not receive many answers unless you follow Chris' advice and provide a subject for your topic.

    I hope you do.

    --Bill

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    You are what you write.
  • Paul Sr.Paul Sr. Posts: 435
    edited 2008-04-16 17:00
    I have a project that addresses what you need to do from a programming standpoint.

    I use a BS2p, use 3 "slots" for the code - "Slot 0" contains the Main program, "Slot 1" contains the Time setting routines, and "Slot 2" contains the Temp setting routines. I store "Temp Limits" in the 1302 memory.

    In the main program, I have the following:

    '   {$STAMP BS2p, DS1302_Time_Set.bsp, DS1302_TempLimit_Set.bsp }
    



    and to invoke the setup routines (Slot 1), this setup

       POLLIN  9, 0                         ' polled-input, look for 0
       POLLRUN 1                           ' run slot 1 on polled activation
       POLLMODE 4 '3                     ' enable polling
    
    



    which causes the program in "Slot 1" to run when a Button (connected with pull-up to pin 9) is pressed. When in the "Slot 1" program, one of the options is to return to the main "Slot 0" program and another is to set Temp limits and if selected, this executes the program in "Slot 2" - which has it's own menu options.

    I can't say if everything I did is "100% proper", but it all works really slick, quite reliably, and I did it all by following examples and using the HELP extensively. It was fun and a great learning experience!

    Paul
Sign In or Register to comment.