ArduinoGeneral

Xbee USB adapter v2 UART bridge problem

userHead ali.gr 2012-04-06 19:53:37 6501 Views6 Replies
Hi!
I tried to use the adapter for UART bridge in scheme
PC -- USB --> adapter --> Xbee --> different Xbee --> adapter -- UART --> receiver.
but adapter can't transmit any data via UART to receiver.
Other way, at USB bridge mode it works good and also it works with different UART adapter for Xbee.

I hope you will help me.
2012-04-14 23:34:48 [quote="Hector"]
Hi,


Which model Xbee's are you using? have you made sure the Xbee modules are properly configured?
[/quote]
Hello,

Both Xbee modules are Digi Xbee S1. I sure that I configure them right because with sparkfun's Xbee-UART board they works.
Also I found that transmitting starts after 3-5 minutes of trying to send data on 9600 baudrate.
userHeadPic ali.gr
2012-04-10 10:38:00 Hi,


Which model Xbee's are you using? have you made sure the Xbee modules are properly configured?
userHeadPic Hector
2012-04-10 00:34:29 [quote="Hector"]
Hi,


I am having trouble understand exactly what you are attempting to do. Could you post a picture of your wiring?
[/quote]

So sorry for my bad english.
Here is my scheme: [url=http://postimage.org/][img][/url]
[url=http://postimage.org/]free image hosting[/url]
I tried that scheme with other DFRobot Xbee USB v2.0 adapter and had the problem too. Also with Xbee-UART adapter without DTR pin that scheme works good. As I think the problem is in DTR pin. I didn't connect that, I used only 5v, GND, RxD and TxD pins. Is it wrong?

Also, I tried 9600 and 115200 baud rate, different sourse voltage and Xbee modules. The problem is in UART at DFRobot Xbee USB adapter v2.0.
userHeadPic ali.gr
2012-04-09 13:58:46 For IO expansion board, you need to set the dip on APC position. 

From your description, you need to press reset button to make it work. It looks like your code is not properly.  Please put some delay between serial.write. Please post your code here to make it easier for us to figure out the problem.
userHeadPic R2D2C3PO
2012-04-09 13:27:05 I'm having a similar issue using the expansion board to communicate via XBee to my computer.  The XBee attached to my computer is transmitting (I can see TX light) but the Arduino with the XBee doesn't transmit unless I press the reset button. 

A few questions:
- What position should the dip switches be in?  The default is all in the APC position.  But if I switch them to RS485, nothing works.  Can you post a picture
- Is there any reason why pressing the reset button would cause the serial communication to work?
userHeadPic lesley
2012-04-09 10:44:55 Hi,


I am having trouble understand exactly what you are attempting to do. Could you post a picture of your wiring?
userHeadPic Hector