ZR30 User Manual v1.3
ZR30 User Manual v1.3
ZR30
OPTICAL POD
4K RESOLUTION 30X OPTICAL ZOOM
USER MANUAL
V1.3
January 2024
1
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
ZR30 is a zoom optical pod with quick release structure and up to 180X hybrid zoom
/ 30X optical zoom, carrying a 4K 1/2.7-inch Sony CMOS, 4K video recording and
photography, abundant gimbal control interface compatible with both KAPYAH links
and third-party links. High accuracy and high collaboration control algorithms ensure
stable imaging and zooming ability during flight. HDR and starlight night vision
extend the application scenarios to both day and night. In a word, ZR30 optical pod
To ensure you a good experience of the product, please read this manual carefully.
If you encounter any issue using the product, please consult the manual You can
[Type here]
ZR30 User Manual v1.3
3
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
READ TIPS
Icons
Please pay more attention to content indicated with the following marks:
Safety
ZR30 optical pod is designed for professional application in specific scenes, which
disassemble the gimbal or to change its mechanical structure. And don’t add more
payload to the gimbal other than its own camera. Gimbal camera is designed with
very precise structure, users who approach to the equipment should have the basic
device may cause damage, property loss, or human injuries, and KAPYAH
Technology is not obliged to any of the damage, loss, or injury. It is prohibited to use
KAPYAH products for military purpose. Users under 14 years’ old should follow an
[Type here]
ZR30 User Manual v1.3
When your KAPYAH products are stand idle, or you are bringing it outdoors, or the
system reached service life, then please do read the precautions below.
CAUTION
Always place your KAPYAH products at places where babies or kids do not reach.
DANGER
KAPYAH products should be placed in places with below conditions:
Not on an unstable holder which lacks solid supports or may cause vibration.
5
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
1 INTRODUCTION
Up to 180x hybrid zoom (30x optical zoom). The scenery is clear, the algorithm is
fast and accurate, and the viewpoint is automatically focused, making it easy to
produce grand pictures. Silky movement, smooth zoom, distant scenery, now within
reach.
*The picture files captured by ZR30 can be written with GPS location information and time attrib
utes.
Point To Focus
Point anywhere to focus lens from zoom camera to get clear view on selected part
of screen.
Focus Tracking
Zoom camera stays focusing and keeps filming smooth videos while users are
scaling images.
The ultra-sensitive starlight CMOS keep images bright in low light environment.
HDR
HDR (High Dynamic Range) precisely captures good details of highlights and
ZR30 works with the optional KAPYAH AI tracking module, which combines
KAPYAH’s self developed AI algorithm and collaborate with KAPYAH optical pods
(gimbal cameras) to achieve real-time tracking and capture of targets, and real-
time focusing and zooming to highlight the selected object in the picture. The
target will always be in the center of the picture and maintain a clearly visible
It supports the anti-lost function. During the following process, if the target is blocked
or briefly leaves the monitoring screen, the AI tracking module can automatically
The yaw axis of ZR30 rotates in a range of 540 degrees. Hanging below VTOL
drones or planes, ZR30 optical pod captures 360 degrees around. KAPYAH quick
release structure will support more interesting payloads in the future. Welcome to
7
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
(Mavlink).
Nose Mode
will automatically enter the nose mode, which is convenient for installation on the
nose position of the fixed wing drone to achieve a friendlier installation angle and
Gimbal automatically activates upside down mode when it is placed upside down,
very convenient to be mounted on multiple kinds of vehicles like UGV, USV, robot
Follow Mode
Lock Mode
FPV Mode
Gimbal rotates simultaneously as aircraft rolls to get FPV view, and output
KAPYAH has done even more in control algorithms and stabilization algorithms.
Compensate and correct errors of the inertial measurement unit, reduce interference
factors such as zero bias, scale factor, inter-axis error, temperature drift, noise, etc.,
greatly improve the measurement accuracy of IMU, and improve the stability of the
gimbal in large temperature differences, wide margin steering, and strong vibration
environments.
gyroscopes, obtain the pitch angle, roll angle, and yaw angle of the gimbal through
mathematical models and filtering algorithms, and fuse this information to effectively
control and continuously output stable high-definition video images during motion.
9
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Control the current components of the motor to control torque and magnetic field
[Type here]
ZR30 User Manual v1.3
11
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Overall
Ethernet Micro-HDMI
Video Output Port
S.Bus
Control Signal Input
UART
Port
Ethernet UDP / TCP
Yaw
High Accuracy
Pitch
3 Axis Stabilization
Roll
11 ~ 25.2 V
Working Voltage
(3S to 6S)
Average 5 W Summit
Power Consumption
12 W
Dimension
(Quick Release Board 132 x 100 x 180 mm
Included)
Weight
(Quick Release Board 668 g
Included)
Weight 38 g
Gimbal
Angular Vibration Range ±0.01°
[Type here]
ZR30 User Manual v1.3
Camera
30X Optical Zoom
Lens
(180X Hybrid Zoom)
FAT32
Supported File System
ExFAT
Supported MicroSD
MicroSD Class10, max 128 GB
Cards
13
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark
To make sure that you get smoothly recorded video, please format the SD card, and make the
The status indicator on KAPYAH gimbal uses three different colors and different
Slow Red Blinks: One of or all the firmware does not match (camera firmware, gimbal
Triple Red Blinks: Failed to identify zoom module (for optical zoom gimbal
camera only).
[Type here]
ZR30 User Manual v1.3
2.1 Installation
15
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark
The specs of the screws for fixing the four tube screws are M.3*8 mm. Quantity: 4.
Welcome to contact KAPYAH to get the KAPYAH Gimbal 3D Model for pre-installation.
KAPYAH optical pod and gimbal camera can be powered in many ways. If you plan
to carry KAPYAH gimbal by your plane and the plane may roll in a wide margin, then
[Type here]
ZR30 User Manual v1.3
KAPYAH optical pod and gimbal camera support abundant interesting functions.
KAPYAH optical pod and gimbal camera can save time and location information into
captured pictures in EXIF format. The preconditions that the function will work are:
⚫ Time Information: The ground station must connect to internet and run the latest
through UART.
17
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark
Location information can only be acquired from Mavlink protocol at this moment. The above
functions are only available in KAPYAH optical pods and gimbal cameras which support
capturing pictures and TF card recording and can communicate with the flight controller
Point to Focus
The zoom camera in ZT30 four-sensor optical pod support selecting focus and
focusing to a point on any place in the image while KAPYAH FPV or KAPYAH
Focus Tracking
The zoom camera in ZT30 four-sensor optical pod automatically adjust focal length
2.3.3 Output Four Video Streams from the Same RTSP Addresses
KAPYAH optical pod (gimbal camera) can output up to four video streams from the
same
RTSP addresses.
[Type here]
ZR30 User Manual v1.3
3 GIMBAL CONTROL
KAPYAH optical pod (gimbal camera) support multiple methods to control.
KAPYAH optical pod (gimbal camera) can connect to KAPYAH link through
KAPYAH AI tracking module and enable AI recognition, tracking, and follow feature
through KAPYAH FPV app or KAPYAH QGC app while the air unit is communicating
19
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
It is necessary to prepare the tools, firmware, and software below before controlling
⚫ Flight Controller
Mark
Above products can be purchased from KAPYAH directly or from KAPYAH authorized
dealers.
Mark
Mark
20
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Steps
2. Confirm if KAPYAH FPV app has been upgraded to be compatible with KAPYAH
3. Please refer to the picture below to connect KAPYAH AI tracking module with
21
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
22
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
4. Please refer to the picture below to connect KAPYAH gimbal camera with flight
6. Return to main image, touch the AI tracking function button to enable the
function.
7. Confirm if the flight controller integration button shows up (which means flight
8. Switch flight mode to “Guided” and configure the max flight speed.
24
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
DANGER
Considering flight safety, it is recommended to use the AI follow function and obstacle
When the AI follow function is activated, the operator will not be able to manually control
the flight, and the ground station cannot use the guided mode to control the aircraft.
When the AI follow function is activated, please ensure that the view on the follow route is
clear and free of obstacles, and always pay attention to flight safety. When encountering
obstacles, please immediately take over the flight manually and re-plan the route.
Mark
Using KAPYAH AI tracking module with multiple-sensor optical pods, in KAPYAH FPV
app, the main stream of the optical pod should be configured as zoom camera.
When the tracked object is higher than the multi-rotor drone on the horizontal plane, AI
25
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
follow function does not work; when the tracked object and the multi-rotor drone are on the
KAPYAH optical pod (gimbal camera) can connect to KAPYAH link directly to
control gimbal rotation, gimbal functions, and video display in KAPYAH FPV app
or KAPYAH QGC app when the air unit is communicating with the ground unit.
26
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
3.2.1 Preparation
It is necessary to prepare the tools, firmware, and software below before controlling
Mark
Above products can be purchased from KAPYAH directly or from KAPYAH authorized
dealers.
Mark
Mark
Above software can be downloaded from relevant product page on KAPYAH official
website.
27
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
2. Use KAPYAH Gimbal to KAPYAH Link Cable to connect the air unit’s Ethernet
4. Run KAPYAH FPV app, go to “Settings” and select the relevant KAPYAH camera
type with main / sub stream, video stream will display. Gimbal motion and camera
1. Power the air unit and bind it with the ground unit.
2. Use KAPYAH Gimbal to KAPYAH Link Cable to connect the air unit’s Ethernet
3. Run KAPYAH QGC app, go to “Comm Links – Video Settings”, and select “RTSP
Video Stream” for “Source”, then enter the default RTSP addresses of KAPYAH
gimbal camera, video stream will display. Gimbal motion and camera functions
Sliding on touchscreen can control gimbal rotation. Sliding left and right are yaw
Mark
Slide on touchscreen and hold it, gimbal will continue rotating till it reaches physical limit.
Farther that you hold it from the centre of the screen, faster the gimbal rotates.
Touching “Zoom in” or “Zoom out” icon on can control the zoom camera.
Click the touchscreen once, optical zoom gimbal camera will focus automatically.
Touch “Photo” icon once on to take a picture. Touch “Record” icon to start video
Mark
Before taking a picture or recording video, it is necessary to insert SD card into the camera.
29
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
KAPYAH optical pod (gimbal camera) can connect to KAPYAH link directly to
control gimbal rotation, gimbal functions, and video display in KAPYAH QGC
Windows software when the air unit is communicating with the ground unit.
30
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
3.3.1 Preparation
Mark
Above products can be purchased from KAPYAH directly or from KAPYAH authorized
dealers.
Mark
Mark
Above software can be downloaded from relevant product page on KAPYAH official
website.
31
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Steps
1. Power the air unit and bind it with the ground unit.
2. Use KAPYAH Gimbal to KAPYAH Link Cable to connect the air unit’s Ethernet
3. Then connect the ground unit of the KAPYAH link to the Windows computer.
4. Modify the computer’s Ethernet settings to have the same gateway with KAPYAH
and select “RTSP Video Stream” for “Source”, then enter the default RTSP
addresses of KAPYAH gimbal camera, video stream will display. Gimbal motion
Drag the mouse on screen can control gimbal rotation. Dragging the mouse left and
Mark
Drag the mouse on screen and hold it, gimbal will continue rotating unless there is a physical
stop. Farther you hold it from the center of the screen, faster the gimbal rotates.
32
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Clicking “Zoom in” or “Zoom out” icon on can control the zoom camera.
Click “Photo” icon once on to take a picture. Click “Record” icon to start video
Mark
Before taking a picture or recording video, it is necessary to insert SD card into gimbal
camera.
KAPYAH optical pod (gimbal camera) can be connected to the air unit of KAPYAH
link and the flight controller simultaneously for attitude control through joysticks,
ground station.
33
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
3.4.1 Preparation
34
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark
Above products can be purchased from KAPYAH directly or from KAPYAH authorized
dealers.
Mark
Mark
Mark
Above software can be downloaded from relevant product page on KAPYAH official
website.
35
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Steps
1. Power the air unit and bind it with the ground unit.
2. Use KAPYAH Gimbal to KAPYAH Link Cable to connect the air unit’s Ethernet
3. Wire the 3 in 1 Control Cable with the MK15 / HM30 Air Unit S.Bus Y Cable.
4. Then use the combined cable to connect the air unit’s RC port and the gimbal’s
6. Use the USB-C to USB-A cable to connect the gimbal to the computer, then run
36
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
8. For the assigned channels, operate their mapped joysticks, dials, switches, and
buttons on the handheld ground station to confirm if they are working normally.
3.4.2 Gimbal Pitch and Yaw Rotation (Taking an example of Dial Control)
Below is suggested channel mapping settings for testing, customers are free to
Then, if you operate the left dial, gimbal will rotate on yaw axis. If you operate the
right dial, gimbal will rotate on pitch axis. Press the button, gimbal will center itself
automatically.
Mark
Hold the dial from its center position, gimbal will keep rotating unless there was a physical
limit. Farther you hold it away from center, faster gimbal rotates.
37
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Below are the suggested channel mapping settings for testing, customers are free
⚫ Channel 13 = A Switch
⚫ Channel 14 = B Switch
In KAPYAH PC Assistant, map “Zoom” function to channel 13, map “Auto Focus”
Then, if you operate switch A, camera will zoom in or zoom out. If you operate switch
3.4.4 Take Pictures and Record Video (Taking an Example of Button Control)
Below are the suggested channel mapping settings for testing, customers are free
⚫ Channel 9 = Button A
⚫ Channel 10 = Button B
channel 10.
38
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Then, if you press button A, camera will take a picture. If you press button B, camera
Mark
Before taking pictures or recording video, it is necessary to insert SD card into the camera.
KAPYAH gimbal camera provides control protocol for all customers. Please refer to
the below guide for secondary development based on KAPYAH gimbal camera.
CMD_ID 7 1 Command ID
39
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
TCP Heartbeat
CMD_ID:0x00------TCP Heartbeat
Send data format
No. Data Type Data Name Description
Mark:
1. Heartbeat pack: 55 66 01 01 00 00 00 00 00 59 8B
2. Only available for TCP protocol.
Mark:
1. Ignore the 4th byte (higher byte)
2. Zoom firmware version is only available for optical zoom cameras such as ZR10, ZR30, and ZT30 at this
moment.
40
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark:
The first two digits of the hardware ID character string indicates product model number in hexadecimal.
⚫ 0x6B: ZR10
⚫ 0x73: A8 mini
⚫ 0x75: A2 mini
⚫ 0x78: ZR30
⚫ 0x82: ZT6
⚫ 0x7A: ZT30
Auto Focus
CMD_ID:0x04------Auto Focus
41
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
1: Success
1 uint8_t sta
0: Failure
Mark:
1. Auto focus command is only available for optical zoom gimbal cameras like ZT30, ZR30, and ZR10 at this
moment.
2. Under split image, the effective value of the x coordinates is a half of the length of the video stream
resolution.
1: Start zooming in
0: Stop zooming in / out (send when
1 int8_t zoom
released from control command)
-1: Start zooming out
ACK data format
Mark:
1. Manual zoom and auto focus command is only available for optical zoom gimbal cameras like ZT30,
ZR30, and ZR10 at this moment.
2. Under this command, ZT6 and A8 mini can only do manual zoom but cannot do auto focus.
42
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Absolute_movemen
uint8_t Success and return to 1
t_ask
Mark:
1. Absolute zoom command is only available for optical zoom gimbal cameras like ZT30, ZR30, and ZR10 at
this moment.
2. Under this command, ZT6 and A8 mini can only do absolute zoom but cannot do auto focus.
Mark:
This command is available for zoom gimbal cameras.
Mark:
This command is available for zoom gimbal cameras.
43
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Manual Focus
CMD_ID:0x06------Manual Focus
1: Long shot
0: Stop manual focus (send when
1 int8_t focus
released from control command)
-1: Close shot
ACK data format
1: Success
uint8_t sta
0: Fail
Mark:
Auto focus command is only available for optical zoom gimbal cameras like ZT30, ZR30, and ZR10 at this
moment.
Gimbal Rotation
CMD_ID:0x07------Gimbal Rotation
1: Success
uint8_t sta
0: Fail
Center
CMD_ID:0x08------Center
44
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
1: Success
1 uint8_t sta
0: Fail
45
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
0: Success
1: Fail to take a photo
(Please check if TF card is
inserted)
1 uint8_t info_type 2: HDR ON
3: HDR OFF
4: Fail to record a video
(Please check if TF card is
inserted)
46
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
No ack
Mark:
1. The above data to be divided by 10 is the actual degree, accuracy in one decimal place.
2. It is suggested to use the command “0x25” to configure the sending frequency of gimbal attitude data in
certain frequency continuously and actively.
Pitch
⚫ ZT30 / ZT6 / ZR30 / ZR10 / A8 mini / A2 mini: -90.0 ~ 25.0 degree
47
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark:
1. The accuracy of the control angle is in one decimal place. Eg: Set yaw as 60.5 degrees, the command
number should be set as 605.
2. The actual angle data returned to be divided by 10 is the actual degree, accuracy in one decimal place.
48
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark:
This command is only available for ZT30 and ZT6 at this moment.
49
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Image Mode:
0: Split Screen (Main: Zoom &
Thermal. Sub: Wide Angle)
1: Split Screen (Main: Wide Angle &
Thermal. Sub: Zoom)
2: Split Screen (Main: Zoom & Wide
Angle. Sub: Thermal)
3: Single Image (Main: Zoom. Sub:
Thermal)
1 uint8_t vdisp_mode 4: Single Image (Main: Zoom. Sub:
Wide Angle)
5: Single Image (Main: Wide Angle.
Sub: Thermal)
6: Single Image (Main: Wide Angle.
Sub: Zoom)
7: Single Image (Main: Thermal. Sub:
Zoom)
8: Single Image (Main: Thermal. Sub:
Wide Angle)
ACK data format
Image Mode:
0: Split Screen (Main: Zoom &
Thermal. Sub: Wide Angle)
1: Split Screen (Main: Wide Angle &
Thermal. Sub: Zoom)
2: Split Screen (Main: Zoom & Wide
Angle. Sub: Thermal)
3: Single Image (Main: Zoom. Sub:
Thermal)
1 uint8_t vdisp_mode 4: Single Image (Main: Zoom. Sub:
Wide Angle)
5: Single Image (Main: Wide Angle.
Sub: Thermal)
6: Single Image (Main: Wide Angle.
Sub: Zoom)
7: Single Image (Main: Thermal. Sub:
Zoom)
8: Single Image (Main: Thermal. Sub:
Wide Angle)
Mark:
This command is only available for ZT30 and ZT6 at this moment.
50
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark:
This command is only available for ZT30 and ZT6 at this moment.
Mark:
1. Thermal camera supports digital zoom, the temperature measuring box will zoom in and out according to
the digital zoom multiples. Under digital zoom, the temperature measuring range should refer to the box
responded by the camera.
2. This command is only available for ZT30 and ZT6 at this moment.
52
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark:
This command is only available for ZT30 and ZT6 at this moment.
Mark:
This command is only available for ZT30 and ZT6 at this moment.
53
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark:
This command is only available for ZT30 and ZT6 at this moment.
54
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
0: 30 fps
1 uint8_t mode 1: 25 fps and output temperature
frame
Mark:
This command is only available for ZT30 and ZT6 at this moment.
UDP
⚫ IP: 192.168.144.25
⚫ Port Number: 37260
TCP
⚫ IP: 192.168.144.25
⚫ Port Number: 37260
⚫ Heartbeat Package Data: 55 66 01 01 00 00 00 00 00 59 8B
zoom 1
55 66 01 01 00 00 00 05 01 8d 64
zoom -1
55 66 01 01 00 00 00 05 FF 5c 6a
Manual Zoom 1
55 66 01 01 00 00 00 06 01 de 31
Manual Zoom -1
55 66 01 01 00 00 00 06 ff 0f 3f
Take a Picture
55 66 01 01 00 00 00 0c 00 34 ce
Record Video
55 66 01 01 00 00 00 0c 02 76 ee
Center
55 66 01 01 00 00 00 08 01 d1 12
Auto Focus
55 66 01 01 00 00 00 04 01 bc 57
Lock Mode
55 66 01 01 00 00 00 0c 03 57 fe
Follow Mode
55 66 01 01 00 00 00 0c 04 b0 8e
56
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
FPV Mode
55 66 01 01 00 00 00 0c 05 91 9e
Send “Enable HDMI Output” Command to Gimbal Camera (Available for ZT6, ZR30, and A8 mini, restart after
configuration)
55 66 01 01 00 00 00 0c 06 f2 ae
Send “Enable CVBS Output” Command to Gimbal Camera (Available for ZT6 and A8 mini, restart after
configuration)
55 66 01 01 00 00 00 0c 07 d3 be
Send “Disable CVBS / HDMI Output” Command to Gimbal Camera (Available for ZT6, ZR30, and A8 mini,
restart after configuration)
55 66 01 01 00 00 00 0c 08 3c 4f
57
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
55 66 01 01 00 00 00 11 01 3a ab
Request Range Value from the Rangefinder (Low byte in front, high byte in back, available for ZT30)
55 66 01 00 00 00 00 15 D1 96
}
//crc=~crc; //??
return(crc);
}
58
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
return 2;
}
};
59
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark
Before using the guide, please do read the chapter 3.3.1 to 3.3.5 of the user manual.
2. Chang the gimbal camera’s server port and IP addresses to what you need. The double
quotation marks of the IP addresses should be kept.
60
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
7. Following the above steps, compile and run the SDK and you will see the printed data below,
which means data can be sent and received normally. At this moment, please observe if the
gimbal camera executes the relevant actions.
Mark
Before using the SDK to communicate with the gimbal camera in UDP protocol, please do make sure that
the device and the gimbal camera are in the same gateway, which means that ubuntu can ping the gimbal
camera’s IP addresses successfully.
If they still didn’t communicate, the possible reason is that the Windows firewall is interrupting the sending
and receiving of data, then try to disable Windows firewall temporarily.
61
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
#define RECV_BUUF_SIZE 64
#define SERVER_PORT 37260 // Gimbal Camera (Server) Port
#define SERVER_IP "192.168.144.25" // Gimbal Camera (Server) IP Addresses
perror("sendto");
exit(1);
}
*/
recv_len = recvfrom(sockfd, recv_buf, RECV_BUUF_SIZE, 0, (struct sockaddr *)&recv_addr,
&addr_len);
if (recv_len < 0) {
perror("recvfrom"); exit(1);
}
// close socket
close(sockfd);
return 0;
}
63
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Videos and images stored in KAPYAH gimbal camera can be acquired directly from
bin/media.cgi
The below interface is to request the directory of the file format for an easy overview. URL:
/api/v1/get directories
Method: GET
Request Data
0: Images
media_type int
1: Videos
Response Data
The format of the response data is below:
{
"code": 200, // Status code.
"data": {}, // Content of the data.
"success": true, // If the request is successful.
"message": "" // Error message if the request is failed.
}
The definition of data is below:
64
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
0: Images
media_type int
1: Videos
[
directories { File directory
"name": "aa",
"path": "/yyy/aa"
},
{
"name": "bb",
"path": "/yyy/bb"
},
]
Request Example
Request the number of all the images:
{
"media_type": 0
}
Successful Response
Condition: Request data is legal.
Status Code: 200 OK
Response Example:
File directory after response:
{
"code": 200,
"data": {
"media_type": 0,
"directories": [
{
"name": "aa",
"path": "photo/aa"
},
{
"name": "bb",
"path": "photo/bb"
}
]
65
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
}
"success": true
}
Error Response
Condition: Request data is illegal. Eg: File type is illegal.
Status Code: 400 BAD REQUEST
Response Example:
{
"code": 400,
"message": "Invalid media type",
"success": false
}
The below interface is for authorized users to request the file numbers under the target directory.
URL: /api/v1/getmediacount
Method: GET
Request Data
0: Images
media_type int
1: Videos
Response Data
The format of the response data is below:
{
"code": 200, // Status code.
"data": {}, // Content of the data.
"success": true, // If the request is successful.
"message": "" // Error message if the request is failed.
66
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
}
The definition of data is below:
0: Images
media_type int
1: Videos
Request Example
Request the number of all the images:
{
"media_type": 0,
"path": ""
}
Request the image numbers under the target path:
{
"media_type": 0,
"path": "/photo/aa"
}
Successful Response
Condition: Request data is legal and user identity verification passed.
Status Code: 200 OK
Response Example:
File numbers which return to 'photo/aa' after response:
{
"code": 200,
"data": {
"media_type": 0,
"count": 20,
"path": "/photo/aa"
},
"success": true
}
67
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Error Response
Condition: Request data is illegal. Eg: File type is illegal. File path does not exist.
Status Code: 400 BAD REQUEST
Response Example:
{
"code": 400,
"message": "Invalid media type",
"success": false
}
The below interface is for authorized users to request the file list.
URL: /api/v1/getmedialist
Method: GET
Request Data
0: Images
media_type int
1: Videos
Response Data
The format of the response data is below:
{
"code": 200, // Status code.
"data": {}, // Content of data.
68
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
0: Images
media_type int
1: Videos
[
{
"name": "aa.jpg",
"url": "http://xxx/yyy/aa.jpg"
},
list File list.
{
"name": "bb.jpg",
"url": "http://xxx/yyy/bb.jpg"
},
]
Request Example
Request the image list from “photo/20230630” directory:
{
"media_type": 0,
"path": "photo/20230630",
"start": 0,
"count": 10
}
Successful Response
Condition: Request data is legal and user identity verification passed.
Status Code: 200 OK
Response Example:
Return to the image list under “'photo/20230630” directory after response:
{
"code": 200,
"data":{
"media_type": 0,
69
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
"path": "photo/20230630",
"list": [
{
"name": "aa.jpg",
"url": "http://xxx/yy/aa.jpg"
},
{
"name": "bb.jpg",
"url": "http://xxx/yy/bb.jpg"
},
...
],
},
"success": true
}
Error Response
Condition: Request data is illegal. Eg: File type is illegal. File path does not exist. Start index exceed the max
value. Etc.
Status Code: 400 BAD REQUEST
Response Example:
{
"code": 400,
"message": "path not exist",
"success": false
}
70
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Gimbal camera’s UART port connects to ArduPilot flight controller’s UART port
directly to communicate with the flight controller and to control gimbal rotation,
71
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Preparation
It is necessary to prepare the tools, firmware, and software below before controlling
Mark
Above products can be purchased from KAPYAH directly or from KAPYAH authorized
dealers.
Mark
Steps
2. Connect gimbal camera’s UART port to ArduPilot flight controller’s UART port
The params below assume the autopilot’s telem2 port is used and the Camera1
control instance.
73
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
⚫ MNT1_PITCH_MIN to -90
⚫ MNT1_PITCH_MAX to 25
⚫ MNT1_YAW_MIN to -80
⚫ MNT1_YAW_MAX to 80
targetting
⚫ RC6_OPTION = 213 (“Mount Pitch”) to control the gimbal’s pitch angle with
RC channel 6
⚫ RC7_OPTION = 214 (“Mount Yaw”) to control the gimbal’s yaw angle with
RC channel 7
video
74
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
The params below assume the autopilot’s telem2 port is used and the Camera1
control instance.
frequency.
75
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark
Integrate flight controller attitude data can effectively promote gimbal performance while
Gimbal camera’s UART port connects to PX4 flight controller’s UART port directly
to communicate with the flight controller and to control gimbal rotation, gimbal
76
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Preparation
It is necessary to prepare the tools, firmware, and software below before controlling
Mark
Above products can be purchased from KAPYAH directly or from KAPYAH authorized
dealers.
Mark
Let’s take an example of the problem that gimbal roll axis tilts abnormally.
78
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Check Firmware
Version
Calibrate Gimbal
1. IMU
2. Temperature
3. Accelerator
Calibrated Calibrated
PROBLEM SOLVED PROBLEM STILL
Optimize Installation
1. Gimbal Mounting
2. Gimbal connection cables to power,
Ethernet, and control should be soft.
3. Are dampers original?
4. Check drone vibration and propeller
dynamic balance.
79
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
NO / SLOW FAST
ATTITUDE CHANGE ATTITUDE CHANGE
Integrate
Flight Controller
Altitude Data
Contact
KapYah Support
80
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
4 VIDEO OUTPUT
ZR30 optical pod outputs video through Ethernet and Micro-HDMI port.
Mark
ZR30’s Ethernet port and Micro-HDMI port can output video stream simultaneously.
Gimbal camera connects to Windows device directly, then video will be displayed in
82
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Preparation
It is necessary to prepare the tools, firmware, and software below before outputting
Mark
Above products can be purchased from KAPYAH directly or from KAPYAH authorized
dealers.
Mark
Mark
Above software can be downloaded from relevant product page on KAPYAH official
website.
Steps
83
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
2. Use KAPYAH Gimbal Ethernet to RJ45 Cable to connect the gimbal quick
release board’s Ethernet port to Windows device’s RJ45 port. If your computer
does not come with RJ45 port, it is suggested to use an RJ45 to USB converter.
3. Modify the computer’s Ethernet settings to have the same gateway with KAPYAH
link and avoid IP addresses conflict.
and select “RTSP Video Stream” for “Source”, then enter the default RTSP
addresses of KAPYAH gimbal camera, video stream will display. Gimbal motion
KAPYAH gimbal camera can output video to any third-party link which provides
CAUTION
KAPYAH gimbal camera Ethernet port’s “RX-” pinout should connect to the third-party
link Ethernet port’s “RX-” pinout, and “RX+” pinout to “RX+” pinout. Do not cross the
84
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Steps
1. Power the air unit of the third-party link and bind it with the ground unit.
2. Use the video cable to connect KAPYAH gimbal camera’s Ethernet port and the
3. Open RTSP video player and input KAPYAH gimbal camera’s default RTSP
Mark
KAPYAH QGC Android app and Windows software support video display from third-party
links as well.
ZR30 optical pod can output video directly though the Micro-HDMI port.
Steps
1. Power ZR30 and connect it to PC. Run KAPYAH Assistant, switch video output
85
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
Mark
KAPYAH cameras released after ZT30 (including ZT30 and ZT6) start to use the new
addresses. KAPYAH cameras released before ZT30 (including ZR30, A2 mini, A8 mini,
86
2024 KapYah Industries Copyright
ZR30 User Manual v1.3
KAPYAH products for video display, camera stream settings, and communication
Mark
87
2024 KapYah Industries Copyright