Coder Social home page Coder Social logo

msp430-etv's Introduction

msp430-etv – MSP430 EnergyTrace Visualizer

msp430-etv performs, visualizes and analyzes energy measurements on TI MSP430 Launchpads using the on-board EnergyTrace circuit.

It uses energytrace-util to start and stop measurements using the proprietary TI MSP430 library. Measurements can be analyzed directly or saved to a file for later analysis as well as processing by other tools.

Analysis options include

  • plots showing voltage, current, or power over time,
  • data partitioning and statistics using a power threshold, and
  • changepoint detectiong using the PELT algorithm.

See bin/msp430-etv --help for usage details. See Automatic Energy Model Generation with MSP430 EnergyTrace for accuracy figures and some odds and ends.

Note: If you're only interested in measurement files and want to perform all postprocessing by yourself, you do not need msp430-etv. energytrace-util is sufficient for that task.

File Format

EnergyTrace performs measurements in intervals of about 270 µs. Each line contains data for one measurement interval. Measurement data consists of for readings:

  1. Timestamps (µs) since start of the measurement,
  2. Mean current (nA) over the last ten to thousand intervals,
  3. Mean voltage (mV) with details unknown, and
  4. Cumulative energy (nJ) since start of the measurement.

Note that the EnergyTrace hardware and firmware only measures time, voltage, and energy. Current readings are calculated by the MSP430 client library. Power readings are calculated from timestamps and energy readings by msp430-etv.

Dependencies

  • Python 3, numpy
  • Taking measurements: energytrace-util and libmsp430.so
  • Plots: python3-matplotlib
  • Changepoint detection: python3-ruptures

msp430-etv's People

Contributors

derf avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.