V5 機器人電池#
介紹#
V5 機器人電池是一款鋰離子電池,旨在最大限度地提高馬達性能。
如果您在使用 V5 機器人電池時遇到問題,可以使用 V5 電池診斷工具來評估電池的健康狀況和狀態。請造訪使用 V5 電池診斷工具查看如何使用 V5 韌體公用程式存取 V5 電池診斷工具的指南。
以下是可用方法清單:
voltage— 返回電池電壓。current— 返回電池電流消耗。capacity— 返回剩餘電池容量。temperature– 返回電池的平均溫度。
有關建立 Brain 以獲取 battery 方法的信息,請參閱 Brain。
電壓#
Voltage is the electrical pressure supplied to the battery. voltage returns the voltage of the battery as a decimal (float), which can help you check whether the battery is charged enough for the robot to run reliably.
Usage:
brain.battery.voltage(units)
參數 |
描述 |
|---|---|
|
可選。電壓單位: |
目前的#
電流表示機器人從電池消耗的電量。 0 電流 current ,以十進制數 (float) 表示,這可以幫助您了解機器人的工作強度或馬達是否可能承受額外負載,範圍從 0.0 到 20.0 安培。
Usage:
brain.battery.current()
參數 |
描述 |
|---|---|
此方法沒有參數。 |
容量#
capacity 返回剩餘電池電量,以百分比表示,範圍從 0% 到 100%。
Usage:
brain.battery.capacity()
參數 |
描述 |
|---|---|
此方法沒有參數。 |
溫度#
temperature 返回電池的平均溫度。電池的工作溫度範圍約為 20°C (68°F) 至 70°C (158°F)。
Usage:
brain.battery.temperature(units)
參數 |
描述 |
|---|---|
|
可選。溫度單位: |