loading

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\

<p>nice instruction! Can you please tell me how long does it take from power-on to time display?</p>
<p>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.</p>
<p>Interesting application. Thanks for sharing.</p>

About This Instructable

1,237views

38favorites

License:

More by Swiss_IoT_DIY:Arduino Network Time Clock 
Add instructable to: