Home » DEVELOPERS » Tutorials » Read the battery tension

Developers>Tutoriels>Read the battery tension

In this tutorial you will learn to read the battery tension of MRPi1 robot.

Read the battery

  • Start the python program :
$ python

img1_led

  • import the mrpi1_lib library :
>>> from mrpi1_lib import *
  • read the battery tension :
>>> battery()
 The battery voltage tension should be displayed in the terminal.