WS2812 Ring LED Clock With NTP Server Using ESP32

Yeah, maybe you can consider it as a Hari Raya clock!

Introduction

Previously, I have shared on how to make NTP clock using dot matrix and ESP32. So, this time I would like to display on WS2812 ring LED. Maybe you can consider it as a Hari Raya clock! Before that, please read the following tutorial first.

Video

This video shows how to create ring LED clock with NTP server using ESP32.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is the sample program to create ring LED clock with NTP server using ESP32. Before that, you need to install 3 libraries:

  • NeoPixelBus by Micheal C. Miller V2.5.7 (Manager)
  • NTPClient by Fabrice Weinberg Version 3.1.0 (ZIP file)

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.

1 thought on “WS2812 Ring LED Clock With NTP Server Using ESP32”

  1. Whilst upload I get error

    Arduino: 1.8.12 (Windows 10), Board: “ESP32 Wrover Module, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), QIO, 80MHz, 921600, None”

    C:\Users\Surface\Documents\Arduino\Led60clock\Led60clock.ino: In function ‘void loop()’:

    Led60clock:87:32: error: ‘class NTPClient’ has no member named ‘getFormattedDate’

    formattedDate = timeClient.getFormattedDate();

    ^

    Multiple libraries were found for “WiFi.h”
    Used: C:\Users\Surface\AppData\Local\Arduino15\packages\esp32-husarnet\hardware\esp32\1.0.5\libraries\WiFi
    Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
    exit status 1
    ‘class NTPClient’ has no member named ‘getFormattedDate’

    Invalid library found in C:\Program Files (x86)\Arduino\libraries\MakeSpaceTitle_LEDMatrix: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\MakeSpaceTitle_LEDMatrix
    Invalid library found in C:\Users\Surface\Documents\Arduino\libraries\LED_matrix: no headers files (.h) found in C:\Users\Surface\Documents\Arduino\libraries\LED_matrix
    Invalid library found in C:\Users\Surface\Documents\Arduino\libraries\Matrix_LED_12816_PK: no headers files (.h) found in C:\Users\Surface\Documents\Arduino\libraries\Matrix_LED_12816_PK
    Invalid library found in C:\Program Files (x86)\Arduino\libraries\MakeSpaceTitle_LEDMatrix: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\MakeSpaceTitle_LEDMatrix
    Invalid library found in C:\Users\Surface\Documents\Arduino\libraries\LED_matrix: no headers files (.h) found in C:\Users\Surface\Documents\Arduino\libraries\LED_matrix
    Invalid library found in C:\Users\Surface\Documents\Arduino\libraries\Matrix_LED_12816_PK: no headers files (.h) found in C:\Users\Surface\Documents\Arduino\libraries\Matrix_LED_12816_PK

    This report would have more information with
    “Show verbose output during compilation”
    option enabled in File -> Preferences.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Soil Moisture Alarm Using CircuitPython on Seeeduino XIAO
Read Surrounding Temperature and Humidity Using Grove Beginner Kit
Program Seeeduino XIAO Using CircuitPython
Does Technology Make Us Feel Safe
Send Video to Telegram Bot Using Raspberry Pi Camera
Scroll to Top