I've been breadboarding some circuits with Xbee's tied to Picaxe 20x2's to learn how to get them to work together. I'm running in one direction, Picaxe (or computer) --> Xbee --> Xbee --> Picaxe --> LCD. Thanks to many of the forum threads it's working fairly well.
The next phase is trying to initiate hardware flow control and there isn't a lot of information in the forums, none that I could find specific to Xbee. Reading offsite forums/sites has given me what I think is the right idea, I was hoping if I posted my sequence through someone could point out my errors and direct me to a good source of info.
Anyway, here is what I think is supposed to happen:
my picaxe code decides to send so it asserts the Xbee RTS pin low
when the Xbee is ready it brings CTS low
my code sees CTS low and sends a line
my code brings RTS high
Xbee sends the line to Xbee2
Xbee2 asserts its RTS low
my picaxe code 2 sets CTS low and receives a line
my code sets CTS high and then deals with the data
repeat
Am I on the right track, or totally off the wall.
The next phase is trying to initiate hardware flow control and there isn't a lot of information in the forums, none that I could find specific to Xbee. Reading offsite forums/sites has given me what I think is the right idea, I was hoping if I posted my sequence through someone could point out my errors and direct me to a good source of info.
Anyway, here is what I think is supposed to happen:
my picaxe code decides to send so it asserts the Xbee RTS pin low
when the Xbee is ready it brings CTS low
my code sees CTS low and sends a line
my code brings RTS high
Xbee sends the line to Xbee2
Xbee2 asserts its RTS low
my picaxe code 2 sets CTS low and receives a line
my code sets CTS high and then deals with the data
repeat
Am I on the right track, or totally off the wall.