Can’t seem to get the xb pro working for my application. I’m using them for just a hard line replacement to tune ecu’s with. (replacing the serial cable). But for some reason they won’t stay connected to each other. The tuning software connects and disconnects constantly. I’ve set the baud rate as fast as it will go and that helped a little. It won’t connect at all at slower speeds. Any body have any ideas?
Some ideas
Use the lowest baud rate that your ECU-side device will tolerate.
- Put a PC on each end - connected to serial ports. Prove that this link-up is reliable. If not reliable, the issue is with the XBees, or extreme RF interference (try a different XBee channel - large change). Otherwise, detail for us the XBee configuration you have and there’s a chance you have a mistake.
when the above works fine…
-
The XBee (and all like-devices) collect data from the serial port for x amount of time then batch it to the other end in one burst. The application/hardware you’re using may insist on a different strategy on how data is grouped. This gets complicated, but if you can find out what the device expects, and if this is even the problem, perhaps we can find some settings to change.
-
Perhaps the ECU tuning software expects some or all of the serial port lines called RTS, CTS, DCD, DTR, DSR to work. They will not, with an XBee link - only serial data bi-directionally works. No solution to this other than using a true wireless serial link such as
http://www.moxa.com/product/NPort_W22502150_plus.htm single port.
http://www.lantronix.com/device-network … e-servers/ dual or single port
The serial works on just the rx and tx lines I know that for sure. I’ll see if I can find out the other info. I’ll also try the channel settings first.
channel settings made things worse. Here are a couple of links that may be of some help.