After successfully getting the EM-406a to parse out data over the SiRf simulation software I attempted to use the standard GPS parsing code for the Adafruit GPS Logger Shield to send data over the serial inputs of an Arduino Mega.  Obviously communication pins 0 and 1 are used for the operation of the USB port on the Arduino Mega board.  Since this shield is suppose to be compatible with all the Arduinos does anyone have an idea on how to change the code and which of the uart pins to use that will work for the serial data?  Also what mode the EM-406a engine should be set to so that it outputs something the Arduino Mega can process?  I am a little stuck on this one.

Regards,

Skip

Seattle, WA

Views: 54

Reply to This

Replies to This Discussion

What's the "standard GPS parsing code"?
Chris,
If you go to the "Arduino GPS Data Logger" website and look at the code entitled: GPS Test Parsing Sketch.
This is the one that simply will not work. In the "Serial Monitor" screen of the Arduino sketch software I get the words GPS Parsing and Read but no data is transfered to the program. The EM-406 is working because I can read the data by just using the FTDI cable on the GPS shield. However no data transfers through the Arduino Mega when I attach it to the GPS Data Logger Shield. I tried changing the uart ports to TX1 and RX1 but I still can't parse data through the Mega.
Skip
Ah. Yeah, we don't use that. We wrote our own parsers. You can try the GPS tests in our test suite of the ArduPilot code zip file.
I will try those Chris. You have been most helpfull. Thanks again. Once I get some of these bugs worked out I am going to work on a Mega shield that incorporates some really great flexibility.
Regards,
Skip

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