Shop OBEX P1 Docs P2 Docs Learn Events
Hanshaking using 2Stamps over an RF link — Parallax Forums

Hanshaking using 2Stamps over an RF link

cesces Posts: 2
edited 2007-03-19 23:59 in BASIC Stamp
I am having trouble handshaking using 2stamps over an RF link.
Can anybody help?
Thanks confused.gif

Comments

  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-03-19 23:23
    Can you give a little more detail on what you are trying to accomplish and how you are doing it?

    -Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    StampPlot - GUI and Plotting, and XBee Wireless Adapters
    Southern Illinois University Carbondale, Electronic Systems Technologies
  • cesces Posts: 2
    edited 2007-03-19 23:37
    Its two modules. The Idea behind it is that its an object reminder. So if your cell-phone for example is drop, or left behind, this device would monitor it. The Rf module used is an RF650. With this module you’re able to configure it, meaning setting up destination address, and reception address, baud rate, byte rate and output power. To make a long story short, the module which is the one attached to the person constantly transmits a signal. The other module on the cell phone receives that signal and sends a reply. If the modules on the cell phone does not receive an acknowledgement after a preset time it then sends a pin high with activates a vibrating motor. It also has the option of sending a different signal for the page button on module 1. So module 2 on the cell phone must be able to tell the difference between both signals. When it receives signal 2 it then sound off its buzzer and continues looking for the original signal. I am mostly looking for sample code to help with delays between signals.

    I hope this is clear?
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-03-19 23:59
    If you are waiting for an acknowledgement that never comes and need to time out, you can use the SERIN instruction with a timeout value. If it times out, you know you something is wrong.

    See the help files on using SERIN with a timeout. If this isn't what you are looking for, please try to clarify the problem you are having.

    -Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    StampPlot - GUI and Plotting, and XBee Wireless Adapters
    Southern Illinois University Carbondale, Electronic Systems Technologies
Sign In or Register to comment.