ESP32 NTP Server - Real Time Clock (NO RTC Module)

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • The "SimpleTime" sketch illustrates how you can set the clock using an NTP (Network Time Protocol) server on the internet.
    ► Get your first ESP32 board today and start exploring the world of IoT:
    👉 amzn.to/3AjPwTV
    👉 amzn.to/3oCu2Pz
    ● Introduction to ESP32: • Introduction to ESP32 ...
    ● ESP32 Wifi: • Connect ESP32 to WiFi ...
    ● Playlist Link: bit.ly/3TdXiq5
    --------------------------------------------------------------------
    FOLLOW ME:
    ● TikTok :
    / enjoy_mechatronics
    ● Facebook: / enjoymechatronics
    ● Github: github.com/Enj...
    ♥ Don't Click This! : bit.ly/3jvI8g6
    --------------------------------------------------------------------
    ► All content by Enjoy Mechatronics is 100% free. I believe that education should be freely available to everyone.

КОМЕНТАРІ • 36

  • @neilausten9404
    @neilausten9404 16 днів тому +1

    My time zone in Sydney is +10 hours but I had to put in +5 hours (18000) to get the correct time

  • @talalshamijo
    @talalshamijo Місяць тому

    Mashallah, very nice work and simplicity in presentation... Good luck

  • @hi_beemo1808
    @hi_beemo1808 2 місяці тому +1

    wlh m3alem sa7bi well done

  • @Theking196
    @Theking196 7 місяців тому +1

    Trying this out, how would I add multiple alarms to this through the day? And send a signal through one of the pins ?

  • @HobbyHomeWorkshop
    @HobbyHomeWorkshop Рік тому +3

    Hi! How could I get the displayed text to be in my language?

  • @muhammadadnanahmed8324
    @muhammadadnanahmed8324 Рік тому

    Good explanation, and prompt reply on all over comments.

  • @muhamadrizkanharinfaza5696
    @muhamadrizkanharinfaza5696 Рік тому +1

    this code is using NTP and RTC at the same time?. like we set ntp for resetting in 24H, and the RTC give a time every sec, after ntp resetting.
    -sorry my english so bad

  • @jasonmare33
    @jasonmare33 Рік тому +1

    can you show me how to set timer on esp32 NTP server on off relay set time thanks

  • @rabiatuladawiyahbintizulki8441
    @rabiatuladawiyahbintizulki8441 8 місяців тому +1

    how do i know how to copy the time zone and paste into code?

  • @williamperez5457
    @williamperez5457 9 місяців тому +2

    what happens if my time zone
    is -5 from UTC ?

  • @epiendless1128
    @epiendless1128 Рік тому +2

    Does this periodically update the local time from NTP?
    I'm looked at several tutorials, and seen a hint that it syncs every hour, but it gets glossed over.

    • @EnjoyMechatronics
      @EnjoyMechatronics  Рік тому +1

      Yep, it updates as long as it's connected

    • @Clinterpottrmus
      @Clinterpottrmus Рік тому

      ​@@EnjoyMechatronicshow often does it sync up with ntp server?

  • @Sekhar_Home
    @Sekhar_Home Місяць тому

    how to extract these time, date and month in int, or char variable.. please help

  • @matteoricci9129
    @matteoricci9129 Рік тому +5

    The title is misleading, this is a client on esp32

    • @kiran6468
      @kiran6468 3 місяці тому

      I is impossible for esp32 to be a NTP server they have atomic clocks

    • @matteoricci9129
      @matteoricci9129 3 місяці тому

      @@kiran6468 no depending on the tier, they might only have GPS or be relay, check the specs and the organisation of ntp

  • @J_Creative
    @J_Creative Рік тому +1

    Great,man

  • @HD_TOON
    @HD_TOON Рік тому +2

    Nice video 👍

  • @PavolFilek
    @PavolFilek Рік тому +1

    Beautiful

  • @carlosmor3254
    @carlosmor3254 Рік тому +1

    Great video!
    do you have the code to print the data on the LCD screen. I need separated values for Hours and minutes.
    Thanks in advance.

    • @EnjoyMechatronics
      @EnjoyMechatronics  Рік тому +1

      No problem 😊
      I have talked about getting each value separately in this video
      ua-cam.com/video/9kxcsa_2iIs/v-deo.html

    • @carlosmor3254
      @carlosmor3254 Рік тому +1

      @@EnjoyMechatronics Cool! I have seen it. So clear. Thanks a lot.

    • @EnjoyMechatronics
      @EnjoyMechatronics  Рік тому +1

      No problem

  • @alfareizhel
    @alfareizhel 7 місяців тому +1

    where's the full code?

  • @EnjoyMechatronics
    @EnjoyMechatronics  Рік тому +1

    ● Playlist Link: bit.ly/3TdXiq5
    ♥ Don't Click This! : bit.ly/3jvI8g6

  • @frozeneye100
    @frozeneye100 Рік тому +1

    Oh yes ntp… this video does not show the advantage and reason why an external rtc with a battery is needed… please give proper full information this is not a reliable rtc because if your internet goes off or if power fails or both you have no way to get proper time. Show how to make a sketch using a battery based external rtc access and store data and send when connection opens up again, then you will have a good video. Keep it up but this does not address etc with sleep or brownout etc. but cool project keep it up.