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

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2022
  • 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/Enjoy-Mechatronics
    ♥ 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.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 28

  • @J_Creative
    @J_Creative ปีที่แล้ว +1

    Great,man

  • @HobbyHomeWorkshop
    @HobbyHomeWorkshop 10 หลายเดือนก่อน +3

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

  • @Theking196
    @Theking196 3 หลายเดือนก่อน +1

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

  • @jasonmare33
    @jasonmare33 10 หลายเดือนก่อน +1

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

  • @matteoricci9129
    @matteoricci9129 ปีที่แล้ว +5

    The title is misleading, this is a client on esp32

  • @muhammadadnanahmed8324
    @muhammadadnanahmed8324 10 หลายเดือนก่อน

    Good explanation, and prompt reply on all over comments.

    • @EnjoyMechatronics
      @EnjoyMechatronics  10 หลายเดือนก่อน

      Thanks a lot

    • @muhammadadnanahmed8324
      @muhammadadnanahmed8324 10 หลายเดือนก่อน

      Dear localtime hour or min could be taken in variable if possible so how could it be taken?

  • @PavolFilek
    @PavolFilek ปีที่แล้ว +1

    Beautiful

  • @rabiatuladawiyahbintizulki8441
    @rabiatuladawiyahbintizulki8441 4 หลายเดือนก่อน +1

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

  • @muhamadrizkanharinfaza5696
    @muhamadrizkanharinfaza5696 9 หลายเดือนก่อน +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

  • @HD_TOON
    @HD_TOON ปีที่แล้ว +2

    Nice video 👍

  • @carlosmor3254
    @carlosmor3254 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน +1

      No problem 😊
      I have talked about getting each value separately in this video
      th-cam.com/video/9kxcsa_2iIs/w-d-xo.html

    • @carlosmor3254
      @carlosmor3254 11 หลายเดือนก่อน +1

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  10 หลายเดือนก่อน +1

      No problem

  • @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 10 หลายเดือนก่อน

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

  • @williamperez5457
    @williamperez5457 5 หลายเดือนก่อน +2

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

  • @alfareizhel
    @alfareizhel 2 หลายเดือนก่อน +1

    where's the full code?

  • @EnjoyMechatronics
    @EnjoyMechatronics  ปีที่แล้ว +1

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

  • @frozeneye100
    @frozeneye100 9 หลายเดือนก่อน +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.