> For the complete documentation index, see [llms.txt](https://docs.holybro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.holybro.com/power-module-and-pdb/power-module/using-analog-pm-with-pixhawk-5x-6x.md).

# 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="/files/5KP6waERUwLW05SWoA9j" alt=""><figcaption><p>Sample wiring diagram</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
