> For the complete documentation index, see [llms.txt](https://px4.gitbook.io/px4-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://px4.gitbook.io/px4-user-guide/drone_parts/peripherals/power_module/pomegranate_systems_pm.md).

# Pomegranate Systems Power Module

:::note In 2022, UAVCAN (v0) was forked and is maintained as `DroneCAN`. While this product still mentions "UAVCAN", it is fully compatible with PX4's DroneCAN support. :::

![Module Image](/files/Zur44Y717cDDDwGXqXIz)

Digital Power Module with high resolution current integration, 5V/2A supply with power monitoring, single DroneCAN CANbus interface, and an RGB status LED.

Detailed setup, configuration, and troubleshooting information can be found on the [manufacturer's device home page](https://p-systems.io/product/power_module).

## Hardware Specifications

* **Input Voltage:** 6-26V (2-6S)
* **Max Continuous Current:**
  * **Benchtop:** 40A
  * **Forced Cooling:** 100A
* **Max 5V Output Current:** 2A
* **Voltage Resolution:** 0.04 ΔV
* **Current Resolution:**
  * **Primary / Battery Bus:** 0.02 ΔA
  * **5V bus:** 0.001 ΔA
* **CANbus Termination:** Electronic (on by default)
* **MCU:** STM32F302K8U
* **Electrical Interface:**
  * **Power:** Solder pads or XT60PW (right angle, board-mounted connectors)
  * **CANbus** Dual JST GH-4 (standard UAVCAN micro-connector)
  * **I2C / Serial:** JST GH-5
  * **5V Output:** Solder pads or CANbus / I2C connectors
* **Device Mass:**
  * **Without Connectors:** 9g
  * **With XT60PW Connectors:** 16g

![Dimensions](/files/f81cyrBeNl2dYaSsElHa)

## Firmware Setup

The power module runs pomegranate systems' own custom (open source) firmware. Source code and build instructions can be found on [the bitbucket](https://bitbucket.org/p-systems/firmware/src/master).

## Flight Controller Setup

1. Enable DroneCAN by setting the [UAVCAN\_ENABLE](/px4-user-guide/advanced_config/parameter_reference.md#UAVCAN_ENABLE) parameter to `2` (Sensors Automatic Config) or `3`.
2. Enable DroneCAN battery monitoring by setting [UAVCAN\_SUB\_BAT](/px4-user-guide/advanced_config/parameter_reference.md#UAVCAN_SUB_BAT) to `1` or `2` ( depending on your battery).
3. Set the following module parameters using the [MAVLink console](https://docs.qgroundcontrol.com/master/en/analyze_view/mavlink_console.html):
   * Battery capacity in mAh: `battery_capacity_mAh`
   * Battery voltage when *full*: `battery_full_V`,
   * Battery voltage when *empty*: `battery_empty_V`
   * Turn on current integration: `enable_current_track`
   * (optional) Turn Off CANbus termination resistor :`enable_can_term`

**Example:** A Power Module with UAVCAN node id `125` connected to a `3S` LiPo with capacity of `5000mAh` can be configured with the following commands:

```
uavcan param set 125 battery_capacity_mAh 5000
uavcan param set 125 battery_full_V 12.5
uavcan param set 125 battery_empty_V 11.2
uavcan param set 125 enable_current_track 1
uavcan param save 125
```

See [device configuration page](https://p-systems.io/product/power_module/configuration) for a full list of parameters.


---

# 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:

```
GET https://px4.gitbook.io/px4-user-guide/drone_parts/peripherals/power_module/pomegranate_systems_pm.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.
