V5 Robot Battery#
The V5 Robot Battery is a Lithium Ion battery designed to maximize motor performance.
If you’re encountering issues with your V5 Robot Battery, you can use the V5 Battery Medic to assess the health and status of your V5 Robot Battery. Go to Using the V5 Battery Medic for a guide on how to use the V5 Firmware Utility to access the V5 Battery Medic.
Below is a list of available methods:
voltage– Returns the voltage of the battery.current– Returns the electrical current drawn from the battery.capacity– Returns the remaining charge level of the battery as a percent.temperature– Returns the average temperature of the battery.
For information on constructing a Brain to gain access to the battery methods, see Brain.
voltage#
voltage returns the voltage of the battery.
Usage:
brain.battery.voltage(units)
Parameters |
Description |
|---|---|
|
Optional. The unit to represent the voltage:
|
current#
current returns the electrical current drawn from the battery from 0.0 to 20.0 Amps.
Usage:
brain.battery.current()
Parameters |
Description |
|---|---|
This method has no parameters. |
capacity#
capacity returns the remaining charge level of the battery as a percent.
Usage:
brain.battery.capacity()
Parameters |
Description |
|---|---|
This method has no parameters. |
temperature#
temperature returns the average temperature of the battery.
Usage:
brain.battery.temperature(units)
Parameters |
Description |
|---|---|
|
Optional. The units that represent the temperature:
|