Shop OBEX P1 Docs P2 Docs Learn Events
Parallax transceivers and Stamps — Parallax Forums

Parallax transceivers and Stamps

Mark@TecMark@Tec Posts: 2
edited 2008-10-28 17:26 in Learn with BlocklyProp
I have Parallax 912 MHz·transceivers (wireless, obviously)·that apparently work with a simple serin or serout command.· The problem is that the received message is not what was sent.· In fact, I'm not even sure that the received message is ASCII.· As far as I can tell, it ought to be.· Has anybody come across a similar problem?· Am I missing something?

The Parallax part number is 27985.

The code that I am using is quite simple:

(Transmitter)
DO
·· DEBUGIN letter
·· SEROUT 8, 16468, [noparse][[/noparse]letter]
·· PAUSE 10
LOOP

(Receiver)

The baud rate seems to be either good or preset (default).· If it wasn't, I would not be getting anything through.· Communication is asynchronous.· The 10 millisecond pause does not appear to be a problem since I tried other delays.

Comments

  • SRLMSRLM Posts: 5,045
    edited 2008-10-28 15:26
    You have to send data and receive it at 9600 baud. It says so right on the module. Take a look at this thread that I made for the transcievers.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-10-28 17:26
    You're using inverted baud mode, but the modules require non-inverted. For a BS2 the baud mode would be 84.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.