RTC Calibration program

Contributions to this software library are always welcome. Please ensure that you post program listings rather than .raw files. They give a reasonable idea of what your program does without having to load them into a DM42 and you can also include comments in your code. Check out the following link for a decoder/encoder: https://technical.swissmicros.com/decoders/dm42/

You can then copy/paste the listing and post it in "code" tags.
User avatar
ijabbott
Posts: 253
Joined: Fri Dec 15, 2017 2:34 pm
Location: GB-MAN

Re: RTC Calibration program

Post by ijabbott »

mcc wrote:
Thu Sep 05, 2019 6:54 pm
For me it is not totally clear from the instruction, whether I have to set the clock each time I do the calibration...
You just need to know how much it has lost or gained since the last calibration, and the date of the last calibration (assuming the current date set on the calculator is correct), and the previous calibration value. I find the easiest way to do that is to set the clock each time, and use the timestamp of the RTCCALIB.CFG file itself to record when it was last calibrated.

Mine has gained an additional 3 seconds in the 29 days since my previous calibration, which is about 1 ppm. So I should probably subtract 1 from my current calibration value and reset the time. I didn't bother with the program to determine this minor adjustment.
Thomas Okken
Posts: 1098
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: RTC Calibration program

Post by Thomas Okken »

I used the calibration program, and the results are excellent:

I synchronized my DM42 with time.gov at 7:05:00 PM EDT 2019-09-01

19 days later, at 10:24:00 PM EDT 2019-09-20, it was 67 seconds fast

The CALIB program returned value -43; clock re-synchronized

Now, another 16 days later, the clock is slow by less than 1/2 second. That's equivalent to about 10 seconds per year. I could wait a few months for the drift to build up to where I can do a second calibration step, but I don't think I'll bother. :D
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: RTC Calibration program

Post by grsbanks »

Thomas Okken wrote:
Mon Oct 07, 2019 1:12 am
Now, another 16 days later, the clock is slow by less than 1/2 second. That's equivalent to about 10 seconds per year. I could wait a few months for the drift to build up to where I can do a second calibration step, but I don't think I'll bother. :D
The resolution of the correction is probably lower than that anwyay. I.e. if you alter the calibration value by even 1, it'll probably gain over a second in 16 days and end up a bit further out in the opposite direction to the error in there now.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
HPMike
Posts: 439
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

Re: RTC Calibration program

Post by HPMike »

Amazing ! Over a month has passed since I made the last calibration and there is no discernible change in the time setting when compared to my atomic watch. IOW, the clock is currently accurate to within a fraction of a second per month, which I find to be almost unbelievable. When I began the calibration process, the clock was wildly fast, gaining over a minute per month.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: RTC Calibration program

Post by Walter »

HPMike wrote:
Thu Oct 24, 2019 3:36 pm
Amazing ! Over a month has passed since I made the last calibration and there is no discernible change in the time setting when compared to my atomic watch.
Amazing! You own an atomic watch! :o May I ask you for a picture? Thanks in advance. 8-)
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
HPMike
Posts: 439
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

Re: RTC Calibration program

Post by HPMike »

Walter wrote:
Thu Oct 24, 2019 4:00 pm
HPMike wrote:
Thu Oct 24, 2019 3:36 pm
Amazing ! Over a month has passed since I made the last calibration and there is no discernible change in the time setting when compared to my atomic watch.
Amazing! You own an atomic watch! :o May I ask you for a picture? Thanks in advance. 8-)
Sorry, it is top secret. ;)
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: RTC Calibration program

Post by Walter »

HPMike wrote:
Thu Oct 24, 2019 4:16 pm
Walter wrote:
Thu Oct 24, 2019 4:00 pm
HPMike wrote:
Thu Oct 24, 2019 3:36 pm
Amazing ! Over a month has passed since I made the last calibration and there is no discernible change in the time setting when compared to my atomic watch.
Amazing! You own an atomic watch! :o May I ask you for a picture? Thanks in advance. 8-)
Sorry, it is top secret. ;)
I understand - America first!
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
H2X
Posts: 885
Joined: Tue Apr 25, 2017 8:00 am
Location: Norðvegr
Contact:

Re: RTC Calibration program

Post by H2X »

HPMike wrote:
Thu Oct 24, 2019 4:16 pm
Walter wrote:
Thu Oct 24, 2019 4:00 pm
HPMike wrote:
Thu Oct 24, 2019 3:36 pm
Amazing ! Over a month has passed since I made the last calibration and there is no discernible change in the time setting when compared to my atomic watch.
Amazing! You own an atomic watch! :o May I ask you for a picture? Thanks in advance. 8-)
Sorry, it is top secret. ;)
Isn't it also quite small? :D
What is the metric tensor in imperial units?
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: RTC Calibration program

Post by toml_12953 »

H2X wrote:
Thu Oct 24, 2019 6:43 pm
HPMike wrote:
Thu Oct 24, 2019 4:16 pm
Walter wrote:
Thu Oct 24, 2019 4:00 pm

Amazing! You own an atomic watch! :o May I ask you for a picture? Thanks in advance. 8-)
Sorry, it is top secret. ;)
Isn't it also quite small? :D
The atomic watch itself is small but its reactor control rods are 2 meters long! :)
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
User avatar
stefanoaz
Posts: 3
Joined: Sun Apr 22, 2018 8:25 pm

Re: RTC Calibration program

Post by stefanoaz »

Thanks for this feature. I remember it was available in my otherwise unloved HP48, and I was hoping to see it in the DM42. -16.2 ppm dialed in. Always nice to have accurate time.
HP-41C, 48SX, DM-42 s/n 830
Post Reply