GPS failed checksum

RoverGPSCompass_aug20d.pde (11479Bytes)
AGV_editing_0.pde (9944Bytes)

Well first of all Hi everyone, although i've been visiting the site for a while this is my first post on LMR so here goes.

After seeing patrickmccabe's "Fundamentals of a GPS guided vehicle" tutorial i decided to give it a go. I got the code supplied in the tutorial to work without any trouble but when i started making some changes and adding to the code i ran into a few problems.

Im using the Arduino Mega, EM-406 GPS module, I2C compass, TEXTSTAR serial lcd and a few pushbuttons. I was trying to add a sort of menu to the start of the code so that i could save waypoints. The menu seems to work ok except that now im getting a lot of failed checksums, about 10 or 12 while im saving the waypoints and when the loop starts running within a minute or so the failed checksums get up to 10s of thousands' and the arduino seems to reset and the menu in void setup starts again.

Its think it must be something that i've added to the code but im not great at coding so i dont know what. I've tried using separate power for the gps, buttons and lcd in case that was causing the arduino to reset. I also tried disconnecting the lcd to see if that was it. I've tried removing bits of the menu code and adding delays here and there but i don't really know what I'm doing so it could easily be something fairly simple. Anyway i thought i'd post the code and see anyone could see what the problem might be or give me some ideas of things to try to solve the problem. Any help would be much appreciated.

James 

 

WOW 3829’s first post!

Welcome James. As I do not know anything about “Arduino Mega, EM-406 GPS module, I2C compass, TEXTSTAR serial lcd”, I will reduce my advice to: “sounds like you’ve got those pushbuttons under control, don’t change anywhing about that”.

But really, I just wanted extend you a belated Welcome James.