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

    • Organization Contest

      Organization Contest
    • Epilog X Contest

      Epilog X Contest
    • Sweet Treats Challenge

      Sweet Treats Challenge

    3 Discussions

    0
    None
    Irwini

    2 years ago

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

    1 reply
    0
    None
    Swiss_IoT_DIYIrwini

    Reply 2 years ago

    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.