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.Ardupilot data - via xbee.avi
Replies
my ardustation is one of the first, but now it works. seems to be a timing-issue. running the UART with 38k or less works, 56k does not, mess-up the decoding?! but the whole thing is prone to hang-up, maybe the missing checksumms, I get only a few hunderts meters range.
Now I kicked the SW and make some modifications for more reability: use XBEE-APImode, tinyGPS-lib to decode and newSOFTserial from Mickael Hart. datas in openformat and logview to analyse the data. this works on the original HW.
http://www.logview.info/cms/e_logview_info.phtml
It looks good to squeeze all in a SFEfunnel, its job is to log on microSD (big missing on ardustation) and send openformat via softserial. this stream will be displayed on a max7456-OSD or a 4D-OLED (openformat-parser in 4Dskript not yet working).
also tests planed with a skinny+ XBEEshield+ speakJET, 8x8 LEDmatrix and 7segmentLEDs on a protoshield. the hole thing can be done with lilpad-arduino, seewing on a baseball-cap and listen to the data ;-)
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
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 tried with various code versions, but always seem to get 4 "+++.....” strings while the example contains 5 "+++ ...." strings. Most of the low rate (1Hz) strings ALT, CRS etc seem to have either 0 or fractional values, which differs greatly to the ones you provided. Other than that everything else seems fine.
Is there a way to 'fake' telemetry data so that I can send 'proper strings' directly to the Ardustation, hence bypassing the Ardupilot?