Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Accuracy of time


  • Please log in to reply
2 replies to this topic

#1 ZakieM

ZakieM

    Advanced Member

  • Members
  • PipPipPip
  • 33 posts
  • LocationIsrael

Posted 01 August 2011 - 06:58 PM

I was trying to see how accuracte the time is on the Netduino Plus, so took code of NTP and made the Netduino be updated from the network, then do almost nothing but Thread.Sleep and waited for 10 hours to check again DateTime.Now compared to the NTP and found the difference to be 6 seconds behind. This means that over a day we should expect 14-15 seconds lag. The test was made in ~25C environment. Is this reasonable? Is the best way to compensate on that is probe the NTP server once in few hours instead?
Zakie Mashiah
Just a curious guy

#2 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 02 August 2011 - 04:18 AM

The crystal of the Netduino has a typical accuracy of 100ppm. 6 seconds out of 36000 (10h) is about 170ppm. So the accuracy couldn't be much better than this. However, I think there could be some firmware issue related to the time management (e.g. some interrupt is lost, etc) Cheers
Biggest fault of Netduino? It runs by electricity.

#3 ZakieM

ZakieM

    Advanced Member

  • Members
  • PipPipPip
  • 33 posts
  • LocationIsrael

Posted 02 August 2011 - 09:36 PM

Thanks Mario. So basically we see about 70% more in ppm that we should, which means there are firmware issues. With the number of times I need to pull the USB out and in again because deploying or start debugging gets stuck, it is of no surprise that there "could be" firmware issues. I will test this with FEZ Panda II that I got at home to see if works better or not.
Zakie Mashiah
Just a curious guy




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.