---
title: Wiring the Unit
slug: microdrive-mp/wiring-the-unit
icon: {"faIcon":"fa-solid fa-network-wired"}
docTags: 
createdAt: 2024-01-12T04:47:17.052Z
---

Information on recommended wiring configuration of the micro**DRIVE** MP units, including port numbering, pinouts and purpose.

:::hint{type="danger"}
Do not power the ESC via DC Bus Input while the ESC is connected to USB. Remove the USB connector before powering the ESC on.
:::

## microDRIVE MP

![](https://api.archbee.com/api/optimize/MIXUvgEo5LjmssoyMwenk/hH_iqOq51K_8-Ob6eFiof-20260609-235905.png "microDRIVE MP Port Numbering.")

### Pinout

The pinout for micro**DRIVE** MP units can be found below. Cable colour is relevant to pre-cabled and cased units. The ports are referencing the image above.

| **Port Number** | **Description**                                                                  |
| --------------- | -------------------------------------------------------------------------------- |
| 1               | Multi-colour status LED                                                          |
| 2               | Main bus positive (+)                                                            |
| 3               | Signal and telemetry cable                                                       |
| 4               | Main bus negative (-)                                                            |
| 5               | USB port. The cover is sealed for IP rating and should be screwed on during use. |
| 6               | Motor phase cables (A,B,C)                                                       |
| 7               | Motor sensor cable                                                               |



**Signal and Telemetry Port**

| **Cable Colour**  | **Purpose**                                                         |
| ----------------- | ------------------------------------------------------------------- |
| Green             | CAN Ground                                                          |
| Yellow            | CAN Low                                                             |
| White             | CAN High                                                            |
| Black             | Signal Ground                                                       |
| Red               | 5V Power                                                            |
| Grey              | Serial Signal (DShot/PWM)                                           |
| Purple            | Serial Telemetry                                                    |
| Blue              | Secondary/Physical arming switch (Connect to ground to arm)         |
| Bare Silver Wire  | Cable shield connection. Should be connected flight controller side |



**Motor Sensor Port**

| **Cable Colour** | **Purpose**                           |
| ---------------- | ------------------------------------- |
| Black            | Sensor Port Ground                    |
| Red              | 5V Power                              |
| Blue             | Hall Effect Input C                   |
| Green            | Hall Effect Input B                   |
| Yellow           | Hall Effect Input A                   |
| White            | Motor Temperature Sensor (NTC or PTC) |



### Shield Connection

The micro**DRIVE** MP units feature an optional shield connection integrated into the signal cable. This connection enables enhanced noise immunity through the termination of a shield around the cable. Its usage is optional, allowing for the removal of the wire if not needed.

For optimal effectiveness, it is recommended to connect the shield to the signal ground at the source, such as a flight controller. Alternatively, a power distribution board can serve as a centralised shield point.

:::hint{type="warning"}
If multiple shielded units are connected, they should be connected at a single point (forming a star connection).
:::

***

## Port and Pin Tolerances

The electrical limits of each port and pin on the micro**DRIVE** MP units can be found below. Due to isolated interfaces, ground reference points will vary.&#x20;

| **Port/Pin&#x20;** | **Max Current (mA)**   | **Abs Max Voltage (V)** | **Abs Min Voltage (V)** | **Passive Loading**                                                                                         |
| ------------------ | ---------------------- | ----------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------- |
| Main Bus           | -                      | 63                      | -0.4                    | -                                                                                                           |
| Motor Phases       | -                      | V\_Bus + 0.6            | -0.4                    | -                                                                                                           |
| Vcc In             | 30                     | Sig\_GND + 18           | Sig\_GND + 3.3          | -                                                                                                           |
| CAN H, CAN L       | 115, Differential Mode | CAN\_GND + 12           | CAN\_GND - 12           | Switchable 120 Ohm termination when powered.                                                                |
| CAN\_GND           | -                      | Bus\_GND + 0.6          | Bus\_GND - 0.7          | -                                                                                                           |
| UART RX            | 10                     | Sig\_GND + 5.5          | Sig\_GND - 0.3          | Pulled to 3.3 V via a 5.1k resistor.                                                                        |
| TLM                | 10                     | Sig\_GND + 5.5          | Sig\_GND - 0.3          | Open drain, pulled to 3.3 V via a 5.1k resistor.                                                            |
| SIG                | 10                     | Sig\_GND + 5.5          | Sig\_GND - 0.3          | Pulled to 3.3 V via a 5.1k resistor. Bidirectional DShot response driven with output impedance of 120 Ohms. |
| Hall A, B, C       | 1                      | Bus\_GND + 5.5          | Bus\_GND - 0.2          | Pulled to a 3.3V via a 2.7k resistor.                                                                       |
| NTC                | 0.33                   | Bus\_GND + 3.3          | Bus\_GND                | -                                                                                                           |
| 5V Out             | 20                     | 5.25                    | 4.75                    | -                                                                                                           |



## Wiring diagram

The micro**DRIVE** units can be used in two primary configurations: CAN mode or serial mode (DShot and PWM). The wiring between the two systems differs and is covered below.

**microDRIVE - CAN wiring**

There are two primary methods of wiring CAN nodes, either as a bus (imaged below) or as a star network (stubs). If stubs are used, keeping the stub length below 1m is important (the DroneCAN specification recommends a maximum of 0.3 m \[11.8 in]).&#x20;

![](https://api.archbee.com/api/optimize/MIXUvgEo5LjmssoyMwenk/nIY3JBxo5J-8iYgpTcLFi-20260320-024826.png "microDRIVE MP CAN wiring diagram.")

**microDRIVE - Serial wiring**

The 5V and signal ground connections should be star-connected to a power source (like the PDB500) when operating within a serial configuration.

![](https://api.archbee.com/api/optimize/MIXUvgEo5LjmssoyMwenk/gNqC5Lpw72q8A2EkCGJW4-20260320-023214.png "microDRIVE MP serial wiring configuration.")

**5V Connection**

:::hint{type="info"}
The 5V connection is not required for CAN on micro**DRIVE**, as the CAN is non-isolated.
:::

The 5V input line is used to power the onboard isolation circuitry, which isolates the serial protocol inputs and telemetry lines (PWM or DShot signalling). This provides an isolated signal input from the power ground for increased noise immunity and isolated telemetry output. The 5V is commonly wired between each ESC. **The recommended supply is the PDB500 5V output, or similar**.

When using the 5V line, it should be treated as a critical signal line. Loss of 5V will result in loss of serial input signal. Ground connections should be star-connected at PDB wherever possible.

### Capacitance

Sufficient input capacitance is vital in ensuring any motor controller's safe and efficient operation. It is crucial to physically verify the availability of adequate capacitance for a specific application. It is recommended to keep the input lead length to a maximum of 3 metres \[9 ft] before considering the need for additional capacitance. It is essential to monitor input ripple at this length closely.

To do this, install the motor controller in its intended use application and apply the maximum load the unit will see in service. Measure the voltage ripple at the input terminals to the motor controller. The ripple must be less than 5% of the bus voltage. The micro**DRIVE** MP units also measure and log input ripple.&#x20;

## Motor Selection

A motor controller is only one part of a larger propulsion system. Selecting a system with an appropriate motor for the load is important to achieve peak performance. The KV of the motor should result in the motor reaching maximum operational speed at bus voltage.&#x20;

:::hint{type="info"}
More details about this can be found in this [Blog Post](https://www.hargravetechnologies.com/news/2023/how-to-size-a-powertrain).
:::

This ensures the peak load on the controller occurs at 100% motor duty cycle, where the controller is the most efficient. [We offer powertrain selection services](https://www.hargravetechnologies.com/company/about-hargrave-technologies).&#x20;

## Secondary Arming Switch

Connect a switch between the blue wire on the signal and telemetry port and ground. When the blue wire is pulled to ground, drive will be enabled when the secondary arming switch feature is enabled. Note that 5V must be provided to the signal and telemetry port with an external VCC source.
