# Using Analog PM with Pixhawk 5X/6X

Pixhawk 5X/6X uses digital power module (such as PM02*D*, *D* stands for digital), if you would like to use it with an Analog Power Module, see below.

#### PX4

If you are have to use analog power module with Pixhawk 5X or 6X. With PX4 & QGC, you can use an [ADS1115 board](https://docs.px4.io/main/en/modules/modules_driver.html#ads1115) and wire it like this diagram and set the following parameters:

{% hint style="info" %}
These parameters are available in PX4 v1.14 with [Github PR](https://github.com/PX4/PX4-Autopilot/pull/21794), or you can build an FW with [these board config changes.](https://github.com/PX4/PX4-Autopilot/pull/21794/files)
{% endhint %}

* ADC\_ADS1115\_EN = 1&#x20;
* Save & Reboot
* BAT1\_A\_PER\_V = 36
* BAT1\_I\_CHANNEL = 1
* BAT1\_V\_CHANNEL = 0
* BAT1\_V\_DIV = 18.18

<figure><img src="https://2367252986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLIgtGDAvVGkCKGOJb1bR%2Fuploads%2F2WNiaK3MLH6a4fUXJ4tQ%2FADC%20ADS1115%20Diagram.png?alt=media&#x26;token=ff32d869-a889-4ce5-b6bc-7af8a4e0acd2" alt=""><figcaption><p>Sample wiring diagram</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.holybro.com/power-module-and-pdb/power-module/using-analog-pm-with-pixhawk-5x-6x.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
