Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Power backup for RTC

    Scheduled Pinned Locked Moved LoPy
    9 Posts 3 Posters 2.5k Views 3 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.
    • R Offline
      rvandam
      last edited by rvandam

      I there a way to add a backup battery for the RTC? I noticed that the RTC loses his date after a power loss. It would be great if I could prevent that with a battery or so.

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @rvandam
        last edited by

        @rvandam
        if you attache battery to your board it will be preserve RTC
        but i do not suppose that it is possible to power up "only RTC"
        When sleep modes will be enabled then you can sleep board and only RTC will be work and eat battery.

        think about people first, then computers

        1 Reply Last reply Reply Quote 0
        • R Offline
          rvandam
          last edited by

          Thanks for the reply.

          Yes it is only meant to preserve rtc time in case of power failure, not to power the entire board.

          Where and with which voltage do I connect the battery?

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            abilio @rvandam
            last edited by

            @rvandam, if you have an expansion board, there is a connector for a Lithium battery (rechargeable). If not, there are several ways you can go. Low power modes will be added in the upcoming releases, so that will also help.

            1 Reply Last reply Reply Quote 0
            • R Offline
              rvandam
              last edited by

              I meant to power the board with a net adapter. Lots of rtc chips have the possibility to have a coin cell 3V backup battery, only for memorizing the time after a power loss. I was hoping I could connect a coin cell for this purpose.

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                abilio @rvandam
                last edited by

                @rvandam, yes, you'll be able, after we enable the low power mode.

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rvandam @abilio
                  last edited by

                  @abilio thank you, I understand now. Glad this feature will be available in the future.

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    abilio @rvandam
                    last edited by

                    @rvandam, though still untested, most probably you'll need to wire the external coin cell to the 3.3V pin using something a schottky diode. There should also be a way to detect the power loss to put the board in low power consumption mode as soon as the main supply is gone. None of this is done automatically, as is application specific.

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      rvandam @abilio
                      last edited by

                      @abilio I thought it would be possible to power only the RTC. Going with your solution (power backup for the whole board) I think I will go for a battery pack option (in combination with the schottky diode).

                      My intention is to power the boards with 5v so a 4,5V battey pack must do the job.

                      Powerlosses here are incidental, and not very long.

                      Thanks for the help!

                      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
                      • 1 / 1
                      • First post
                        Last post

                      Pycom on Twitter

                      Pycom