# VOXL Mini 4in1 ESC conflicts with Power Module v3

Source: https://forum.modalai.com/topic/2510/voxl-mini-4in1-esc-conflicts-with-power-module-v3
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-07-31 14:32:13 UTC by hmlow
Replies: 13 · Views: 2084

## hmlow · 2023-07-31 14:32:13 UTC

Hi devs

Im using the VOXL Mini 4in1 ESC and the Power Module with the VOXL2. The latter is used because the ESC does not output 5V.
The current sensor reading on VOXL2 and QGC is alternating between near 0 and some valid value. 

Im guessing this is because the same batt voltage/current message is sent to the VOXL2 by both the power module and the 4in1 ESC, causing the alternating readings.

Are there any solutions/workarounds to this? Can i stop the VOXL Mini 4in1 ESC from sending the overall voltage/current measurements?

Thanks

## Reply by Eric Katzfey (ModalAI staff) · 2023-07-31 17:34:53 UTC

@hmlow Okay, yes, that's exactly what must be happening. We'll have to add a parameter to the mini ESC driver to configure whether or not to publish the battery status.

## Reply by hmlow · 2023-07-31 22:57:57 UTC (in reply to Eric Katzfey)

@Eric-Katzfey is there such a version of the driver available?

## Reply by Eric Katzfey (ModalAI staff) · 2023-08-01 00:01:39 UTC (in reply to hmlow)

@hmlow No, we will need to create that. If you are comfortable with px4 software you can make the change yourself to try it out.

## Reply by hmlow · 2023-08-01 00:38:25 UTC (in reply to Eric Katzfey)

@Eric-Katzfey The driver resides on PX4 and not the ESC itself (firmware)?

## Reply by Eric Katzfey (ModalAI staff) · 2023-08-01 15:02:45 UTC (in reply to hmlow)

@hmlow Yes. The ESC firmware will send a message with battery information to the modal_io esc driver in PX4. The modal_io driver decodes that message and creates the PX4 battery_status uorb topic from it.

## Reply by hmlow · 2023-08-01 15:12:13 UTC (in reply to Eric Katzfey)

@Eric-Katzfey said in [VOXL Mini 4in1 ESC conflicts with Power Module v3](/post/11581):
> @hmlow No, we will need to create that. If you are comfortable with px4 software you can make the change yourself to try it out.

@Eric-Katzfey looks like i'll have to wait for that new feature instead

## Reply by Alex Kushleyev (ModalAI staff) · 2023-08-01 15:31:49 UTC (in reply to hmlow)

@hmlow , sorry for the inconvenience. I will add a parameter to disable the publishing of battery status by the ESC driver. Can you please confirm which version of PX4 you are currently using?

## Reply by hmlow · 2023-08-01 15:35:36 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev 

im running the version of the px4 that came with SDK 1.0.
On QGC, it says 1.14.0dev, custom fw ver 2.0.34

## Reply by Alex Kushleyev (ModalAI staff) · 2023-08-01 15:44:52 UTC (in reply to hmlow)

@hmlow , thanks. we should have an update very soon, hopefully by tomorrow.

## Reply by hmlow · 2023-08-01 15:46:37 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev thanks for the assistance as always

## Reply by Eric Katzfey (ModalAI staff) · 2023-08-02 00:52:27 UTC (in reply to hmlow)

@hmlow The new version is available here: http://voxl-packages.modalai.com/dists/qrb5165/staging/binary-arm64/voxl-px4_1.14.0-2.0.43_arm64.deb. This version has a new parameter MODAL_IO_PUB_BST that defaults to the value of 1 meaning it will send out battery_status messages. If you change that parameter to 0 it will stop sending out the battery_status messages.

## Reply by hmlow · 2023-08-02 01:15:50 UTC (in reply to Eric Katzfey)

@Eric-Katzfey thanks for the 2 fixes in a single package! Will try it out and report back tmr

## Reply by hmlow · 2023-08-02 15:56:48 UTC (in reply to Eric Katzfey)

@Eric-Katzfey It work! Thank you!
