Total Pageviews

Showing posts with label NTP. Show all posts
Showing posts with label NTP. Show all posts

Saturday, April 8, 2023

NTP clock on 4 OLED displays

    I wanted to created a special clock as a vintage clock with VFD display, so I realised ca easiest way is to use an i2c expander as TCA9584A chip/module.

   I used info from article Guide for TCA9548A I2C Multiplexer: ESP32, ESP8266, Arduino

   I used this schematic:
and I tested Santos's sketch:

   For a real NTP clock with DST selector (winter/summer time) I used this schematic and NTP_clock_TCA9548A_4OLEDs_1.ino sketch:
so combined schematic
   For DST=1 (summer time):
and for DST=0 (winter time)
  I uploaded 2 movies:

After than I added the feature to see clock as VFD display, as in article 
so you find how clock is in this video:
NTP clock with 7-segment numbers on 4 OLED displays (2)
   I moved the project from breafboard to a classical PCB (sandwich) with 2 PCBs):
so you can see the 2 other videos:

Bibliography:

Sunday, March 27, 2022

How to solve the issue with incorrect date/year extract from Unix time (with ESP8266 board)

original article


    A reader of my blogs announce my this issue about wrong conversion of the date/year when extract data from Unix Time (Epoch Time). Also, the solution for this issue is simple, like here: https://github.com/arduino-libraries/NTPClient/issues/149.

I open the Serial Monitor and epochTime is ok, but conversion to date not
- 1st step: TOOLS -> BOARD -> BOARD MANAGER
- 2nd step: ssearch ESP8266
- 3th step: search 2.7.4 version
- 4th step: wait to full install a old file
- 5th step: close Arduino IDE and restart Arduino IDE
- 6th: upload the sketch

    I tested and add some feature for clasical Morphing Clock:

Sunday, September 23, 2018

NTP clock using OLED Wemos Lolin ESP32

   I buy an interesting ESP32 development board module because it has built-in OLED display drived with SSD1306 chip (is classc 0.96" OLED display).
  I combine 2 sketches to use NTP clock data (see https://en.wikipedia.org/wiki/Network_Time_Protocol for more info). This sketch is ESP32_OLED_SSD1306_NTP_0.ino who use ESP32-OLED0.96-ssd1306 and NTPtimeESP libraries.
   You can see how is clock displayed on OLED display while whatching NTP clock using OLED Wemis Lolin ESP32 movie.