-
Notifications
You must be signed in to change notification settings - Fork 195
Description
I would like to ask if it is possible to use it to control the gimbal only via serial communication from the Raspberry Pi, even though I probably do not have a properly created USB bulk. I tried to create and mount it, but I was unable to complete the configuration according to the instructions.
In the example files I have reset
#define CONFIG_HARDWARE_CONNECTION DJI_USE_ONLY_UART
and also
#define LINUX_UART_DEV1 "/dev/ttyUSB0"
#define USB_UART_CONNECTED_TO_UAV_VID (0x10C4)
#define USB_UART_CONNECTED_TO_UAV_PID (0xEA60)
I have the following connection:
powering USB-C -> X-port -> adapter board -> USB-TTL converter -> Raspberry Pi Zero 2W
I tried to run the compiled PSDK and this error was returned:
0.046 core [Info] dji_core.c:110 Payload SDK Version : V3.13.1-beta.0-build.2277 Sep 16 2025 16:29:14
5.236 adapter [Info] dji_access_adapter.c:358 Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
Is this error possible because the drone is not connected to the rest of the hardware?
My teacher said that I should move the gimbal without needing the drone itself for development. I just got this HW and the subsequent testing will be on the Matrice 350