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.
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.
Comments
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
I hope this is clear?
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