nodeMCU #3 webserver: Time and Date using NTP

Ғылым және технология

In this video we use ezTime library to get current date and time from online NTP servers. If nodeMCU has access to Internet, it will sync time using NTP servers. This way you don't have to connect RTC (Real Time Clock) module to keep track of time.
Link to source code: drive.google.com/file/d/1kBFa...
Text to C/C++ strings converter: tomeko.net/online_tools/cpp_te...

Пікірлер: 9

  • @window.location
    @window.location4 жыл бұрын

    Thanks a lot . This is the simplest one Also thanks for eztime creator

  • @troyd-motorsport9933
    @troyd-motorsport99334 жыл бұрын

    Thanks for pointing this out. Just needs some minor tweaks for the ESP32 and good to go

  • @SFtJ2503
    @SFtJ25035 жыл бұрын

    how to change time zone?

  • @TehnoManik

    @TehnoManik

    5 жыл бұрын

    In setup function, replace "de" in myLocalTime.setLocation(F("de")) to your country code (uk,it,hk....).

  • @javiers.8274

    @javiers.8274

    5 жыл бұрын

    @@TehnoManik I´m in Germany but "de" gives me 2 hours delay. Can you please tell me which code sould I use?

  • @TehnoManik

    @TehnoManik

    5 жыл бұрын

    Try this: Timezone tzBerlin; tzBerlin.setLocation("Europe/Berlin");

  • @AjaySharma-vz9ei
    @AjaySharma-vz9ei5 жыл бұрын

    Can u provide the code

  • @TehnoManik

    @TehnoManik

    5 жыл бұрын

    Link to source code is in video description.

Келесі