Shop OBEX P1 Docs P2 Docs Learn Events
Serial link btw two Stamps. — Parallax Forums

Serial link btw two Stamps.

ArchiverArchiver Posts: 46,084
edited 2002-12-12 19:02 in General Discussion
Hello everybody!

I have this problem: I have to transfer two different informations from one
Stamp (a BS2p-24, always used as a sender) to another Stamp (a BS1, always the
receiver). The receiver must recognize the kind of the information received and
use it in the proper way. I'm thinking therefore to SEROUT&SERIN with WAIT
qualifier.

But the BS2p is usually very busy performing a lot of operations, compared to
which the periodic transmission of these two data to the BS1 is a while, and it
must remain a while.

By the other way, the BS1 has to drive a stepper motor that moves (slowly) the
needle of a compass-like dial, and a pwm output (or a serial DAC), depending to
the two data received.

The question is: what do you feel can it be the simplest interface and procedure
for connecting the two Stamps, considering that the master is the BS2p and
therefore the BS1 receiver must be able to update its operation at the minimum
change information from the sender? A pure asynchronous link is enough, or it's
better with the help of the flow-control pin? Could you give me an idea of the
two routines to be developed for the Stamps?

Thanks in advance.

Alberto.


[noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.