Device Connection

2022-09-20
No Rating

When using X-Port, SkyPort V2, or SDK Round Ribbon Cable to develop a payload device, please follow this guide to connect the hardware platform, payload device development board, interface expansion board, and DJI drone.

NOTE:

Using M300 RTK

There are three methods for M300 RTK to connect to the third-party Development Board.

  1. Through the Gimbal Interface on M300 RTK and SkyPort V2
  2. Through the Gimbal Interface on M300 RTK and X-Port.
  3. Through OSDK Expansion Interface on M300 RTK and SDK Round Ribbon Cable.

Explanation:

  • From the figure above, the OSDK Expansion Interface is the OSDK Interface.
  • M300 RTK has two Gimbal Interface, one is the PSDK Interface in the figure, which is on the upper surface of the drone. Another is on the lower surface of the drone.

Figure 1 Device Connection

Payload Development based on Gimbal Interface

Using SkyPort V2

Figure 2 shows the pin of SkyPort V2. Use the cable to connect the SkyPort V2 to an expansion board or a third-party development board through Port 1. Use Round Ribbon Cable to connect SkyPort V2 to the SkyPort payload development board on Port 2. The pins of SkyPort V2 are shown in Figure 2 SkyPort V2 Pin.

NOTICE:

  • Developer only could choose Port 1 or Port 2, both of them cannot be used at the same time.
  • Please use the specified cable to connect the Port1 and the Expansion Board, confirmed that the red cable is aligned with the dot mark, otherwise, the payload may be burned.

Figure 2 SkyPort V2 Pin

Port1

Table 1 SkyPort V2 Pin

Pin NumberFnuction
1~6Power Supply
11, 12 Payload communicate with drone(Must)
14Time Sync (the drone must have RTK)
15, 16 High Power Apply
17~20Transfer the high-speed data
Port2

Table 2 SkyPort V2 Pin

Pin NumberFnuction
1~17Power Supply
37, 39 Payload communicate with drone(Must)
19Time Sync(the drone must have RTK)
22High Power Apply
23, 25, 29, 31Transfer the high-speed data

Using X-Port

X-Port Pin

X-port provides a cable interface, which can be used to connect X-Port to an interface expansion board or third-party development board. The pins of the X-Port standard gimbal are shown in Figure 3 X-port pin.

NOTICE: Please use the specified cable to connect the X-Port and the Expansion Board. It should be confirmed that the red cable is aligned with the dot mark, otherwise, the payload may be burned.

Figure 3 X-Port Pin

Explanation: When using X-port standard gimbalopen in new window to develop payload device with gimbal function, accessories in Payload SDK Development Kit 2.0open in new window can be adapted to third-party platforms.

Table 3 X-Port Pin

Pin NumberFnuction
1~6Power Supply
11, 12 Payload communicate with drone(Must)
14Time Sync (the drone must have RTK)
15, 16 High Power Apply
17~20Transfer the high-speed data

Install the Payload

  1. Install the spindle arm: Use four M2 × 12 screws to lock the payload, and the depth of the corresponding threaded hole on the payload is not less than 5.3 mm.
  2. Install the auxiliary shaft arm: Use an M3 screw, auxiliary shaft sleeve, and auxiliary shaft rubber plug to lock the auxiliary shaft arm. Make sure the M3 screw passes through the center axis of the pitch axis.
  3. The centroid of the payload
    • For a payload with a constant centroid, the payload must be on the vertical line of the pitch axis.
    • For a zoom camera with a variable center of the centroid, the payload must be on the vertical line of the pitch axis when the lens is at the maximum magnification.

Payload development based on TypeC interface(OSDK Expansion Interface)

Definition of TypeC Interface

Figure 4. Adapter Board Cable Interface

OSDK EN-M300.png

Table 4. Adapter Board Cable Interface

A1A2A3A4A5A6A7A8A9A10A11A12
Name GNDNCNCVCC_24VSYNC_PPSUSB_IDUSB_VBUSON_DETVCC_24VNCNCGND
B12B11B10B9B8B7B6B5B4B3B2B1
Name GNDNCNCVCC_24VUART_RXUSB_DMUSB_DPUART_TXVCC_24VNCNCGND
Interface Function

Notice: There are differences between M300 RTK and M30/M30T in power supply interface, USB_VBUS interface, and USB_ID interface. Compatibility needs to be considered in software and hardware design.

  • Power Output:

    • If you need to power the user load equipment, please use the VCC_24V pin.

      NOTE

      • The rated voltage of this interface is 24V, and the total power output by the drone is 96w.
      • Those VCC_24V pins are on the same network, developers could connect the VCC_24V pins according to actual requirements. But to ensure the drone output the current continuously and steadily, please connect 4 VCC_24V pins at the same time.
    • M300 device is in USB accessory mode, USB_ID pin (A6) must be floated.

    • If USB_VBUS pin (A7) is connected to the VBUS pin of the user's OSDK device, TVS devices should be connected for ESD protection. The voltage of this pin should not exceed 5V.

    • ON_DET pin (A8) is a detect pin of M300 external OSDK device. For 24V voltage output, the opposite connected to the ON_DET pin (A8) must be GND, and do not connect any resistance in series.

  • Data Communication:

    • If you want to use the USB 2.0 function, please use the USB_DP pin (B6) and USB_DM pin (B7).
    • To use the serial port on the drone to communicate with the user payload device, please use the UART_RX pin (B8) and UART_TX pin (B5). UART_RX pin (B8) should connect with the TX side of the OSDK device and UART_TX pin (B5) should connect with the RX side of the OSDK device.
  • Time Synchronization: If you need to use the synchronization signal output by the drone, please use the SYNC_PPS pin (A5).

Hardware Reference Design

Press to know more: Hardware Reference Designopen in new window.

Using OSDK Expansion Module

NOTE: The details for installing the OSDK expansion module on the M300 RTK, please refer to the OSDK Expansion Module Product Informationopen in new window. The extension component is now available for sale in DJI mall, please click purchase linkopen in new window.

  • Communication Interface

Figure 5. Communication Interface

      

NOTE:

  • The USB 2.0 port of the OSDK expansion module is the USB Device, and the user payload device is the Host.
  • Developers can use the power cord and USB cable to connect the user payload device and the OSDK expansion module.
  • OSDK USB2.0 Interface

Figure 6. OSDK USB2.0 Interface

      

  • Power Output 24V (XT30)

Figure 7. Power Output 24V (XT30)

      

Using SDK Round Ribbon Cable

The developer integrates the SDK round ribbon cable into the payload according to the pin definition of the SDK round ribbon cable and connects the customized user load equipment with the corresponding aircraft through the wire.

Please see Figure and Table for detailed interface definition.

Using M30/M30T

There are three methods for M30 / M30T to connect to the third-party Development Board.

  1. Through the PSDK Interface on the M30 / M30T and SDK round ribbon cable.

Figure 8 Device Connection

Payload development based on TypeC interface(PSDK Interface)

TypeC Interface Definition

Figure 9. Adapter Board Cable Interface

OSDK EN-M30.png

Table 1. Adapter Board Cable Interface

A1A2A3A4A5A6A7A8A9A10A11A12
Name GNDNCNCVCCSYNC_PPSUSB_IDUSB_VBUSON_DETVCCNCNCGND
B12B11B10B9B8B7B6B5B4B3B2B1
Name GNDNCNCVCCUART_RXUSB_DMUSB_DPUART_TXVCCNCNCGND
Interface Function

Notice: There are differences between M300 RTK and M30/M30T in power supply interface, USB_VBUS interface, and USB_ID interface. Compatibility needs to be considered in software and hardware design.

  • Power Output:

    • If you need to power the user load equipment, please use the VCC pin.

      NOTE

      • the rated voltage of this interface is 19.2-26.1 V(decreases with the battery voltage), and the maximum power output by the drone is 96W.
      • Those VCC pins are on the same network, developers could connect the VCC pins according to actual requirements. But to ensure the drone output the current continuously and steadily, please connect 4 VCC pins at the same time.
    • M30/M30T is the USB Host device by default. The USB_ID pin (A6) must be pulled down.

    • USB_ VBUS pin (A7) only when USB_ID pin (A6) is pulled down, it will output 5V voltage output, up to 500mA.

    • ON_DET pin (A8) is a detect pin of the M30/M30T external PSDK device. For 19.2-26.1 V voltage output, the opposite connected to the ON_DET pin (A8) must be GND, and do not connect any resistance in series.

  • Data Communication:

    • If you want to use the USB 2.0 function, please use the USB_DP pin (B6) and USB_DM pin (B7).
    • To use the serial port on the drone to communicate with the user load equipment, please use the UART_RX pin (B8) and UART_TX pin (B5). UART_RX pin (B8) should connect with the TX side of the PSDK device and UART_TX pin (B5) should connect with the RX side of the PSDK device.
  • Time Synchronization: If you need to use the synchronization signal output by the drone, please use the SYNC_PPS pin (A5).

Hardware Reference Design

Press to know more: Hardware Reference Designopen in new window.

Using SDK Round Ribbon Cable

The developer integrates the SDK round ribbon cable into the payload according to the pin definition of the SDK round ribbon cable and connects the customized user load equipment with the corresponding aircraft through the wire. Please see Figure and Table for detailed interface definition.