Hello, thank you for taking the time to read my post.
I am trying to build a GPS guided robot based upon this(https://www.instructables.com/id/How-to-Build-a-GPS-Guided-Robot/) instructable.
I have had to heavily modify the code because I am using a newer magnetometer and a different gps module. The GPS I am using is Goouuu Tech GT-U7, their website lists this datasheet.
I am using the tinyGPSPlus library, and it worked perfectly until a week ago. The code would register and print how many satellites I was connected to on Monday. On Wednesday(when the part I needed came in) despite no changes being made to the code, it stopped working. I figured maybe someone else changed it, so I reverted to a backup I had and it still didn't work. I tried a new GPS module, it still didn't work. However, the deviceExample from tinyGPS does display how many satellites are connected. I am not sure why, but I'm guessing it has to do with either the arduino I'm using, or the Encode function. I am unsure of how to implement the encode function into the larger project, and I hope I don't have to seeing as I didn't need it before.
I am using a mega2560 and have bluetooth, a motorshield, an ultrasound sensor, and a magentometer connected to it. I have had issues with memory before, but thought I had it resolved, so I don't expect it to be that.
I really appreciate any help, if you need me to upload the tinyGPSPlus library(or anything else) I can.
Sorry about the 9 attachments, 8 of them are one program, it is split up into multiple files, they're all one program except for device example, which is the one which will actually read the GPS. If you don't want to deal with the whole program you really only need GPS_Guided_RoboEVERYTHINGWORKSDONOTEDIT.ino and Startup.ino.
Bluetooth.ino (4.34 KB)
Collision_Avoid.ino (1.22 KB)
Go_Waypoint.ino (3.68 KB)
GPS_Compass.ino (7.41 KB)
GPS_Guided_RoboEVERYTHINGWORKSDONOTEDIT.ino (9.85 KB)
Startup.ino (1.37 KB)
Steering.ino (14.6 KB)
Sweep.ino (1.05 KB)
DeviceExample.ino (6.86 KB)