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: 60

Attachments:

Reply to This

Replies to This Discussion

ArduStation defaults to 57k, which is right for the EM406. If you're using a uBlox, you need to change the speed to 38k
I am still using the EM406 but hopefully I will get the U BLOX on 'free day' . I have not changed the code, so the baud rates should match. Just noticed something: is 57.6K correct or 57.0K?
Yes, both LED's turn on. Yes, Xbee's are on same baud rate/pin id - successfully communicate between the computer and the autopilot. The code on the autopilot is V2.4 and the code on the Ardusatation is V1.2 (although when I open it in the IDE is says it is 1.1, while the folder is labelled V12).
I'm stumped. I'll try to replicate your error. If I can't it's probably a soldering problem.
Thanks for your help. I will a go at trying to retrace all the soldering joints.
Did you solved the problem? I have the same troubles: data will be decoded on the labview-station but not on the ardustation.

I sorted out some configurations that work:
direct connection with a cable between ardupilot and ardustation
XBEEexplorer on labview
XBEE mounted on the ardustation, FTDI-USBadaptor to PC, datas displayed on labview-station but NOT on the ardustation


the only difference is the voltage of the signals: direct connection is 5V, by XBEE the level is 3V3.
but thats normaly enought for the ATmega328 to be logic on..

funny and weired ;) have a hint??
I have the exact same setup and problem.
Trying to display 'real' values on the ardustation display, all I get is 0's.
I can see the data going to pin 2 of the ArduStation Atmega328 processor.
Any help would be great
Johnny
Johnny,

Do you have the Xbee set to the correct baud rate for the ArduStation. I believe it might be 38kbaud if you are using the Ublox GPS on the other end.

Just a thought.

Regards,
TCIII
Hi Thomas
I am using the EM406 GPS with the XBee’s, all on 57.6K baud.
It’s like nothing is getting into the processor data wise.???
Thanks still
Johnny
Has anyone bought and built an ArduStation in the last 3 weeks?
Is it working?
I replaced the processor and still cannot get to accept any data at any baud.
Funny, I do this for a living but this has got me bent-over.
I will take it to work with me in the morning and take a look at it under our inspection microscope.
Thanks
Johnny
Thank you, Rana
This information has helped greatly. Thanks for the video also.
Yesterday I put 4 waypoint flights on my aircraft in 10 to 15 mph winds.
Now if I can just figure out how to get rid of all the zeros (“Batt> 1236.0000000000”)
behind the decimal point of my battery display.
Thanks again
Johnny
Hi Rana
“why you want to remove all zeros after the decimal point”
Because on my ArduStation display the battery voltage numbers over run into the roll readout making the roll unreadable.
Guy’s I am a total n00b when I comes to this particular type of programming but I am learning thanks to you and diy drones.
I will try to get a photo up soon if you still would like to see.
Thanks again for all your help.
Johnny

RSS

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The third round was a reliablilty/aerial photography round for both planes and copters, which is now closed. Stay tuned for the next round, beginning soon.

A list of all T3 contests is here

 

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service