element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Low Power IoT Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Low Power IoT Design Challenge
  • More
  • Cancel
Low Power IoT Design Challenge
Blog Wearable Gesture Control - #7 Low Power Profiling
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: zst123
  • Date Created: 4 Nov 2021 3:04 AM Date Created
  • Views 629 views
  • Likes 1 like
  • Comments 0 comments
Related
Recommended

Wearable Gesture Control - #7 Low Power Profiling

zst123
zst123
4 Nov 2021

Table of Contents

Wearable Gesture Control - #1 Introduction

Wearable Gesture Control - #2 Install & Setup Template Application

Wearable Gesture Control - #3 Integrating LCD & Accelerometer

Wearable Gesture Control - #4 Collecting data for Edge Impulse

Wearable Gesture Control - #5 Deploying Edge Impulse model & Fixing Makefile issues

Wearable Gesture Control - #6 BLE communication with an app

Wearable Gesture Control - #7 Low Power Profiling

 

See all my posts here

 

In this final blog, I will be measuring the power consumption of the PSoC 6 microcontroller.

 

On the back of the PSoC 6 Pioneer Kit, there is a jumper which can be removed to provide current measurement.

 

imageimage
image

 

I connected it with some wires to an ammeter. The current is fluctuates between 10mA to 11mA.

image

As the current reading is fluctuating, I decided to capture a waveform of the current measurement.

 

I used the Nordic Power Profiler Kit II (PPK2).

image

First download and install nRF Connect for Desktop from the official download page.

After installing, the program should look like this. Here you can manage the different apps. Open the Power Profiler app to do some measurements.

 

 

imageimage

 

This is the measurement upon connecting up the board.

 

 

image

 

As for steady state measurements, after all the initialisation has been done, the device averages at around 11.54mA.

There are distinct spikes every 10ms which corresponds to sampling the accelerometer every 100Hz.

image

 

For your reference, this is my connection.

image

 

Conclusion

 

It was interesting to see how ModusToolbox has developed and refined itself in the past year.  It had been fun learning about BLE and interfacing it with a PC and phone, and getting started was very quick with the environment tools. I also found out about some complications in the compilation process when implementing the Edge Impulse library and I proposed some possible workarounds/fixes. I ended off by doing power measurements, but I failed to do any power optimizations. I have attempted to do put the microcontroller to sleep, however it has affected the main functionality timing. A lot of logic needs to be rewritten as I did not account for how the code for low power optimizations will be done when I started the project. Thus, the lesson learnt that it is advisable to be familiar with low power coding techniques if that is the main goal, before starting out the project so that it will be easier to integrate it later on.

 

With this, I wrap up my project. I hope my blog posts have been helpful to you!

  • Sign in to reply
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