Sign in

How can I record the power consumption of a low power device.

Follow

The Saleae logic analyzers are well suited to help debug and optimize power consumption.

One good approach is to use a free GPIO to indicate the real-time power state of the device. Then you can use Logic to record this signal, see if the device is sleeping as much as it should. You can use additional GPIO lines - or even SPI or bit-banging - to output other contextual information, such as the state of the application, which function(s) are using all the wake time, which interrupt are triggering, etc. Then you can make changes, and directly measure your improvements.

As far as recording the current itself, this can potentially be done, but would best be accomplished with a "current sense amplifier" built into your prototype PCBA. The analog or digital output of this amplifier could be recorded by Logic. You could also use a evaluation board, or breakout board from Sparkfun/Adafruit.


trello ID: 55f7529d25c6962b31bbc4dc
Have more questions? Submit a request

Comments

Powered by Zendesk