Shop OBEX P1 Docs P2 Docs Learn Events
STAMP to SX — Parallax Forums

STAMP to SX

TGTG Posts: 36
edited 2006-07-10 20:41 in General Discussion
I have developed an application using a STAMP and would like to convert this into a SX based unit.

It is a pretty basic project incorporating a g-meter and BCD. Upon start-up the STAMP reads the BCD to set a g-force threshold. Then the STAMP constantly samples the g-meter. If the G-force exceeds the threshold..an output is turned on until the g-force drops below the threshold. Then it is turned off.

I am in the middle of a few other projects and don't have the time to learn the SX. Would anyone be interested in converting this code for me in return for compensation?

Thanks
Toby

Comments

  • pjvpjv Posts: 1,903
    edited 2006-07-08 03:38
    Hi Toby;

    How about for free in this forum?

    Please specify the number of BCD digits, and the method of "sampling" (serial, paralell, or ???) the G-meter, and the rates at which these are to occur. Also the signal levels; hopefully 5 Volts.

    On the surface, sounds pretty simple; but you never know.......

    Please post a schematic of STAMP circuit if you have one.

    Cheers,

    Peter (pjv)
  • aliniousalinious Posts: 51
    edited 2006-07-08 04:54
    Toby,

    Also, would you be willing to attach the current Stamp program you have written for the G-Meter? This will help give the forum members a good idea of the operation of your application.

    Thank-you,

    Alan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "I learn when I succeed, but I learn more when I fail."
  • TGTG Posts: 36
    edited 2006-07-08 08:36
    thank you...give me a day to do this. I just got into Atlanta from Denver. Its 5AM. Tonight I will post all of my info.

    Thanks again
  • TGTG Posts: 36
    edited 2006-07-09 19:05
    Attached is the STAMP program. I am using a 10 position BCD. The g-meter is a MEMSIC MXD2125GL. (http://www.memsic.com/memsic/data/products/MXD2125J/MXD2125J.pdf). I need a 5v output and a 50hz sample rate.
  • pjvpjv Posts: 1,903
    edited 2006-07-09 20:15
    Hi Toby;

    Looks pretty simple.

    Your description is somewhat different from what the STAMP code (tilt vs acceleration as example), and schematic (more features such as A/D) would imply. I take it that your simpler description is what's needed?

    Cheers,

    Peter (pjv)
  • TGTG Posts: 36
    edited 2006-07-10 20:41
    Peter
    Good observations. I am measuring tilt using the G-Meter. The BCD value determines the threshold tilt value. Once the threshold is met, the output turns on until the tilt is below the threshold. The boards is a dual purpose board. Ignore the A/D.
    Thanks
    Toby
Sign In or Register to comment.