Shop OBEX P1 Docs P2 Docs Learn Events
RF between two stamps... — Parallax Forums

RF between two stamps...

ArchiverArchiver Posts: 46,084
edited 2004-06-16 13:21 in General Discussion
In a message dated 6/15/2004 5:32:49 PM Eastern Daylight Time,
kaizen_mfk@h... writes:


> ANd now the problem , I can't make this work...
> Is there some soul out there , that have som short
> (or long) code sample that I can have ??
>
> I have some data a "word" that have the speed, that word I will send
> down to the second Stamp..
>

Have the airplane send

serout pin, baud [noparse][[/noparse]data, cr]

Count the number of bytes (n) in data

On the second stamp write

serin pin, baud, [noparse][[/noparse]STR serstring\n\13]
debug STR serstring, cr

At the beginning of your program declare

serstring var bytes(n)

I would first try sending a single byte from one Stamp to the other just to
make sure your Tx and Rx is working properly.

Sid


[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-06-15 21:46
    Hi everyone!

    I'm almost new to the stamp. Has only made one presure moniter with
    MAXIM 5100 and 1298 A/D converter, it works quit well. But then I
    have this hobby , modelairplane .....

    And like a letter in the "mail" the question come , how do I get the
    speed from my airplane down to my mastercomputer ....

    YES ! ther are some fine rf units... on the market..

    I ordered one transmitter (TX-SAW 8mW) and
    one reciver (RWS-434) direct.

    ANd now the problem , I can't make this work...
    Is there some soul out there , that have som short
    (or long) code sample that I can have ??

    I have some data a "word" that have the speed, that word I will send
    down to the second Stamp..

    Best regards Mikael , sorry for the spelling (I'm from Sweden so ...)
  • ArchiverArchiver Posts: 46,084
    edited 2004-06-16 13:21
    > Have the airplane send
    >
    > serout pin, baud [noparse][[/noparse]data, cr]
    >
    > Count the number of bytes (n) in data
    >
    > On the second stamp write
    >
    > serin pin, baud, [noparse][[/noparse]STR serstring\n\13]
    > debug STR serstring, cr
    >
    > At the beginning of your program declare
    >
    > serstring var bytes(n)
    >
    > I would first try sending a single byte from one Stamp to the other
    just to
    > make sure your Tx and Rx is working properly.
    >
    > Sid
    >
    > Thank's Sid I will make some testing tonight... time in sweden is
    14.00...
Sign In or Register to comment.