🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    RTC (Without battery backup)

    Scheduled Pinned Locked Moved Micropython
    2 Posts 2 Posters 6.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      toddkrein
      last edited by

      In hunting down other issues, I came across several statements that the M5STACK Fire doesn't have a Real Time Clock (RTC). However, if I set the RTC with machine.RTC().dateTime(<Time tuple>), it seems to work. If I think read back with machine.RTC().dateTime(), it seems to be keeping time just fine.

      So is the issue that there isn't a battery-backup, and I'll have to set it each time I wake (which is just fine), or that the software for the RTC really doesn't work?

      1 Reply Last reply Reply Quote 0
      • felmueF Online
        felmue
        last edited by

        Hello @toddkrein

        you are correct, there is no RTC battery backup in M5Stack Fire.

        Please note: In sleep modes time accuracy might be affected depending on the clock source used.

        Please also refer to:
        https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/system_time.html

        Cheers
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post