# VOXL 2 Mini with Mini 4 in 1 ESC - No battery Information

Source: https://forum.modalai.com/topic/2509/voxl-2-mini-with-mini-4-in-1-esc-no-battery-information
Category: ESCs, Sensors and Accessories (https://forum.modalai.com/category/15/escs-sensors-and-accessories)
Tags: esc
Posted: 2023-07-31 12:47:38 UTC by Jack Bishop
Replies: 5 · Views: 1168

## Jack Bishop · 2023-07-31 12:47:38 UTC

Hello There

I am using the Voxl 2 Mini with the Mini 4 in 1 ESC, we are not getting any battery data from ESC being sent to the Flight Controller.

We have installed the firmware and parameter file via the ESC tools and are able to spin the motor in Qgroundcontrol.
Despite this we are unable to get any battery data, using voxl-inspect-battery in the adb shell we get each column for voltage, charge, current but they are reading N/A

Is there any configuration we are required to do to get this data?

Many thanks

Jack

![14236b4d-23d7-4909-bb91-77afae65a450-image.png](https://forum.modalai.com/assets/uploads/files/1690807649038-14236b4d-23d7-4909-bb91-77afae65a450-image.png) 

![image (4).png](https://forum.modalai.com/assets/uploads/files/1690807630014-image-4.png)

## Reply by Eric Katzfey (ModalAI staff) · 2023-07-31 15:50:49 UTC

@Jack-Bishop From the command prompt in an adb shell what do you get if you issue the command `px4-listener battery_status`?

## Reply by Jack Bishop · 2023-08-01 07:32:15 UTC (in reply to Eric Katzfey)

@Eric-Katzfey  Hello Eric

When I use px4-listener battery_status I get the response, never published.

![104c96ff-a5bf-488d-926c-48cefb1f2f40-image.png](https://forum.modalai.com/assets/uploads/files/1690875129155-104c96ff-a5bf-488d-926c-48cefb1f2f40-image.png)

## Reply by Eric Katzfey (ModalAI staff) · 2023-08-01 15:05:50 UTC (in reply to Jack Bishop)

@Jack-Bishop Are you using SDK 1.0.0? Support for the mini ESC battery status message was added only in SDK 1.0.0

## Reply by Alex Kushleyev (ModalAI staff) · 2023-08-01 15:19:01 UTC (in reply to Eric Katzfey)

@Jack-Bishop ,

The mini ESC board you have is running slightly older firmware (Version 37), which did not support reporting battery voltage and current. Please update your firmware for the ESC to Version 38, this can be done right from VOXL2 mini:

```
voxl-esc upgrade_firmware
```
This should update the firmware but due to a change in params structure, the old params on the ESC are no longer usable, so you will need to install params as well:

```
voxl-esc upload_params
```
(you will need to choose which vehicle you are setting up). 

If you would like to install custom parameters, you can navigate to `/usr/share/modalai/voxl-esc-tools/` and run the following command:
```
python3 voxl-esc-upload-params.py --params-file <path-to-params-file>
```
The default parameters are stored in `/usr/share/modalai/voxl-esc-params/` and you can use an existing one if that matches your hardware configuration or create a customized ESC param file.

Then you can perform a scan to confirm the firmware version:
```
voxl-esc scan
```

and verify params
```
cd /usr/share/modalai/voxl-esc-tools/
python3 voxl-esc-verify-params.py
```

## Reply by Jack Bishop · 2023-08-02 10:14:43 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev @Eric-Katzfey

Managed to get everything up and running with your advice - One thing I needed to do first was flash V1.0.0 as the system was running V1.0.0beta and had an older version of ESC tools V1.08.
Once V1.0.0 was flashed the ESC tools was update to 1.20 and allowed me to update to the ESC firmware version 38.

After everything flashed and updated I now have the battery information in QGroundControl! 

Many thanks again for your assistance! :)
