VK4GHZ Thunderbolt display 2020 date error

ATUs, PSUs, Rotators, Test Equipment, components, etc
Post Reply
User avatar
VK6XLR
Frequent Poster
Posts: 61
Joined: Sun Sep 13, 2009 3:03 pm
Location: Perth WA
Contact:

VK4GHZ Thunderbolt display 2020 date error

Post by VK6XLR » Thu Jan 02, 2020 11:23 am

My Thunderbolt tells me it's 33 December 2019 today. Wonder if others shows the same?

Tried a power cycle and survey, no change.
Is there a simple fix?
Rick Kowalewski
-- Perth, WA, 6530 -- OF77xw --
VK6RK

User avatar
VK4GHZ
Forum Diehard
Posts: 1933
Joined: Mon Jul 04, 2011 10:39 pm
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK4GHZ » Thu Jan 02, 2020 6:47 pm

VK6XLR wrote:My Thunderbolt tells me it's 33 December 2019 today. Wonder if others shows the same?

Tried a power cycle and survey, no change.
Is there a simple fix?
Which 'Thunderbolt display'?
One of mine?

When was the last time it displayed the correct date?

I happen to have my Thunderbolt running yesterday and I noticed it was displaying the correct date.

I'll have a look tomorrow when I'm home again.

Sent from my SM-G970F using Tapatalk
Adam, Brisbane
https://vk4ghz.com | VK4GHZ on Youtube
10 things that happen when you stop checking Facebook constantly: http://tiny.cc/t5h7cz

Minimising my exposure to fools & attention seekers - self isolating from Facebook!

User avatar
VK6XLR
Frequent Poster
Posts: 61
Joined: Sun Sep 13, 2009 3:03 pm
Location: Perth WA
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK6XLR » Thu Jan 02, 2020 7:23 pm

VK4GHZ wrote:
Thu Jan 02, 2020 6:47 pm
Which 'Thunderbolt display'?
One of mine?

When was the last time it displayed the correct date?
Yes, it's one of yours Adam with v2.2 installed.
Last correct date would have been prior to New Years day. Hadn't taken much notice until today.
Rick Kowalewski
-- Perth, WA, 6530 -- OF77xw --
VK6RK

User avatar
VK4GHZ
Forum Diehard
Posts: 1933
Joined: Mon Jul 04, 2011 10:39 pm
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK4GHZ » Fri Jan 03, 2020 9:38 am

Arghh!

Thanks for the heads up, Rick.

20200103_083532_1600.jpg
Come to think of it, it was actually the 31st Dec 2019 I had it running, not yesterday.

Lucky I kept 6 pages worth of hand written notes from July 2017 (WNRO fix) to refer to.

20200103_084102_1600.jpg

Looks like you will only need to update one of the PICAXE 28X2 programming 'slots'.

Get out your PICAXE programming leads.
I will post the update here when the time comes.

As if I didn't have enough on my plate already. }:[ :cry:
Adam, Brisbane
https://vk4ghz.com | VK4GHZ on Youtube
10 things that happen when you stop checking Facebook constantly: http://tiny.cc/t5h7cz

Minimising my exposure to fools & attention seekers - self isolating from Facebook!

User avatar
VK4GHZ
Forum Diehard
Posts: 1933
Joined: Mon Jul 04, 2011 10:39 pm
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK4GHZ » Fri Jan 03, 2020 4:13 pm

Update

I intend to release the fix in three versions.
Choose the version that you are happy with.

1) v2.3ND
"No date"
Consider this as future proof. :J
Instead of date, this emphasises time mode.
If you're not sure of the date, you can always look at your watch or phone!

TBolt in GPS time mode
TBolt in GPS time mode

TBolt in UTC time mode
TBolt in UTC time mode

2) v2.3RM
"Receiver mode"
Also future proof.
Instead of date, this displays an abbreviated version of the receiver mode that is displayed on page 2.
TBolt in Over Determined Clock mode
TBolt in Over Determined Clock mode

TBolt in Full Position 3D mode
TBolt in Full Position 3D mode


3) v2.3
Not written yet.
This intends to display the calculated date from Week number and TOW, hopefully without any coding/math errors.
No guarantees with this, and if it fails at any time you will have two other versions to choose from!


Keep watching here for the PICAXE .bas files. :popcorn:
Adam, Brisbane
https://vk4ghz.com | VK4GHZ on Youtube
10 things that happen when you stop checking Facebook constantly: http://tiny.cc/t5h7cz

Minimising my exposure to fools & attention seekers - self isolating from Facebook!

User avatar
VK4GHZ
Forum Diehard
Posts: 1933
Joined: Mon Jul 04, 2011 10:39 pm
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK4GHZ » Fri Jan 03, 2020 5:37 pm

V2.3

I'll monitor this until the next week rollover (Monday) and see how this goes.
Simple matter of subtracting 1024 from the reported (but incorrect) week number.

20200103_173414_1600.jpg
Photo taken at 17:34:13 local (UTC +10)


Thunderbolt is reporting this week, which is week #2086 on the GPS calendar, as week # 1062.

Subtracting 1024 in a 10-bit world is the same as adding 1024 (1062+1024=2086), and the date comes out being correct when integrated into the code I developed back in 2017 for the WNRO fix.

Capture.JPG
Adam, Brisbane
https://vk4ghz.com | VK4GHZ on Youtube
10 things that happen when you stop checking Facebook constantly: http://tiny.cc/t5h7cz

Minimising my exposure to fools & attention seekers - self isolating from Facebook!

User avatar
VK6XLR
Frequent Poster
Posts: 61
Joined: Sun Sep 13, 2009 3:03 pm
Location: Perth WA
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK6XLR » Fri Jan 03, 2020 5:43 pm

Nice work Adam :thumbup:
Will have to find the hiding programmer :)
Rick Kowalewski
-- Perth, WA, 6530 -- OF77xw --
VK6RK

User avatar
VK4CZ
Forum Diehard
Posts: 710
Joined: Mon Jan 02, 2006 8:14 am
Location: Clear Mountain - Brisbane (Nth West) - QG62lp
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK4CZ » Fri Jan 03, 2020 7:25 pm

Well done. :beer:
A good result, even if unwanted effort. :thumbup:
Scott VK4CZ
Clear Mountain QG62lp
http://vk4cz.blogspot.com/

User avatar
VK4GHZ
Forum Diehard
Posts: 1933
Joined: Mon Jul 04, 2011 10:39 pm
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK4GHZ » Mon Jan 06, 2020 4:37 pm

Lots more work done on this today.

Date calculation support has now been extended up till the end of 2032.
Basically, as much as I can squeeze into the remaining memory.

I discovered a bug in the code that was used to determine whether it was a leap year, or not.
The code as of yesterday would have failed in March 2024, the next leap year.
This has now been fixed.

As a leap year check, the GPS week number was hard-coded in for the first full week of March.
This was done for each year up to 2032.

eg: This photo was taken at this point in the week (Monday afternoon), but in GPS week # 2721.
Pointing to leap year check byte.<br />This was removed after testing.
Pointing to leap year check byte.
This was removed after testing.

This correlates with the GPS calendar.
GPS-Week-2721.PNG

How the display looks now.
20200106_153402_1600.jpg

You will need to program your PICAXE 28X2 with the two files below.
#slot0
#slot1

Do not be concerned with the slot numbers, as they are hard-coded in.
Do not tinker with them - just program both of these files.
Order does not matter.

TBoltLCD Slot0 v23.bas
(20.61 KiB) Downloaded 29 times
TBoltLCD Slot1 v23.bas
(38.37 KiB) Downloaded 27 times

I will upload the complete set to my own website in the next few days, along with detailed instructions on how to program your PICAXE.

This will include the versions that display the abbreviated RX mode or emphasis the time mode instead of the date (as described a few posts back) if you prefer those instead.


Now, to get back to the things I had planned for this week.

:thumbup:
Adam, Brisbane
https://vk4ghz.com | VK4GHZ on Youtube
10 things that happen when you stop checking Facebook constantly: http://tiny.cc/t5h7cz

Minimising my exposure to fools & attention seekers - self isolating from Facebook!

VK1JA
Forum Diehard
Posts: 358
Joined: Tue Sep 14, 2010 9:50 pm

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK1JA » Mon Jan 06, 2020 7:33 pm

Thanks Adam!

Now to find that programming cable that I packed before we moved. It might be easier to make a new one up....

User avatar
VK6XLR
Frequent Poster
Posts: 61
Joined: Sun Sep 13, 2009 3:03 pm
Location: Perth WA
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK6XLR » Mon Jan 06, 2020 10:50 pm

Thanks once again, Adam, for updating. It is appreciated :)
Rick Kowalewski
-- Perth, WA, 6530 -- OF77xw --
VK6RK

User avatar
VK4GHZ
Forum Diehard
Posts: 1933
Joined: Mon Jul 04, 2011 10:39 pm
Contact:

Re: VK4GHZ Thunderbolt display 2020 date error

Post by VK4GHZ » Tue Jan 07, 2020 1:23 pm

Say good riddance to 2019!

All versions described above along with programming instructions have now been posted.

Image http://vk4ghz.com/thunderbolt-display-2020-date-fix/

While you're there, click on the ads.
And then close the new browser tab immediately!
I earn a few cents if you do that.

Image
Adam, Brisbane
https://vk4ghz.com | VK4GHZ on Youtube
10 things that happen when you stop checking Facebook constantly: http://tiny.cc/t5h7cz

Minimising my exposure to fools & attention seekers - self isolating from Facebook!

Post Reply