Hi all. I am having some problems trying to display 'real' values on the ardustation display, all I get is 0's.
I am using V1.2 code. The ASC LED blinks, while the RSS LED stays on (so it is receiving data?), I know the XBee Pro modules work because they work well when I use the Labview ground station. The XBee's are both on 57.6K baud.

On the plane side I am using the Sparkfun 3.3v regulated XBee explorer (which works when I use the Labview ground station), although I have also done tests with the Adafruit XBee explorer to no avail.

I have noticed a difference in the outputted data from this link - the 'STT:2' is missing.

Here is a screen capture of incoming data (there is no GPS lock so the LAT and LON = 0):
!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:46,CRS:0.00,BER:0,WPN:0,DST:0,BTV:11.
95,RSP:0,***
+++ASP:-13,THH:73,RLL:-60,PCH:-45,***
+++ASP:-13,THH:69,RLL:-60,PCH:-45,***
+++ASP:-13,THH:70,RLL:-60,PCH:-45,***
+++ASP:-13,THH:68,RLL:-60,PCH:-45,***

!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:46,CRS:0.00,BER:0,WPN:0,DST:0,BTV:11.
95,RSP:0,***
+++ASP:-13,THH:67,RLL:-60,PCH:-45,***
+++ASP:-13,THH:69,RLL:-60,PCH:-45,***
+++ASP:-13,THH:65,RLL:-60,PCH:-45,***
+++ASP:-13,THH:64,RLL:-60,PCH:-45,***

!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:46,CRS:0.00,BER:0,WPN:0,DST:0,BTV:11.
95,RSP:0,***
+++ASP:-13,THH:65,RLL:-60,PCH:-45,***
+++ASP:-13,THH:69,RLL:-60,PCH:-45,***
+++ASP:-13,THH:70,RLL:-60,PCH:-45,***
+++ASP:-13,THH:71,RLL:-60,PCH:-45,***

#Note: I have also tested the Ardustation with all the sensors and GPS (with a lock) but still no success.
Thanks for your time.

Tags: Ardustation, xbee

Views: 47

Attachments:

Reply to This

Replies to This Discussion

We've never got the Sparkfun Xbee adapters to work on the plane side. We use Adafruit on the plane side, and Sparkfun USB adapters on the ground.
I have tried both adapters on the plane side, both work when I use the Labview grond station, but neither work for the Ardustation.
Something interesting though is that with the Adafruit adapter (when on the plane side) does not light up the RSS LED at all, but data is still being transmitted as I can see it on the computer with Realterm, also the RSS LED on the Ardustation lights up but there are still only 0's.
Just checking one thing. Which GPS are you using? If you're using the uBlox, you've got to change all the Xbees to 38k baud.
I am still using the old EM-406 GPS.
The data you showed. Is that from the recieving xbee or the Aurdupilot?
That's from the recieving xbee. Here is some directly from the Ardupilot (withoout GPS connected):

!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:70,MSL:0.00,CRS:0.00,BER:0,WPN:0,DST:
0,BTV:11.88,RSP:0,***
+++,ASP:0THH:63,RLL:60,PCH:-60,STT:0,***
+++,ASP:0THH:70,RLL:60,PCH:-60,STT:0,***
+++,ASP:0THH:74,RLL:60,PCH:-60,STT:0,***
+++,ASP:0THH:76,RLL:60,PCH:-60,STT:0,***

!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:70,MSL:0.00,CRS:0.00,BER:0,WPN:0,DST:
0,BTV:11.88,RSP:0,***
+++,ASP:0THH:78,RLL:60,PCH:-60,STT:0,***
+++,ASP:-1THH:79,RLL:60,PCH:-60,STT:0,***
+++,ASP:-1THH:79,RLL:60,PCH:-60,STT:0,***
+++,ASP:-1THH:79,RLL:60,PCH:-60,STT:0,***
So just to be clear:

1) When you connect straight to your PC with the FTDI all data is fine.
2) When you connect via Xbee to your PC all data is fine
3) When you connect via Xbee to ArduStation, data is funky.

And in 3 you're using exactly the same Xbee modules and settings as 2?
Yes, that's right.
So how are you capturing that data?

Also, what version ArduPilot code are you using?
With Realterm (I use either the Adafruit xbee adapter or the Sparkfun FT232RL breakout board as the hardware or the Sparkfun 3.3v FTDI when interfacing directly with the Ardupilot).

I am using 2.4 code (successfully written to the 328 chip using th IDE), although when the AP first boots up it prints "V23" in Realterm.
Now I'm confused. How are you using Realterm when the Xbee is plugged into ArduStation?
Sorry, I misunderstood. Initially the xbee was plugged into the Ardustation, but when it displayed only 0's I removed it to see if it was receiving any data, hence plugged it into computer and used Realterm.

RSS

Groups

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service