gregcotten
Member
Hello,
I purchased a 32.768kHz crystal (http://www.dipmicro.com/store/XC4-32768) and soldered it to the board. It seems to work as expected but has a HUGE amount of drift. Is it the crystal, temperature, or both? Over the course of 30 minutes it has drifted about 40 seconds slower - that's even after using Teensy3Clock.compensate(2000); in my code! I'm setting it using the same code in the Time example and getting my unix timestamp on my mac by running:
Thoughts? Is this normal? The room I am testing this in is unfortunately in the upper 80s Fahrenheit so that could be contributing but I feel like compensating 250ppm should make this better...
Thanks in advance!
I purchased a 32.768kHz crystal (http://www.dipmicro.com/store/XC4-32768) and soldered it to the board. It seems to work as expected but has a HUGE amount of drift. Is it the crystal, temperature, or both? Over the course of 30 minutes it has drifted about 40 seconds slower - that's even after using Teensy3Clock.compensate(2000); in my code! I'm setting it using the same code in the Time example and getting my unix timestamp on my mac by running:
Code:
date +%s
Thoughts? Is this normal? The room I am testing this in is unfortunately in the upper 80s Fahrenheit so that could be contributing but I feel like compensating 250ppm should make this better...
Thanks in advance!
Last edited: