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
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Power Consumption of a Wemos D1 mini ESP8266 - Long Term Test 1
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: neilk
  • Date Created: 17 Feb 2019 3:59 PM Date Created
  • Views 632 views
  • Likes 6 likes
  • Comments 3 comments
  • li-ion
  • wemos d1 mini
  • battery_shield
  • arduino_tutorials
  • esp8266
  • php
Related
Recommended

Power Consumption of a Wemos D1 mini ESP8266 - Long Term Test 1

neilk
neilk
17 Feb 2019

Background

 

In my previous Blog: https://www.element14.com/community/people/neilk/blog/2019/02/14/investigating-the-power-consumption-of-a-wemos-d1-mini-esp8266

 

I described my investigations into the power consumption of a Wemos d1 mini ESP8266 device, powered by an 18650 2400mAh Li-ion battery, via a Wemos battery shield which has the same form factor as the d1 mini. The Wemos was reading from two DS18B20 temperature probes and also reading the battery voltage at 1 minute intervals. All 3 data items were uploaded to my private server via a  single POST command, using a single php script, which wrote the temperature data to one log file and the battery voltage data to a second log file.

 

The original sketch had used 2 separate POST commands; the change to a single server call dramatically reduced power consumption. An early assessment suggested that the system might run for about 100 hours before the battery voltage dropped to around 3.6V., This figure was chosen because this article indicated that the author's device stopped working at 3.56V: https://arduinodiy.wordpress.com/2017/01/02/reviewing-the-wemos-battery-shield/. This is despite the claim by Wemos that the shield would continue to power the d1 mini with a battery voltage as low as 3.2V

 

Results

 

I ran the test for 90 hours, by which time the battery voltage had fallen to around 3.53V. The good news is that the system was still working, even though the voltage had fallen below 3.56V. The slightly disappointing news is that we didn't get to 100 hours by 3.6V


image

 

The various spikes and glitches in the graph are caused by minor physical disturbances to the test circuit. My work area is pretty cramped and the test setup is a bit of a delicate "rats nest". Note to self - order up some proper battery connectors and reduce the number of dodgy connection points in the system!!

 

Conclusions

 

The power consumption was more or less within the estimated region.

 

Further optimisation of the sketch may reduce the power consumption.

 

Longer intervals between readings - eg 5 or 10 minutes will almost certainly reduce power consumption.

 

Watch this space.......................

  • Sign in to reply

Top Comments

  • e14phil
    e14phil over 4 years ago +2
    I wonder how this would work with a cheap solar panel. I have a Wemos d1 mini ESP8266 sat on my desk right now!
  • neilk
    neilk over 4 years ago in reply to e14phil +1
    Hi Phil I believe (it's on my list for further research) you could connect the output (5V) of a solar panel to the USB input of the Wemos battery shield; have a battery connected and have the shield plugged…
  • neilk
    neilk over 4 years ago

    Note to self - order up some proper battery connectors and reduce the number of dodgy connection points in the system!!

     

    Done that!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • neilk
    neilk over 4 years ago in reply to e14phil

    Hi Phil

     

    I believe (it's on my list for further research) you could connect the output (5V) of a solar panel to the USB input of the Wemos battery shield; have a battery connected and have the shield plugged into the Wemos D1 mini.

     

    So you would be powering the d1 mini from the battery, and charging the battery from the Solar Panel (when the sun is shining).

     

    Let me know if you make any progress image

     

    Neil

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • e14phil
    e14phil over 4 years ago

    I wonder how this would work with a cheap solar panel.

    I have a Wemos d1 mini ESP8266 sat on my desk right now!

     

    image

    • Cancel
    • Vote Up +2 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 © 2023 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