Unmanned aerial vehicle with weapon mounting device
By using a combination of brushless motors and magnetic beads on the drone, combined with electrostatic and surge protection, the voltage surge problem of the rifle device when starting and stopping is solved, the reliability and aiming accuracy of the equipment are improved, and it can adapt to complex terrain and Long range strike.
Patent Information
- Application Number
- CN202420721547.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2034-04-09
AI Technical Summary
Existing drone-mounted rifle devices are prone to voltage surges and reverse shocks at the moment of starting and stopping, which reduces the reliability of the equipment.
A drone with a weapon mounting device is designed. It uses brushless motors and magnetic beads to suppress high-frequency noise on signal lines and power lines. It combines electrostatic and surge protection to enhance the reliability of the equipment and reduce the The shock device absorbs the recoil when shooting, improving aiming accuracy and shooting speed.
It effectively reduces the equipment damage rate, improves the reliability and aiming accuracy of the drone-mounted rifle, and enhances the accuracy and maneuverability of strikes in complex terrain and long distances.
Smart Images

Figure CN221874308U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of unmanned aerial vehicle (UAV) armed application equipment, in particular to an unmanned aerial vehicle (UAV) with a weapon mounting device. Background Art
[0002] Unmanned aerial vehicles, also known as "drones", are unmanned aircraft that are controlled by radio remote control equipment and self-contained program control devices. They are used in aerial photography, agriculture, plant protection, micro selfies, express delivery, disaster relief, wildlife observation, infectious disease monitoring, surveying and mapping, news reporting, power inspections, disaster relief, film and television shooting, creating romance and combat, which greatly expands the use of drones. Compared with manned aircraft in the combat field, it has the advantages of small size, low cost, easy use, low requirements for combat environment, and strong battlefield survivability.
[0003] At present, the Type 95 automatic rifle is mainly used in small-scale combat and for fire suppression. The firing method is hand-held control firing, which is greatly affected by human factors, and its mobility is not as good as that of drones, and it cannot reach the scene quickly. It is mainly used for short-distance, small-scale combat missions, which are easily affected by the environment, have poor flexibility and mobility, poor strike accuracy, and are also dangerous. If the Type 95 automatic rifle and drone are quickly combined, the drone can adapt to complex terrain and long distances with its wide and almost unlimited field of view and maneuvering range, and has high strike accuracy and maneuverability, and can achieve better combat results. The combat effectiveness and application prospects of small drones after mounting light weapons are very ideal, but the weight of the rifle is relatively large. When changing the pitch angle to shoot, a motor with a large torque is required to respond in time to ensure that the rifle's aiming action is reliable and in place, and to improve the accuracy of shooting.
[0004] Application number: CN202222797824.9, the patent document with the utility model name "A UAV-mounted rifle device" states: "
[0020] The second harmonic reduction motor 26 is used to drive the two-axis gimbal to realize the spatial position pointing of the gun body 5.
[0021] The second rotating mechanism 2 includes a compression shock-absorbing spring 21, a left clamp 22, a sliding bearing 23, a bearing baffle 24, a sliding light rod 25, a second harmonic reduction motor 26, a left baffle 27, a limit block 28 and a left mounting plate 29. The outer stator of the second harmonic reduction motor 26 is fixed to the right side of the U-shaped mounting bracket 16, and the inner rotor of the second harmonic reduction motor 26 is connected to the left mounting plate 29." It does not take into account that the second harmonic reduction motor 26 is prone to generate large voltage surges, reverse shocks, etc. at the moment of starting and stopping, which is easy to cause damage and reduce the reliability of the equipment during operation. Utility Model Content
[0005] The utility model aims at the problem that the circuit reliability of a UAV mounted with a rifle in the prior art still needs to be improved, and provides a UAV with a weapon mounting device which has a reasonable structure and high reliability.
[0006] The technical solution of the utility model is to provide a UAV with a weapon mounting device having the following structure: comprising a UAV, a quick-release joint and a weapon mounting device, the weapon mounting device comprising a mounting arm, a clamping bracket, a power module, an aiming drive device, a trigger drive device and a positioning light source, a quick-release joint and a mounting arm are arranged on the lower side of the UAV, the lower part of the mounting arm is connected to one side of the clamping bracket through the aiming drive device, a trigger drive device is arranged on the lower side of the clamping bracket, the power module supplies power to the trigger drive device and the positioning light source, the aiming drive device comprises an aiming drive circuit, a brushless motor and a reduction The aiming drive circuit drives the brushless motor to rotate, the brushless motor is fixed on the outside of the mounting arm, the rotating shaft of the brushless motor passes through the mounting arm and is connected to one side of the shock absorbing device, the other side of the shock absorbing device is fixedly connected to one side of the clamping bracket, and the control signal input end of the brushless motor is connected to the control signal output end of the aiming drive device; the trigger drive device contains a trigger drive circuit, a servo and a trigger arm, the trigger drive circuit drives the servo to rotate, a trigger arm is vertically arranged on the servo output shaft, the end of the trigger arm is close to the trigger of the weapon, and the control signal input end of the servo is connected to the control signal output end of the trigger drive device.
[0007] Preferably, the shock absorbing device comprises a fixed plate, a plurality of guide rails, a plurality of springs and a slider, wherein one side of the fixed plate is connected to the rotating shaft of the brushless motor, a plurality of guide rails are provided on the fixed plate, a slider is slidably sleeved on the guide rails, one side of the slider is connected to one side of the clamping bracket, and springs are provided on both sides of the slider to connect the fixed plates on both sides of the guide rails.
[0008] Preferably, the power module contains a DC step-down chip SCT2650, whose VIN terminal is connected to the drone power supply VCC through a filtering anti-interference circuit, and the SW terminal and the FB terminal output DC7.4V through a series voltage divider circuit to power the servo and positioning light source.
[0009] Preferably, the aiming drive circuit contains the PB8 pin and the PB9 pin in the main control chip GD32F407RET6, the brushless motor driver chip TJA1044T, magnetic beads, and electrostatic and surge protection, wherein the PB8 pin is connected to the RXD pin of the brushless motor driver chip TJA1044T, the PB9 pin is connected to the TXD pin of the brushless motor driver chip TJA1044T, the CANH pin and the CANL pin of the brushless motor driver chip TJA1044T are connected to the brushless motor through magnetic beads, and the two pins are grounded respectively through electrostatic and surge protection.
[0010] Preferably, the trigger drive circuit includes a PA0 pin in a main control chip GD32F407RET6, which outputs a specific PWM waveform to control the servo to rotate to a predetermined angle.
[0011] Preferably, the positioning light source is a laser pen, which is turned on and off by the PA1 pin in the main control chip GD32F407RET6.
[0012] Preferably, the main control chip GD32F407RET6 is powered by a DC step-down chip ASM1117, both the IN terminal and the GND terminal thereof input DC7.4V, and the OUT terminal outputs DC3.3V to power the main control chip.
[0013] Preferably, the PB6 pin and the PB7 pin of the main control chip GD32F407RET6 are connected to the control module of the drone through a UART interface, and are powered through a PSDK interface of the drone.
[0014] Preferably, the rotation angle of the servo is α, where 0°≤α≤100°, and the TICH0 pin of the main control chip GD32F407RET6 sends PWM waves with different duty cycles to the servo through a signal line to adjust its angle.
[0015] Compared with the prior art, the UAV with a weapon mounting device of the utility model has the following advantages:
[0016] 1. The brushless motor suppresses high-frequency noise and spike interference on the signal line and power line through magnetic beads, and isolates the reverse current and static electricity through static electricity and surge protection, which can reduce its damage rate and enhance the reliability of the equipment during operation.
[0017] 2. The clamping bracket that fixes the rifle is connected to the guide rail through a slider, and the recoil during shooting is released on the springs on both sides of the guide rail, which effectively absorbs vibration for buffering, and can also filter the impact of aircraft vibration on the gun body. At the same time, it reduces the impact of the gun body on the stability of the aircraft when firing, so as to accurately hit the target and shorten the preparation interval for aiming. With the help of the thin beam of the laser pen and the camera under the drone for auxiliary operation, the positioning and aiming function can be easily realized, which greatly improves the aiming accuracy and shooting speed.
[0018] 3. When the elevation angle of the rifle is controlled by the program-set main control chip, the greater the angle difference from the predetermined position, the faster the brushless motor rotates, and the smaller the angle, the slower the rotation speed, which facilitates timely and accurate aiming at the target.
[0019] 4. The rifle combined with the drone's rear field of view and wide maneuverability can adapt to complex terrain and long distances. It has relatively high strike accuracy and maneuverability, achieving better strike effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a schematic diagram of the overall structure of the utility model;
[0021] Figure 2 This is one of the three-dimensional structural schematic diagrams of the weapon mounting device in the utility model;
[0022] Figure 3 This is the second schematic diagram of the three-dimensional structure of the weapon mounting device in the utility model;
[0023] Figure 4 This is one of the three-dimensional structural schematic diagrams of the weapon mounting device of the utility model after removing the weapon;
[0024] Figure 5 This is the second schematic diagram of the three-dimensional structure of the weapon mounting device of the utility model after removing the weapon;
[0025] Figure 6 It is a circuit diagram of the power module in the utility model;
[0026] Figure 7 It is a circuit diagram of the single chip microcomputer power supply in the utility model;
[0027] Figure 8 It is a circuit diagram of the main control chip in the utility model;
[0028] Fig. 9 It is a schematic diagram of the driving circuit of the brushless motor in the utility model;
[0029] Fig.10 It is a schematic diagram of the control circuit of the laser and the steering gear in the utility model.
[0030] In the accompanying drawings, reference numeral 1 is a drone, reference numeral 2 is a quick-release connector, and reference numeral 3 is a weapon mounting device.
[0031] 3-1 is the positioning light source, 3-2 is the mounting arm, 3-3 is the fixing plate, 3-4 is the brushless motor, 3-5 is the slider, 3-6 is the spring, 3-7 is the guide rail, 3-8 is the clamping bracket, 3-9 is the servo, and 3-10 is the trigger arm. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the utility model.
[0033] The following is a further description of the drone with a weapon mounting device of the utility model in conjunction with the accompanying drawings and specific implementation methods: As shown in the figure, the present embodiment contains a drone 1, a quick-release joint 2 and a weapon mounting device 5, the weapon mounting device 5 contains a mounting arm 3-2, a clamping bracket 3-8, a power module, an aiming drive device, a trigger drive device and a positioning light source 3-1, the lower side of the drone 1 is provided with a quick-release joint 2 and a mounting arm 3-2, the lower part of the mounting arm 3-2 is connected to one side of the clamping bracket 3-8 through the aiming drive device, the lower side of the inside of the clamping bracket 3-8 is provided with a trigger drive device, the power module supplies power to the trigger drive device and the positioning light source 3-1, the aiming drive device contains an aiming drive circuit, a brushless motor 3-4 and A shock absorbing device, wherein an aiming drive circuit drives a brushless motor 3-4 to rotate, the brushless motor 3-4 is fixed on the outside of a mounting arm 3-2, and its rotating shaft passes through the mounting arm 3-2 and is connected to one side of the shock absorbing device, and the other side of the shock absorbing device is fixedly connected to one side of a clamping bracket 3-8, and a control signal input end of the brushless motor 3-4 is connected to a control signal output end of the aiming drive device; a trigger drive device comprises a trigger drive circuit, a servo 3-9 and a trigger arm 3-10, the trigger drive circuit drives the servo 3-9 to rotate, a trigger arm 3-10 is vertically provided on an output shaft of the servo 3-9, and the end of the trigger arm 3-10 is close to the trigger of the weapon, and the control signal input end of the servo 3-9 is connected to the control signal output end of the trigger drive device.
[0034] This solution is responsible for serial communication with the drone 1 platform through a UART or USART interface. The drone 1 can be a DJI drone sold on the market. The weapon mounting device 5 is connected to the bottom of the drone 1 through a quick release connector 2, and can carry out strikes in a designated area and provide high-precision shooting. The quick release connector 2 can be various models and types of quick release connectors 2 sold on the market.
[0035] The shock absorbing device comprises a fixed plate 3-3, a plurality of guide rails 3-7, a plurality of springs 3-6 and a slider 3-5, wherein one side of the fixed plate 3-3 is connected to the rotating shaft of the brushless motor 3-4, a plurality of guide rails 3-7 are arranged on the fixed plate 3-3, a slider 3-5 is slidably sleeved on the guide rail 3-7, one side of the slider 3-5 is connected to one side of the clamping bracket 3-8, and springs 3-6 are arranged on both sides of the slider 3-5 to connect the fixed plate 3-3 on both sides of the guide rail 3-7. The clamping bracket 3-8 clamps the rifle therein without shaking through the tightening action of the bolts, and clamping it near its center of gravity can better realize flipping. The output shaft of the brushless motor 3-4 is fixedly connected to the fixed plate 3-3, driving the fixed plate 3-3 to drive the rifle muzzle to rotate up and down. The multiple guide rails 3-7 set on the fixed plate 3-3 are sleeved with the slider 3-5. One or more sliders 3-5 can be set to slide on the guide rails 3-7. Multiple springs 3-6 are set between the slider 3-5 and the fixed plate 3-3. A clamping bracket 3-8 is fixed on the outside of the slider 3-5 to fix the rifle. The front and rear impact of the rifle when shooting drives the slider 3-5 to move. The kinetic energy of the slider 3-5 is absorbed by the springs 3-6 on both sides, thereby reducing the recoil of the rifle when shooting. The servo 3-9 drives the trigger arm 3-10 on its rotating shaft to move, which can realize the push of the rifle trigger, thereby completing the shooting action.
[0036] The power module contains a DC step-down chip SCT2650, whose VIN terminal is connected to the power supply VCC of the drone 1 through a filtering anti-interference circuit, and the SW terminal and the FB terminal output DC7.4V through a series voltage divider circuit to power the servo 3-9 and the positioning light source 3-1. The main control chip GD32F407RET6 is powered by a DC step-down chip ASM1117, and its IN terminal and GND terminal both input DC7.4V, and the OUT terminal outputs DC3.3V to power the main control chip. The power module converts the DC24V of the drone 1 into DC7.4V, DC3.3V and DC5V respectively, of which DC7.4V is used for the laser pen and the servo 3-9, DC24V is used to power the brushless motor 3-4, DC3.3V is used to power the single-chip microcomputer, and DC5V is used to power the CAN chip.
[0037] The positioning light source 3-1 is a laser pen, which is turned on and off by the PA1 pin in the main control chip GD32F407RET6. The high and low levels output by the PA1 pin control the on and off of the laser pen. When the output is high, the laser pen is turned on, and when the output is low, the laser pen is turned off. The laser pen will project a straight and thin beam, which is convenient for locating the aiming point while observing through the downward camera of the drone 1, thereby realizing the aiming operation of the weapon, and the auxiliary operation is performed through the camera below the drone 1, so as to easily realize the positioning and aiming function.
[0038] The aiming drive circuit contains the PB8 pin and the PB9 pin in the main control chip GD32F407RET6, the brushless motor 3-4 driver chip TJA1044T, magnetic beads, and electrostatic and surge protection. The PB8 pin is connected to the RXD pin of the brushless motor 3-4 driver chip TJA1044T, and the PB9 pin is connected to the TXD pin of the brushless motor 3-4 driver chip TJA1044T. The CANH pin and the CANL pin of the brushless motor 3-4 driver chip TJA1044T are connected to the brushless motor 3-4 through magnetic beads, and the two pins are grounded respectively through electrostatic and surge protection.
[0039] CAN0_RX of PB8 pin is the pin for brushless motor 3-4 to send data to the main control chip, CAN0_TX of PB9 pin is the pin for the main control chip to send data to brushless motor 3-4, CAN0_TX sends data from the main control chip to brushless motor 3-4, and CAN0_RX is the pin for brushless motor 3-4 to send data to the main control chip. The main control chip sends a fixed format command through the CAN communication protocol to control the brushless motor 3-4 to rotate to a predetermined angle, and specifies a working angle as the zero point of the brushless motor 3-4 through the CAN communication protocol. Magnetic beads can better suppress high-frequency noise and spike interference on signal lines and power lines. Magnetic beads have high resistivity and magnetic permeability, which is equivalent to resistance and inductance in series, but the resistance value and inductance value vary with frequency. Static and surge protection can better isolate reverse current and static electricity.
[0040] The trigger drive circuit contains the PA0 pin in the main control chip GD32F407RET6, which outputs a specific PWM waveform to control the servo 3-9 to rotate to a predetermined angle. The PWM input end of the servo 3-9 is connected to the PA0 pin on the main control chip through the interface J6. The rotation of the servo 3-9 drives the trigger arm 3-10 on its output shaft to achieve the effect of pulling the trigger.
[0041] The PB6 and PB7 pins of the main control chip GD32F407RET6 are connected to the control module of UAV 1 through the UART interface, and are powered through the PSDK interface of UAV 1. The main control chip communicates with UAV 1 through the PB6 and PB7 pins (i.e., UART0_TX and UART0_RX). The rotation angle of the servo 3-9 is α, where 0°≤α≤100°. The TICH0 pin of the main control chip GD32F407RET6 sends PWM waves with different duty cycles to the servo 3-9 through the signal line to adjust its angle. The aiming drive circuit is connected to the brushless motor 3-4 that controls the elevation angle of the rifle, and then the rifle will rotate along with the brushless motor 3-4 through the shock absorber. The brushless motor 3-4 driver chip TJA1044T will convert the CAN0_TX signal sent by the main control chip, and send it to the brushless motor 3-4 connected to the interface J2 through the CANH and CANL pins. The signal sent back by the brushless motor 3-4 will be transmitted to the main control chip through the fourth pin CAN0_RX of the brushless motor 3-4 driver chip TJA1044T, thereby realizing the communication between the main control chip and the brushless motor 3-4, and achieving the purpose of controlling the brushless motor 3-4. The rotation control of the brushless motor 3-4, reading the current angle and zero point setting are realized through different commands.
[0042] The following takes the process of aiming a rifle by rotating the servo 3-9 as an example. When the drone 1 flies to the designated location and needs to aim at the target, the operation process is as follows: Step 1, the main control chip receives and parses the command of the remote control, and determines the target angle of the brushless motor 3-4 of the current device through the parsed data, whether to pull the trigger, whether to enable laser aiming, and whether to set the zero point and angle range of the brushless motor 3-4.
[0043] Step 2: The main control chip controls the laser enable: There is a switch button on the remote control to control the laser enable. The laser pen is turned off by default. Press it to turn on the laser pen, and press it again to turn it off.
[0044] Step 3, the main control chip controls the setting of the zero point of the brushless motor 3-4: The zero point of the brushless motor 3-4 can be set by a button on the remote control. When the button is pressed, the current position of the brushless motor 3-4 will be set to 0, and the setting will take effect only when the brushless motor 3-4 is restarted.
[0045] Step 4: The main control chip controls and adjusts the angle range of the brushless motor 3-4: You can enter the angle range of the brushless motor 3-4 in the input box of the remote control. The maximum range is 50 degrees, and the default angle range is 50 degrees. If it is set to 50, the 0 and 100 of the slider correspond to -25 degrees and 25 degrees respectively. If it is set to 40, the 0 and 100 of the slider correspond to -20 degrees and 20 degrees respectively.
[0046] Step 5, the main control chip controls the angle of the brushless motor 3-4 of the rifle elevation angle: the remote control controls the angle of the brushless motor 3-4 with a slider, the slider value range is 0 to 100, where 0 corresponds to the maximum reverse angle of the brushless motor 3-4, 100 corresponds to the maximum forward angle of the brushless motor 3-4, and 50 corresponds to 0 degrees of the brushless motor 3-4. Process 1, calculate the target angle that the brushless motor 3-4 should be at by the current value of the slider. Process 2, read the current angle, and calculate the angle difference with the target angle to determine whether it is within the error range. If the angle difference is not within the error range, the brushless motor 3-4 rotates toward the target angle until the angle difference is within the error range. The larger the angle difference, the faster the rotation speed (but not exceeding the maximum speed). The overall angle adjustment presents an acceleration-uniform speed-deceleration process. Until the angle difference is within the target range, the brushless motor 3-4 stops running.
[0047] Step 6. The main control chip controls the trigger: There are two switch buttons on the remote control to control the trigger. Switch 1 is used to unlock and lock. It is locked by default. Press it to unlock, and press it again to lock. Only when it is in the unlocked state, press switch 2, the main control chip will change the PWM duty cycle, rotate the servo 3-9 by 90 degrees, from 45 degrees to 135 degrees, and automatically reset to 45 degrees after 1 second. The trigger is reset after being pressed to achieve the effect of pulling the trigger; if switch 1 is in the locked state, pressing switch 2 will not do anything to the servo 3-9.
[0048] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A drone with a weapon mounting device, characterized in that: The invention comprises an unmanned aerial vehicle, a quick-release joint and a weapon mounting device, wherein the weapon mounting device comprises a mounting arm, a clamping bracket, a power module, an aiming drive device, a trigger drive device and a positioning light source, wherein a quick-release joint and a mounting arm are arranged on the lower side of the unmanned aerial vehicle, wherein the lower part of the mounting arm is connected to one side of the clamping bracket through the aiming drive device, wherein a trigger drive device is arranged on the lower side of the inside of the clamping bracket, wherein the power module supplies power to the trigger drive device and the positioning light source, wherein the aiming drive device comprises an aiming drive circuit, a brushless motor and a shock absorbing device, wherein the aiming drive circuit drives the brushless motor to rotate, the brushless motor is fixed on the outer side of the mounting arm, wherein the rotating shaft of the brushless motor passes through the mounting arm and is connected to one side of the shock absorbing device, wherein the other side of the shock absorbing device is fixedly connected to one side of the clamping bracket, and the control signal input end of the brushless motor is connected to the control signal output end of the aiming drive device; and the trigger drive device comprises a trigger drive circuit, a servo and a trigger rotating arm, wherein the trigger drive circuit drives the servo to rotate, wherein a trigger rotating arm is arranged vertically on the output shaft of the servo, wherein the end of the trigger rotating arm is close to the trigger of the weapon, and the control signal input end of the servo is connected to the control signal output end of the trigger drive device.
2. The UAV with a weapon mounting device according to claim 1, characterized in that: The shock absorbing device comprises a fixed plate, a plurality of guide rails, a plurality of springs and a slider, wherein one side of the fixed plate is connected to the rotating shaft of the brushless motor, a plurality of guide rails are arranged on the fixed plate, a slider is slidably sleeved on the guide rails, one side of the slider is connected to one side of the clamping bracket, and springs are respectively arranged on both sides of the slider to connect the fixed plates on both sides of the guide rails.
3. The UAV with a weapon mounting device according to claim 1, characterized in that: The power module contains a DC step-down chip SCT2650, whose VIN terminal is connected to the drone power supply VCC through a filtering anti-interference circuit, and the SW terminal and the FB terminal output DC7.4V through a series voltage divider circuit to power the servo and positioning light source.
4. The UAV with a weapon mounting device according to claim 1, characterized in that: The aiming drive circuit contains the PB8 pin and the PB9 pin in the main control chip GD32F407RET6, the brushless motor driver chip TJA1044T, magnetic beads, and electrostatic and surge protection, wherein the PB8 pin is connected to the RXD pin of the brushless motor driver chip TJA1044T, the PB9 pin is connected to the TXD pin of the brushless motor driver chip TJA1044T, the CANH pin and the CANL pin of the brushless motor driver chip TJA1044T are connected to the brushless motor through magnetic beads, and the two pins are grounded respectively through electrostatic and surge protection.
5. The UAV with a weapon mounting device according to claim 1, characterized in that: The trigger drive circuit includes the PA0 pin in the main control chip GD32F407RET6, which outputs a specific PWM waveform to control the servo to rotate to a predetermined angle.
6. The UAV with a weapon mounting device according to claim 1, characterized in that: The positioning light source is a laser pen, which is turned on and off by the PA1 pin in the main control chip GD32F407RET6.
7. The UAV with a weapon mounting device according to claim 4, 5 or 6, characterized in that: The main control chip GD32F407RET6 is powered by a DC step-down chip ASM1117, both the IN and GND terminals of which input DC7.4V, and the OUT terminal outputs DC3.3V to power the main control chip.
8. The UAV with a weapon mounting device according to claim 4, 5 or 6, characterized in that: The PB6 pin and the PB7 pin of the main control chip GD32F407RET6 are connected to the control module of the drone through the UART interface, and are powered through the PSDK interface of the drone.
9. The UAV with a weapon mounting device according to claim 1, characterized in that: The rotation angle of the servo is α, where 0°≤α≤100°. The TICH0 pin of the main control chip GD32F407RET6 sends PWM waves with different duty cycles to the servo through a signal line to adjust its angle.
