DocWiki

de/GimbalCtrl








Info / Download

The GimbalCtrl can be used to control a brushless gimbal with AlexMos control.

The following functions are possible:


INFO

In order for the function of the GimbalCtrl to work, the software versions must match!
Otherwise there may be an error message or no function of the GimbalCtrl.

GimbalCtrl V1.02
To be used with the following software versions:
- FlightCtrl + NaviCtrl: Software Version V2.20
- AlexMos: Software Version V2.66 or newer

https://doc.mikrokopter.de/de/download?action=AttachFile&do=get&target=IR-Ctrl_MEGA328_V1_02d_Gimbal_bis_FC_V2_20_Out1-Pin1-3_Out2-Pin8-4_Trigger-Pin9.hex

GimbalCtrl V1.04
To be used with the following software versions:
- FlightCtrl + NaviCtrl: ab Software Version V2.22
- AlexMos: Software Version V2.66 or newer

https://doc.mikrokopter.de/de/download?action=AttachFile&do=get&target=IR-Ctrl_MEGA328_V1_04b_Gimbal_ab_FC_V2_22_Out1-Pin1-3_Out2-Pin8-4_Trigger-Pin9.hex

(Please use the MKUSB V3 for an update !!!)






Technical specifications

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect-TechData.jpg?m=1566982550










Connection

FlightCtrl

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect.jpg?m=1565261469

The GimbalCtrl is connected to the I2C bus of the FlightCtrl V3
using the 4-pin Molex cable.







Connection AlexMos

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect-Gimbal.jpg?m=1567410490

The second serial port "RC_SERIAL port" is used on the AlexMos board.
This has the advantage that the USB connection or an optional Bluetooth connection connected to the first serial input can be used independently of the GimbalCtrl.

The connection:






Setting AlexMos

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/AlexMos_RC-RollMode.jpg?m=1568096141

The setting of the second serial port "RC_SERIAL port" is done with a few settings.

INFO: Only from AlexMos Beta Version V2.66 can the baud rate for the first serial ports 1 and 2 be set separately !!


The serial RC input is activated under RC Settings




https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/AlexMos_SerialPortSpeed9600.jpg?m=1568096142


The serial transmission speed for the GimbalCtrl must be set to 9600 baud.
You can change this under Hardware -> "RC_SERIAL port".

The speed for Main serial port speed and UART2 port speed can remain set to 115200 baud.
So you have the full transmission speed with e.g. a Bluetooth connection to the gimbal.




https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/AlexMos_FollowMode-yaw.jpg?m=1568096140




If you use a 3-axis gimbal, the field at FollowYAW must also be activated under Follow mode.








Setting KopterTool

Nick-Roll-Gier

A total of 3 free channels are required to control functions Nick, Roll und Gier via the GimbalCtrl.

In this example, channels 8, 9 and 14 were each assigned to a potentiometer on the remote control.

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool1.jpg?m=1567072634


The corresponding channels for Servo control - Nick and Servo control - Roll are now entered in the MikroKopter-Tool under Camera for the control of pitch and roll .

In addition, the entry Servo relativ is activated. This controls the pitch adjustment of the rocker on the gimbal.
If the potentiometer on the remote control is in the middle position, the rocker stops in the current position.
If the potentiometer is adjusted from the middle position, the rocker moves in the corresponding direction until the potentiometer is in the middle position again.

If this entry is activated, the gimbal rocker can also be tilted automatically to the exact degree during a waypoint flight.

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool2.jpg?m=1567072635


The channel for yawing the camera bracket is set under CamCtrl at YAW Channel.








Functional test

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect_Check.jpg?m=1567762467

After the brushless gimbal has been set and connected to the GimbalCtrl, it can be connected to the I2C bus of the FlightCtrl V3. The function can then be checked using the MikroKopter tool.
After the MikroKopter has been connected to the computer and supplied with power, the NaviCtrl button can be pressed in the main window of the MikroKopter tool.
In the central virtual display, the "GimbalCtrl" window is selected using the red arrows (left / right).

Display:








Switching outputs

Optionally, up to 3 switching outputs (Out1, Out2, Trigger) can be used on the GimbalCtrl. This can trigger e.g. a photo camera or trigger a script in the AlexMos gimbal.

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool3.jpg?m=1567075271


In this example, channels 15 and 16 were each assigned to a switch on the remote control.
These channels can then be assigned to the switching outputs OUT1 und OUT2 under CamCtrl.






https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool4.jpg?m=1567144691


The switching output "Trigger" on the "GimbalCtrl" is connected in parallel with the "switching output 1" of the FlightCtrl.
In this example, channel 10 was placed on a button and entered under Out1 Timing under "Outputs".





Switching examples

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out1-2.jpg?m=1567426114


Example Out1 / Out2 => GND

If you want to switch LEDs or something else on/off, the switching outputs Out1 (Pad1) and Out2 (Pad8) can be used for this.

An LED can be connected directly, or you can use an ExtensionPCB and switch entire LED strips with more power.




https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Script.jpg?m=1567427678


Example Out1 / Out2 => 3.3V

If you want to start one or more scripts on the AlexMos gimbal, the switching outputs Out1 (Pad3) and Out2 (Pad4) can be used.

These outputs switch a voltage of 3.3V and can be connected to the inputs ADC1-3 of the AlexMos electronics.

An explanation of how to enter a script in the AlexMos control can be found on the manufacturer's website at:




https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Shutter.jpg?m=1567426117


Example Trigger

A camera can also be triggered via the GimbalCtrl using a Shuttercable.

For this, the shutter cable can be connected to pad "9" (trigger - is switched to ground) and pad "RT" (+ 5V).




https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Script_u_Shutter.jpg?m=1567426116


Example Script + Trigger

If you want to trigger a camera via shuttercable from MikroKopter AND also via the AlexMos control via script, the connection is as described in the previous examples. In addition, only one of the outputs AUX1-3 of the AlexMos controller must be connected to the shutter cable.








Angle

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalAngle.jpg?m=1512563906



If a waypoint flight is planned using the MikroKopter tool, a camera inclination can be entered for each waypoint.

With GimbalCtrl the entered value for the camera tilt is transferred as a direct angle value to the brushless gimbal.
The entry 90 ° is a direct look straight down and an entry of -90 ° is a straight look up.

INFO: In order for this function to be used, the Servo relative function must be activated in the MikroKopter settings.

See also Nick-Roll-Gier






LOG-File - TXT-File

The current inclination of the gimbal (for nick and roll) is continuously saved on the microSD card in the MikroKopter.

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-LOG.jpg?m=1567500814

Two LOG files are available for evaluation:






Separate supply for Copter / Gimbal

The GimbalCtrl has a high-impedance protective resistor on the GND connection.
If the supply voltage for the brushless gimbal is tapped by the MikroKopter, you do not have to do anything else.

If the connected brushless gimbal is supplied with its own battery, the GimbalCtrl may not have any function.
To ensure the function, the minus connection of the gimbal lipo and the ground connection (GND) of the copter must be connected.

INFO: Since there are different lipos and connections, we do not provide a ready-made solution for this connection!

Attention: Make sure that the polarity is correct when connecting.






Software Update

https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Update1.jpg?m=1567069823
https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Update2.jpg?m=1567069824


INFO: The GimbalCtrl already has the current software upon delivery !

For a software update, the GimbalCtrl will be connected directly to the MKUSB V3 via the Molex cable.
The GimbalCtrl is then supplied with power via the MKUSB as soon as the jumper is closed.

The current software can be found under Info / Download.

The new software can then be imported using the MikroKopter tool.
(see picture)





DocWiki: en/GimbalCtrl (zuletzt geändert am 15.02.2021 08:41 durch LotharF)