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

    Advice on waking up the LoPy4

    Scheduled Pinned Locked Moved Discussion
    lopy4low powerinterrupt
    3 Posts 2 Posters 863 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.
    • dwsD Offline
      dws
      last edited by dws

      I'm building a device that will have a button that activates the LoPy to send a short LoRa transmission. The device must run on non-rechargeable, inexpensive battery for at least a couple of years. The button will only be pushed under unusual emergency circumstances, which means probably never. The device will have to wake up every hour to send a transmission signifying it is still working. So the battery will be expended by these hourly transmissions, not by the pushbutton. I want the system to go into ultra-low-power mode when it's not transmitting. What's the best approach to this? I've heard that maybe a real time clock can do the hourly wakeup, and that the pushbutton could apply Vcc to an interrupt to wakeup the device as well. Is this the case? Thanks.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jcaron
        last edited by

        On the LoPy 4, you can just use machine.pin_deepsleep_wakeup() and machine.deepsleep() to achieve exactly that.

        Not sure you can really last a couple of years like that though. Also you need a battery capable of delivering the current spike required during boot, and need to take into account battery self-discharge. Settings of the LoRaWAN network can also adversely affect how long the battery will last.

        dwsD 1 Reply Last reply Reply Quote 0
        • dwsD Offline
          dws @jcaron
          last edited by

          @jcaron Ok thanks, appreciate the response and will keep all this in mind. Might reduce the frequency of the call-in's to once a day which of course would decrease power consumption appreciably.

          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