Receive problem with Xbee!
Microcontrolled
Posts: 2,461
I can't seem to get this. I just got my Xbee's and got the loopback working with X-CTU. I then used X-CTU on this program attached to transmit. It worked. Then I got it to recieve it and put the output on a display. No go. Checked all connections and I have it in AT (not API) mode so the PUB routines should run fine. However when I type into the terminal on the X-CTU program then I get nothing on the prop. No connections changed from the time of the transmit test, just nothing. Can someone please tell me what is wrong? I am using TX as DIN and RX as DOUT. Programs are attached. Thanks in advance.
Micro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't click on this.....
Micro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't click on this.....
Comments
TonyF
Micro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't click on this.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
images-team.ro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't click on this.....
I was able to get some simple 2-way communication working between props this way by specifying the MY and DL numbers between the devices. This way you can string multiple commands at once and this appeared to work for me.
Keep in mind, if you don't specify the AT commands in your program then your XBee has to be configured with the X-CTU software instead. These settings do not match what X-CTU will show since I'm not writing these values to the permanent storage. I think if you issues the "ATWR" command it will store these settings permanently, but I prefer to have the propeller set it up each time.