If you want to get your project reliable use the hardware serial for the GPS connection and if really necessary, use the SoftwareSerial for debugging output because then you can control, when the interruption happens. This has the drawback that you need a USB2Serial adapter for the connection to the PC but that's necessary only during debugging. Alternatively you may choose a Mega2560 (4 hardware serials) or a Leonardo (USB debugging without using the hardware serial).
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16