Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatic calibration #1

Open
HR-zju opened this issue Feb 12, 2023 · 2 comments
Open

automatic calibration #1

HR-zju opened this issue Feb 12, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@HR-zju
Copy link

HR-zju commented Feb 12, 2023

Hi, I was wondering how you got to know what time the clock is showing now, when you use ntp to calibrate the time.

@HR-zju
Copy link
Author

HR-zju commented Feb 12, 2023

By the way, can you provide a picture of the hardware connection

@nikzin96
Copy link
Owner

Hello,

you can find the project with the hardware connections here: https://www.instructables.com/Hollow-Clock-4/
just connect the pins I used in the sketch, but you can also just change the pins.

About your question: when you power up the clock you need to set it to 12 o´Clock, this is what i assumes. From there it sets itself. After that it only checks every 10 seconds if the time on the NTP server has changed and then takes the amount of steps specified. In my comment on the instructables project I said, that so far I have no feedback for the clock to know if it actually is correct. That could be a future improvement to include a hall sensor or similar to give it some feedback and correct any mismatches. The one I have running since around christmas is still perfectly correct.

To get the correct steps I made a test sketch to let it rotate some amounts and see if it´s still correct. Then I calculated the actual steps per rotatoion for my clock. This can be different for every clock because of differences in the mechanical parts.

I hope this helps you. If you have any further questions just let me know.

@HennieLP HennieLP added the enhancement New feature or request label Jun 9, 2023
@HennieLP HennieLP changed the title use ntp to calibrate automatic calibration Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants