Main Content
Battery
Measure voltage level of battery in EV3 brick
Add-On Required: This feature requires the Simulink Support Package for LEGO MINDSTORMS EV3 Hardware add-on.
Libraries:
Simulink Support Package for LEGO MINDSTORMS EV3 Hardware
Description
Use the Battery block to measure voltage of the battery in the LEGO®
MINDSTORMS® EV3 brick, in millivolts. For example, when the six 1.5-volt batteries are fully
charged, the output value is approximately 9000
millivolts.
During simulations without hardware, this block emits zeros. See Block Produces Zeros or Does Nothing in Simulation.
Examples
Ports
Output
Parameters
Version History
Introduced in R2012a