Working with NMEA gps

Hi all,I'm currently working on a project of a high altitude return glider (that will hopefully fly back to a predesignated site on release. Now, to do this I require a GPS module that properly obeys the CoCom limit (I.e. uses the AND statement rather than OR).I have some past HABing experience and I use a lassen iQ. Now I've heard that the APM can accept NMEA data (which is what the lassen outputs) - is this a plug and play solution or would it require some modification of the arduino code?Secondly - I am going to be running my own telemetry system back from a separate ATMega328 this will be using the NMEA data from the lassen. So I need to have a way that both my ATMega328 and the APM can get the NMEA data. I've had a quick think and would like to know if it would be possible to code in somewhere in the main loop a quick serial transfer (possibly using NSS) to my ATMega328. Well, I ow it's possible but my question here is whether it would affect the running of the APM (perhaps it would mean it doesn't run at 50Hz?)?Thanks in advance!Adam

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • APM2.5 automatically recognises NMEA.  I am using an eagle tree gps v3 on my apm2.5.

  • Developer

    To enable NMEA, edit the file libraries/AP_GPS/AP_GPS_Auto.cpp, and un-comment the line:

    #define WITH_NMEA_MODE    1

    If you want to receive the same GPS data on two nearby devices, there is no need to "passthrough" the GPS data, but instead you can just connect the TX line from the GPS direct to the RX line of both CPUs ( and connect their ground wires together).

This reply was deleted.

Activity