Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp Project execution problem — Parallax Forums

Basic Stamp Project execution problem

migudonomigudono Posts: 14
edited 2012-05-05 18:56 in BASIC Stamp
I have a project with Datalogger, a timer and temperature Test chip (each 20 second, the project test the temperature and the program save info in a file with datetime field and temperature field, that´s all)

Well, when I run the code from the aplication, he run OK reporting via debug the temperature tested and the succesfull writed in Datalogger, BUT when I disconnect the cable, he runs ok by 1 or 2 minutes only, and then stop.....

I disabled the debug report thinking the debug needs the cable connection, but Stop anyway

Looks like the project always need the cable conecction

A suggest?

Sorry my bad english, I'm spanish speaker from South america

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-02 13:10
    The Stamp doesn't need the cable connection. There must be something else going on. Can you post a schematic or at least a description of your hardware and post a copy of your program as a file attachment to a message?
    attachment.php?attachmentid=78421&d=1297987572
  • migudonomigudono Posts: 14
    edited 2012-05-03 08:26
    Could be a problem with the size of Pendrive in the datalogger?
    I'm using a 4gb pendrive. I don't remember if datalogger is limited to some size of pendrive

    month ago here comment me that datalogger only write 8,3 file name format, for example
  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-03 08:38
    The datalogger should work with any size pen-drive. The 8.3 file name restriction is due to patent and licensing issues with Microsoft. It's not a bug.
  • FranklinFranklin Posts: 4,747
    edited 2012-05-03 14:55
    How are you powering the device when it is disconnected?
  • migudonomigudono Posts: 14
    edited 2012-05-03 17:58
    Is connected to a charger (not batery) with 6v supply.
    I try switching once and twise, pressing reset button too....with the same result...
  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-03 18:52
    You may have a problem with your power supply or the ground connection. We really can't help you very much unless you post a schematic and program listing.
  • migudonomigudono Posts: 14
    edited 2012-05-03 20:24
    Thanks you for your interest for help...
    recently I changed the pendrive

    first I used a generic 4gb pendrive
    then i tried with old 512kb kingston pendrive with the same results
    Finally I used an ol 512kb memorex pendrive and run ok since a couple of hours... I don't know why...
  • Mike GreenMike Green Posts: 23,101
    edited 2012-05-04 05:57
    The behavior you describe suggests a power supply problem. Different pendrives require different amounts of power. We can't help you without a schematic and program listing.
  • migudonomigudono Posts: 14
    edited 2012-05-05 18:56
    You help me so much
    thanks

    I will change the conversation to solved...
Sign In or Register to comment.