This is my first question to the forum, so bare with me. :-)
I am trying to make a GPS data transponder to send Date and Time data to a Nixie Clock I will be building shortly. The transponder will be at the attic where it can receive the GPS signals easily and will broadcast the serial data it receives with a HC-12 433Mhz serial transmitter. Which then will be received with another HC-12 in my Nixie Clock and will be used update the RTC once or twice a day. The GPS module I am using is a NEO-6M.
All this was working well, so, I decided to add an 16x2 LCD to the transponder unit to be able to see the time and satellite count etc. on it too... Then things went haywire...
At the initial test, I used the LiquidCrystal_I2C library to drive the display. The Neo6 is connected to the arduino (Nano) thru software serial (because I need the hardware serial to feed the data to the HC-12). Everything initializes OK, I have no trouble with printing an intro screen to the LCD in the setup section of the code, but whenever I print anything to it in the loop section (even an irrelevant random text) , the satellite count and the elevation data from the Neo6 starts returning 0 (zero). All the other data like, time, date and coordinates keeps feeding OK, but just these two return 0. There is nothing wrong in my code (edit: I meant "As far as I can see"). If I comment out just the lcd.print(whatever); line(s) in the loop section, the missing data starts feeding again in the serial monitor.
So, I said OK, this must be a quirk coming from the LiquidCrystal_I2C library (it is known not to play well with others) and removed the IC2 backboard from the display and connected it directly to the Arduino using the internal LiquidCrystal library. Well, nothing changed... Again, as long as I don't print anything to the LCD in the loop section, the satcount and elevation data feeds in without missing a beat, but, if I print even just one character to the LCD in the loop section, these two start feeding zeros, despite all the other data keep coming in OK.
I am at a loss here... Granted, I actually do not need these two values for my Nixie clock at all. All I need for the clock is the Time & date which keeps feeding perfectly and can be displayed on the LCD. But I really would like to display at least the satellite count on the transponder's display so that I can know whether I placed it at the right place where it can see the max number of satellites.
Anyone with a similar problem? Anyone with any sort of idea of why this is happening and how to fix it?
Thanks a lot!