06.11.2019, 09:49
There's no ready-made script but NMEA protocol is fairly simple (ASCII-based). You need to read lines from serial port and split them into chunks separated by ",". Then extract time/date from field values. There are also GPS receivers with RS232. These need an extra power supply but can have longer cables compared to USB.