element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino internal clock inaccurate??
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 14 replies
  • Subscribers 392 subscribers
  • Views 1019 views
  • Users 0 members are here
  • clock
  • explodedclock
  • brass
  • collectable
  • antique
  • art
  • arduino
  • no4
Related

Arduino internal clock inaccurate??

jonivanart
jonivanart over 9 years ago

Hello! I am a newbie here and fairly new with the Arduino. I am building a piece of art that has a 150 year old clock as the main subject. I am going to use an Arduino to drive a stepper that runs the clock, a DC motor for the Chime drive (For visual effect) and a solenoid for the escapement mechanism also for visual effect. I've heard that the internal clock on the Arduino is inaccurate from others. What will I need to make it have an accurate output?image

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 9 years ago +3 verified
    Hi Jon, Interesting project! Will it not damage the mechanism though? Maybe something like that is worth a lot of money. You didn't say how accurate you wanted : ) Anyway, the Arduino clock is ok, but…
  • Robert Peter Oakes
    Robert Peter Oakes over 9 years ago +2
    It sounds like what you need is a very accurate pulse / time period, not he arduino actually keeping time Using an internet connected NTP client as sugested by shabaz would be an easy way to keep time…
  • jonivanart
    jonivanart over 9 years ago in reply to shabaz +1
    Thanks! To answer the first question. "Will it damage the clock and maybe it's worth a lot of money? I have plans to put the drive on the proper gear with the least amount of drag/pressure on the coupling…
Parents
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago

    It sounds like what you need is a very accurate pulse / time period, not he arduino actually keeping time

     

    Using an internet connected NTP client as sugested by shabaz would be an easy way to keep time with the arduino and will allow for drift over time to be corrected based on how often you re-synce with the NTP server, but between syncs it will drify a little

     

    What I think you really need though is a very precise pulse being sent to the stepper or solenoid, if you count the pulses or steps being sent and compare to the actual time after each NTP server sync, if too many pulses have been sent you can slow down ever so slightly, if too many then speed up a small amount, this way, the clock may be out from time to time but should correct it self automatically

     

    At least theory sounds right image

     

    Good luck

    Peter

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Robert Peter Oakes
    0 Robert Peter Oakes over 9 years ago

    It sounds like what you need is a very accurate pulse / time period, not he arduino actually keeping time

     

    Using an internet connected NTP client as sugested by shabaz would be an easy way to keep time with the arduino and will allow for drift over time to be corrected based on how often you re-synce with the NTP server, but between syncs it will drify a little

     

    What I think you really need though is a very precise pulse being sent to the stepper or solenoid, if you count the pulses or steps being sent and compare to the actual time after each NTP server sync, if too many pulses have been sent you can slow down ever so slightly, if too many then speed up a small amount, this way, the clock may be out from time to time but should correct it self automatically

     

    At least theory sounds right image

     

    Good luck

    Peter

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube