Arduino Network Time Clock

Introduction: Arduino Network Time Clock

When pressing the button, the system connects to the local wifi and retrieves the current date and time from a remote network time server via NTP. The data will be shown on the display for about 10 seconds. After that, the system shuts down itself via soft off pin of the button. And then, the button can be pressed again.

Parts List:

Arduino source code and Fritzing files are included. You can play around with it.

Required additional libraries which are not included in the Arduino IDE:

  • TimeLib - Time is a library that provides timekeeping functionality for Arduino.
  • Adafruit GFX Library - This is the core graphics library for all Adafruit displays
  • Adafruit ST7735 Library - This is a library for the Adafruit 1.44" SPI display.

You can install these libraries under Windows in c:\Users\MyUserName\Documents\Arduino\libraries\

Share

    Recommendations

    • Fix It! Contest

      Fix It! Contest
    • Metalworking Contest

      Metalworking Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    3 Discussions

    0
    None
    Irwini

    1 year ago

    nice instruction! Can you please tell me how long does it take from power-on to time display?

    1 reply

    The first time, after a long time powered off, approx. 8 seconds, and if the wifi was recently contacted 4 seconds. I think it depends on the wifi access point and the internet router too. My arduino connects to an older Airport AP.