Firefox OS/Performance/Power/BatteryHarnessSetup

From MozillaWiki
Jump to: navigation, search

Battery Harness Setup

  • Yoctopuce Ammeter
    • Attach the ammeter to the battery harness cable, using a small slot screwdriver
      • Connect the red wire to the (+) terminal on the ammeter
      • Connect the orange wire to the (-) terminal on the ammeter
    • Download the Yoctopuce Python Library
    • Extract the contents to your home directory, in a folder called "YoctoLib.python.12553"
    • Clone this GitHub Repository to a folder "yocto-amp" under your home directory
    • Download and install Python 2.7.5 onto your machine
    • Open a command line terminal, change to the yocto-amp directory (the one you cloned from GitHub), and type the following command:
      • python guiTest.py