We just connected a couple of different GPS to a CR1000X and the time is not being changed when the difference is bigger than 100ms. Neither it changes when connected to a CR1000.
The PPS level is 3V for these GPS
In the GPS instruction the COM1 port is set as negative
PS: for the CR1000 the instruction to set the baud rate is: SetStatus("baudRateCOM1", 9600) but the CR1000X does not recognize it, I tried with ComC1 and similars, but no way, how can I set the baud rate for a Com port in the code for a CR1000X?
Forgot to say, the readings of the GPS are correct
In order to change the time, the GPS needs to stream the $GPRMC sentence. You can check to see what strings are being outputted by watching the GPS port in the terminal.
thanks for your answer.
yes, I can see the GPRMC sentence in theterminal emulator:
16:47:12.191 R 8,,240419,,,A*6B
replaced actual coordinates with 9999, but it seems to be fine, doesn´t it?
Also, reading the help for the GPS instruction the $GPGGA string must be there as well. Is that one coming though as well?
yes, the $GPGGA string is there too
16:47:13.299 R 7,1.32,444.8,M,49.7,M,,*45
I checked the PPS pulse with the tester and it is OK, so I guess there is something wrong with the code¿?
The instruction is simple, I don´t really know where to keep searching
To set Com port baudrate in the code you need to use SetSetting function.
This info can be found in the help file of CR1000X, the path is Campbellsci\Lib\CRBasicDefFiles\Crbasic1x.chm
Search for setsetting and it will have infos about a lot of things that you can set in the code.
Any other suggestion for the GPS time sync?