element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Just Encase
  • Challenges & Projects
  • Design Challenges
  • Just Encase
  • More
  • Cancel
Just Encase
Blog [Pool Water Monitoring] #16 deep sleep - low power mode
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Just Encase to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: feiticeir0
  • Date Created: 21 Jan 2022 10:16 PM Date Created
  • Views 1901 views
  • Likes 3 likes
  • Comments 4 comments
  • arduino sleep
  • arduino LoRa sleep
  • pool_water_monitoring
  • Arduino MKR 1300 WAN sleep
  • just_encase
  • just encase
Related
Recommended

[Pool Water Monitoring] #16 deep sleep - low power mode

feiticeir0
feiticeir0
21 Jan 2022

Pool Water monitoring logo

Hi all ! Hope everyone is safe !

One of the main goals of this project is to be able to monitor a remote location - hence the LoRa communication with a great range.

In that remote location, power may not always be available, or available at all. The Arduino MKR 1300 WAN can be powered by 2xAA batteries - they are cheap and can last .

Nonetheless, they will reach a state where they no longer can power the Arduino. If we can save the battery power, the more they can last.

In my project, I don't need to constantly measure the environmental parameters. During those times that I don't need to do nothing, why not put the Arduino to sleep - saving those juices for when they are necessary.

Enter the Lower Power Arduino Library. You can also see the Github pages of the library.

This library can save power by putting the Arduino to sleep (or in low power mode), by using the low power features of the SAMD21 MCU.

Install the library

You can install the library in the usual way.

Just search for it in the library manager.

Arduino Library manager

It also needs the RTCZero library. Just install both.

RTCZero library

And, you can see the examples.

For my project I'm going to use the TimedWakeup example.

This will put the Arduino to sleep for a period of time, waking it after. Just see the examples and one will suit your needs .

Now you can save that precious juice !

Have a nice weekend.

  • Sign in to reply
  • feiticeir0
    feiticeir0 over 3 years ago in reply to beacon_dave

    My intention is not to have another arduino. I need to make it work with the MKR 1300 WAN.  But thank you for the reply.

    I've read the forum . I've read them all ! :)

    I did try the INPUT_PULLUP and usb detach.  It did help a bit, but nothing relevant.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to feiticeir0

    If you swap the MKR WAN 1300 for a MKR WAN 1310, it looks like you can get improved power consumption (down to 104µA in deep sleep). 

    You have to take some additional steps however like disconnecting the on-board power regulator.

    How can I achieve the 104µA power consumption?
    https://forum.arduino.cc/t/how-can-i-achieve-the-104-a-power-consumption/619331

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • feiticeir0
    feiticeir0 over 3 years ago in reply to DAB

    Hi DAB ! That's a nice question and, by now, I can't really answer it, but I will try in a near future.

    Every documentation I read about this, they say that it really makes the arduino consume less power.  I still have to test it myself, in real conditions.

    I just know that, I've left the Arduino working for 3 days with just 2xAA batteries - unknowingly- and already lost 50% of the batteries capacity.

    When the time comes, I'll post here some findings.

    Best regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 3 years ago

    Are you going to provide some data showing your power consumption before and after setting up the sleep modes?

    I would have gone for a PSOC or MSP430 to get good control of power consumption and timing.

    The Arduino is not known for being easy to control time or power consumption.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube