SlideShare a Scribd company logo
2
Most read
6
Most read
9
Most read
DJI Payload SDK
Custom Searchlight Accessory
What is the DJI Payload SDK?
- The PSDK is a library for linux or RTOS that can compile for several different
cpu architectures.
- The PSDK source is modular making it easy to “transplant” into your
application.
- DJI provides a development kit Payload SDK (PSDK) and development
accessories X-Port, SkyPort V2 and SDK Round Ribbon Cable
- The PSDK has the hardware and software tools needed to create your own
accessories based on predefined standards
DJI Payload SDK
DJI Payload SDK
DJI Payload SDK
Features of the PSDK
- Power Management
- SDK Interconnection
- Data Subscription
- MOP Channels
- HQ Video Streaming
- Custom Widgets
- Works with DJI Pilot easily
- X-PORT Control
- Media Management
- Camera Features/Management
- Basic functions: set camera mode, take
pictures, record videos, get camera status
- Advanced functions: pointing zoom,
metering, focus
- Advanced features: video streaming,
media file playback and download
- Gimbal Features/Management
- Control the rotation speed and rotation
mode of the gimbal
- Set smoothing factor and maximum speed
factor
- Gimbal calibration, reset and angle fine-
tuning
How the PSDK Works (1) - Hardware Connection
- an X-PORT or SkyPort V2 to connect to a development board
- The development board then connects to any other third-party boards via
UART Serial or/and a network cable for high bandwidth applications
Image from DJI Developer Quick-start guide
How the PSDK Works (2) - Pinout
- Both X-PORT and SkyPort V2 have same pinout
Image from DJI Developer Quick-start guide
Pin Number Function
1 - 6 Power Supply
11, 12 Payload communication with
drone
14 Time Sync (drone must have
RTK)
15, 16 High-power apply
17 - 20 High-speed data transfer
Searchlight Development
Components
- DJI XPORT gimbal
- DJI Expansion Board with “Round Ribbon Cable”
- 10W Led Light Kit from LED Supply Company
- Raspberry PI Zero W 2
- 25vdc Relay, 1.2k Resistor, 2N4401 Transistor, X-30 power connectors
- A whole lot of Blue ABS 3D Printer Filament
How the PSDK Works (3) - Searchlight Example
- Order for how the searchlight interacts with PSDK/M300/Application:
1. Once a bound searchlight connects
2. The C++ UI widget initializes on the pi
3. The widget uses an internal PSDK bus to send messages over the serial bus
4. Once the widget has connected and DJI Pilot is showing the buttons
5. The C++ code on the pi receives button press events
6. A handler grabs these events
7. The event in the handler contains the ID of the button that was pressed
8. Logic in the handler uses these IDs to trigger specific actions, such as turning on and
off the search light
DJI Payload SDK

More Related Content

PDF
The naca airfoil series
PDF
Fighter aircraft design adp 1
PDF
Архитектура для мобильных игр - с чего начать и популярные решения / Евгений ...
PPTX
Cryogenic rocket engine
PDF
BWB Project Report
PPTX
Understanding AWS CodePipeline Presentation
PDF
HOVERCRAFT / AIR CAUSHION VEHICAL
PPTX
PRESENTATION ON CRYOGENIC ROCKET ENGINE
The naca airfoil series
Fighter aircraft design adp 1
Архитектура для мобильных игр - с чего начать и популярные решения / Евгений ...
Cryogenic rocket engine
BWB Project Report
Understanding AWS CodePipeline Presentation
HOVERCRAFT / AIR CAUSHION VEHICAL
PRESENTATION ON CRYOGENIC ROCKET ENGINE

What's hot (20)

PDF
Aircraft Design Proposal 2016
PPT
A basic introduction to aerodynamics
PDF
Final fighter aircraft design adp 2
PPT
Basic Aerodynamics and Flight Controls
PPT
Lesson 2 basic aerodynamics
PDF
rc plane design guide
DOCX
SAE Aero Design Final Report
PPTX
Conceptual Design of Blended Wing Body Cargo Aircraft
PPTX
cryogenic engine ppt by santosh
PDF
HelloCloud.io - Introduction to IaC & Terraform
PPTX
Blended wing body Aircraft PPT
PDF
Kubernetes API - deep dive into the kube-apiserver
PDF
SAE 2015 Final Report
PDF
Design, Analysis and Testing of Wing Spar for Optimum Weight
PDF
Quadcopter Technology
PPTX
Air Plane Flap Mechanism
PDF
Cryogenic rocket engines report
PPTX
Blended Wing Body (BWB) - Future Of Aviation
PPTX
Blended Wing Body (BWB) - Future Of Aviation
PDF
Aircraft Performance: Part I
Aircraft Design Proposal 2016
A basic introduction to aerodynamics
Final fighter aircraft design adp 2
Basic Aerodynamics and Flight Controls
Lesson 2 basic aerodynamics
rc plane design guide
SAE Aero Design Final Report
Conceptual Design of Blended Wing Body Cargo Aircraft
cryogenic engine ppt by santosh
HelloCloud.io - Introduction to IaC & Terraform
Blended wing body Aircraft PPT
Kubernetes API - deep dive into the kube-apiserver
SAE 2015 Final Report
Design, Analysis and Testing of Wing Spar for Optimum Weight
Quadcopter Technology
Air Plane Flap Mechanism
Cryogenic rocket engines report
Blended Wing Body (BWB) - Future Of Aviation
Blended Wing Body (BWB) - Future Of Aviation
Aircraft Performance: Part I
Ad

Similar to DJI Payload SDK (20)

PDF
Eclipse Kura Shoot a-pi
PDF
Sa*ple
PPTX
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
PDF
Geek Pic-Nic Master Class
PDF
3D Mapping with LiDAR - Report
PDF
Qualcomm Hexagon SDK: Optimize Your Multimedia Solutions
PDF
UplinQ - qualcomm® hexagon™ sdk optimize your multimedia solutions
PDF
Report (Auto Capture Camera Sensing System)
PPS
Management configuration
PDF
[HES2013] Hacking apple accessories to pown iDevices – Wake up Neo! Your phon...
PDF
DRIVE PX 2
PDF
Design of LDPC Decoder Based On FPGA in Digital Image Watermarking Technology
PPTX
Bare metal Javascript & GPIO programming in Linux
DOC
CV_Arshad_21June16
DOCX
manoj_resume
PDF
Study and Development of PIC Microcontroller to PC Communication via USB
PPTX
Introduction to the new MediaTek LinkIt™ Development Platform for RTOS
PDF
Raspberry pi technical documentation
PDF
RICOH THETA x IoT Developers Contest : Cloud API Seminar
PDF
“Introducing the Kria Robotics Starter Kit: Robotics and Machine Vision for S...
Eclipse Kura Shoot a-pi
Sa*ple
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Geek Pic-Nic Master Class
3D Mapping with LiDAR - Report
Qualcomm Hexagon SDK: Optimize Your Multimedia Solutions
UplinQ - qualcomm® hexagon™ sdk optimize your multimedia solutions
Report (Auto Capture Camera Sensing System)
Management configuration
[HES2013] Hacking apple accessories to pown iDevices – Wake up Neo! Your phon...
DRIVE PX 2
Design of LDPC Decoder Based On FPGA in Digital Image Watermarking Technology
Bare metal Javascript & GPIO programming in Linux
CV_Arshad_21June16
manoj_resume
Study and Development of PIC Microcontroller to PC Communication via USB
Introduction to the new MediaTek LinkIt™ Development Platform for RTOS
Raspberry pi technical documentation
RICOH THETA x IoT Developers Contest : Cloud API Seminar
“Introducing the Kria Robotics Starter Kit: Robotics and Machine Vision for S...
Ad

More from Godfrey Nolan (20)

PPTX
Counting Cars with Drones
PPTX
Customising QGroundControl
PPTX
Parrot Tutorials in Kotlin
PPTX
DJI Mobile SDK Tutorials in kotlin
PPTX
Drone sdk showdown
PPTX
AI/ML in drones
PPTX
Getting started with tensor flow datasets
PPTX
Using ML to make your UI tests more robust
PDF
Java best practices
PDF
Counting sheep with Drones and AI
PPTX
Writing Secure Mobile Apps for Drones
PDF
Android Device Labs
PPTX
The Day We Infected Ourselves with Ransomware
PDF
Agile Android
PDF
Agile Swift
PDF
Android Refactoring
PDF
Agile mobile
PDF
From Maps to Apps the Future of Drone Technology
PPTX
Tableau 10 and quickbooks
PDF
Network graphs in tableau
Counting Cars with Drones
Customising QGroundControl
Parrot Tutorials in Kotlin
DJI Mobile SDK Tutorials in kotlin
Drone sdk showdown
AI/ML in drones
Getting started with tensor flow datasets
Using ML to make your UI tests more robust
Java best practices
Counting sheep with Drones and AI
Writing Secure Mobile Apps for Drones
Android Device Labs
The Day We Infected Ourselves with Ransomware
Agile Android
Agile Swift
Android Refactoring
Agile mobile
From Maps to Apps the Future of Drone Technology
Tableau 10 and quickbooks
Network graphs in tableau

Recently uploaded (20)

PPTX
SAP Ariba Sourcing PPT for learning material
PDF
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
PPTX
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
PDF
Introduction to the IoT system, how the IoT system works
PPT
Ethics in Information System - Management Information System
PPTX
Slides PPTX: World Game (s): Eco Economic Epochs.pptx
PDF
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPT
250152213-Excitation-SystemWERRT (1).ppt
PDF
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
PPTX
Database Information System - Management Information System
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
PPT
415456121-Jiwratrwecdtwfdsfwgdwedvwe dbwsdjsadca-EVN.ppt
PPTX
newyork.pptxirantrafgshenepalchinachinane
PPTX
E -tech empowerment technologies PowerPoint
PDF
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPTX
artificial intelligence overview of it and more
PPTX
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
SAP Ariba Sourcing PPT for learning material
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
Introduction to the IoT system, how the IoT system works
Ethics in Information System - Management Information System
Slides PPTX: World Game (s): Eco Economic Epochs.pptx
mera desh ae watn.(a source of motivation and patriotism to the youth of the ...
SASE Traffic Flow - ZTNA Connector-1.pdf
250152213-Excitation-SystemWERRT (1).ppt
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
Database Information System - Management Information System
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
415456121-Jiwratrwecdtwfdsfwgdwedvwe dbwsdjsadca-EVN.ppt
newyork.pptxirantrafgshenepalchinachinane
E -tech empowerment technologies PowerPoint
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
artificial intelligence overview of it and more
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
The New Creative Director: How AI Tools for Social Media Content Creation Are...

DJI Payload SDK

  • 1. DJI Payload SDK Custom Searchlight Accessory
  • 2. What is the DJI Payload SDK? - The PSDK is a library for linux or RTOS that can compile for several different cpu architectures. - The PSDK source is modular making it easy to “transplant” into your application. - DJI provides a development kit Payload SDK (PSDK) and development accessories X-Port, SkyPort V2 and SDK Round Ribbon Cable - The PSDK has the hardware and software tools needed to create your own accessories based on predefined standards
  • 6. Features of the PSDK - Power Management - SDK Interconnection - Data Subscription - MOP Channels - HQ Video Streaming - Custom Widgets - Works with DJI Pilot easily - X-PORT Control - Media Management - Camera Features/Management - Basic functions: set camera mode, take pictures, record videos, get camera status - Advanced functions: pointing zoom, metering, focus - Advanced features: video streaming, media file playback and download - Gimbal Features/Management - Control the rotation speed and rotation mode of the gimbal - Set smoothing factor and maximum speed factor - Gimbal calibration, reset and angle fine- tuning
  • 7. How the PSDK Works (1) - Hardware Connection - an X-PORT or SkyPort V2 to connect to a development board - The development board then connects to any other third-party boards via UART Serial or/and a network cable for high bandwidth applications Image from DJI Developer Quick-start guide
  • 8. How the PSDK Works (2) - Pinout - Both X-PORT and SkyPort V2 have same pinout Image from DJI Developer Quick-start guide Pin Number Function 1 - 6 Power Supply 11, 12 Payload communication with drone 14 Time Sync (drone must have RTK) 15, 16 High-power apply 17 - 20 High-speed data transfer
  • 10. Components - DJI XPORT gimbal - DJI Expansion Board with “Round Ribbon Cable” - 10W Led Light Kit from LED Supply Company - Raspberry PI Zero W 2 - 25vdc Relay, 1.2k Resistor, 2N4401 Transistor, X-30 power connectors - A whole lot of Blue ABS 3D Printer Filament
  • 11. How the PSDK Works (3) - Searchlight Example - Order for how the searchlight interacts with PSDK/M300/Application: 1. Once a bound searchlight connects 2. The C++ UI widget initializes on the pi 3. The widget uses an internal PSDK bus to send messages over the serial bus 4. Once the widget has connected and DJI Pilot is showing the buttons 5. The C++ code on the pi receives button press events 6. A handler grabs these events 7. The event in the handler contains the ID of the button that was pressed 8. Logic in the handler uses these IDs to trigger specific actions, such as turning on and off the search light