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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
WorkBench Wednesdays
  • Challenges & Projects
  • element14 presents
  • WorkBench Wednesdays
  • More
  • Cancel
WorkBench Wednesdays
Documents How to Profile Battery Usage for IoT Devices - Workbench Wednesdays 56
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join WorkBench Wednesdays to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 31 May 2022 5:08 PM Date Created
  • Last Updated Last Updated: 15 Jun 2022 7:24 AM
  • Views 53749 views
  • Likes 4 likes
  • Comments 8 comments
Related
Recommended

How to Profile Battery Usage for IoT Devices - Workbench Wednesdays 56

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

When running on a battery, it is important to know what parts of your circuit draw the most current. Profiling is a process where you look at sections of code or interactions with hardware to see how much power each requires. In this video, James shows four tools (and their tradeoffs) when profiling IoT or Edge Machine Learning devices. See if it makes more sense for you to use a Digital Multimeter (DMM), Power Supply with history graphs, an oscilloscope

Supplemental Content:

  • WorkBench Wednesdays #54 Oscilloscope Acquisitions modes
  • WorkBench Wednesdays #40: Measurements with an SMU
  • WorkBench Wednesdays #53: B&K 9140 Overview
  • Nordic Power Profile Kit II (PPK2) by ralphjy

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
Bench Power Supply BK9140, Programmable, 3 Output, 0 V, 32 V, 0 A, 8 A BK Precision 1 Buy Now
NGU401COM - Source Measurement Unit (4-quadrant) Rohde & Schwarz 1 Buy Now
MP730028 US Bench DMM, 5.5 Digits Multicomp Pro 1 Buy Now
MP7300256 Handheld DMM 3.75 Digits with Bluetooth Multicomp Pro 1 Buy Now
RTM3000 - 4 Channel Oscilloscope (RTM3K-COM4) Rohde & Schwarz 1 Buy Now
Oscilloscope Current Clamp Probe RT-ZC20B Rohde & Schwarz 1 Buy Now
Power Profilier Kit II (NRF-PPK2) Nordic Semiconductor 1 Buy Now
 


element14 presents

element14 Presents  |  About James|  Workbench Wednesdays

  • IoT Battery Life
  • Battery Consumption
  • Energy consumption
  • Battery profiling
  • battery life
  • james
  • workbench wednesdays
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
  • baldengineer
    baldengineer over 2 years ago in reply to Hari-Seldon

    Can you share pictures of your connections?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Hari-Seldon
    Hari-Seldon over 2 years ago in reply to baldengineer

    I sure did…

    I also tried following the instructions and doing Source mode… same noise.  This is what had me thinking I may just have a faulty device.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 2 years ago in reply to Hari-Seldon

    Did you put the PPK into Ampere meter mode?

    image

    Under mode, that is a toggle for "Source Meter" and "Ampere meter." It defaults to source meter (where the PPK provides power.)

    Also, you might try turning the device on and off while connected. It'll cause the nRF Connect software to reflash it (if necessary).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Hari-Seldon
    Hari-Seldon over 2 years ago in reply to Hari-Seldon

    oh, and of course I tried different wires!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Hari-Seldon
    Hari-Seldon over 2 years ago in reply to Hari-Seldon

    I didn't completely clarify, on the LED test if I wired VOUT and GND, then the LED came on... but still not anything but noise on the software for the PPK2.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Hari-Seldon
    Hari-Seldon over 2 years ago

    I've bought the PPK2 and either I'm a moron, or the device is faulty.  How do you suggest I figure out which it is (right now odds are even, in my view)?

    I tried it out with my DWM3001CDK, which has current measurement pins.  I've verified continuity there and that removing the jumper disables the MCU.  I've linked up my PPK2 wiring up VIN/VOUT on the current pins, and the two grounds onto the board GND.  Nothing but noise in the nano-amperes... it's worth noting the values don't change even if I disconnect the power from the DWM3001CDK... a pretty strong indicator that it's not actually doing anything.  I've also tried it with the PINs reversed, just in case I've done something terribly silly (which I'm sure I hadn't).

    Given that it didn't work, I tried a much more complex circuit.

    1. Bench power supply tied to + and - rails of a breadboard.
    2. Resistor and LED in series.

    Everything lights up fine...then I put the PPK in series and the LED won't come on, and it's just noise on the nRF connect Power Profiler.

    Anyone want to suggest a further test I might do?  Or even walk me through how you'd wire it up if yours works fine?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 2 years ago in reply to koudelad

    I have a Joulescope. I backed the original Kickstarter. But I haven't used it enough!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • koudelad
    koudelad over 2 years ago

    Nice little device from Nordic.

    ST also has a kit for power consumption measurement, especially (but no limited to) Nucleo boards. https://www.st.com/en/evaluation-tools/x-nucleo-lpm01a.html

    Another solution is a Joulescope. It doesn't have an integrated power supply, but performs great for the price. We also use it at work for longer data logging. https://www.joulescope.com/

    I used Joulescope for a power profiling of my IR thermometer: /challenges-projects/project14/energy-harvesting/b/blog/posts/measuring-nanoamps and I was suprised how well it performed against a Keysight precision DC supply that was about $14 000: /challenges-projects/project14/energy-harvesting/b/blog/posts/measuring-nanoamps#jive_content_id_Keysight_N6705CN6705C_power_supply_with_N6781AN6781A_unit

    • 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