element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
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
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Just Encase requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
Author: feiticeir0
Date Created: 21 Jan 2022 10:16 PM
Views: 430
Likes: 3
Comments: 4
  • 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.

Anonymous
  • feiticeir0
    feiticeir0 2 months 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
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave 3 months 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
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • feiticeir0
    feiticeir0 3 months 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
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • DAB
    DAB 3 months 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
    • Up 0 Down
    • Reply
    • More
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube