I assembled the ArduPilot Mega and oilpan, and everything seems to work except for the GPS.  I'm using the 1Hz EM-406A, and tried connecting to both the oilpan 6-pin connector, and the ADP mega connector, but I don't get any output when running the GPS_NMEA_test or GPS_UBLOX_test.  The init message is written to the serial window but no position data (i.e. no valid data...).

Anyone else had similar GPS issues with mega?

Views: 37

Reply to This

Replies to This Discussion

How long have you let it sit powered up? My UBLOX took a while to get a fix initially... Oh, and the correct port to be using is the one on ArduPilot Mega board... :)
I've let it set for many minutes... After about 30 seconds, the red led on the EM406 starts to flash about once per second - does this indicate a signal lock?
Ken,

There doesn't look to be any code for EM406 in the mega libraries. You may get it to work in NMEA mode, but there is no specific initialisation code. You would need to do your own init to set the output to NMEA @38400.
When you say do my own init, are you talking about in the setup function in GPS_NMEA? I tried doing "serial.begin(38400)", but still no GPS output in the serial window except for "GPS NMEA library test" message at startup...
Sorry, that was slightly unclear. The GPS_NMEA setup function looks to simply set up ArduPilot.

There is no code to initialise the GPS unit to the correct baud rate etc. I meant you would have to provide your own initialisation code to set the GPS to output NMEA strings at 38400.
Ken, I think only Ublox is supported in APM for now if i am not mistaken. So EM-406A won't initiate without the required code
OK, I see. I think I'll get the Ublox and try that.

Thanks to everyone for their help!
Ken

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service