xSnowHeadx / FakeGPS

ESP8266-WTA-timeserver for Nixie-clocks from PV Electronics
GNU General Public License v3.0
18 stars 9 forks source link

Minor change for IV-17 Clock #1

Open gi1mic opened 4 years ago

gi1mic commented 4 years ago

I had to change the output string a bit to make this work with my IV-17 VFD Clock.

Its firmware seems to require a few of the fields (such as the time) to include a decimal point and some zeros otherwise it ignores the transmitted string.

New output string =

sprintf(tstr,"$GPRMC,%02d%02d%02d.00,A,0000.0000,N,00000.0000,E,00.0,0000.0,%02d%02d%02d,0.0,E,S", hour(loctime), minute(loctime), second(loctime), day(loctime), month(loctime), year(loctime) - 2000);

BTW, thanks the code works great!

xSnowHeadx commented 4 years ago

@gi1mic Thanks for the message. This will help other owners of a IV-14 clock.

0Bender commented 2 years ago

Hi ! For PV Electronics string -

sprintf(tstr, "$GPRMC,%02d%02d%02d,A,0000.0000,N,00000.0000,E,0.0,0.0,%02d%02d%02d,0.0,E,S", tmtime->tm_hour, tmtime->tm_min, tmtime->tm_sec, tmtime->tm_mday, tmtime->tm_mon + 1, tmtime->tm_year - 100);

OldTinkerer commented 9 months ago

...if necessary, have a look at the specs from Quectel which is the supplier for the used components in the PV Kits... Quectel L80-R GPS Protocol Specification.zip