[[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|{{attachment:symbols/Download-Button.png}}]]||
~-(Please use the [[https://www.mikrocontroller.com/index.php?main_page=product_info&cPath=69&products_id=922|MKUSB V3|target="_blank"]] for an update !!!)-~
}}}}
###########################################################################
<
><
><
><
>
----
= Technical specifications =
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect-TechData.jpg?m=1566982550 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect-TechData.jpg?m=1566982551 }} |target="_blank" ]]<
>
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
* Power +5V (über I2C)
* Dimensions 17,5 x 30mm
* Weight ~13g
* Cable length ~18cm
* Serial output gimbal control 8n1 / 9600 Baud
* "Trigger" output
* Switching output Out1 (GND or 3,3V)
* Switching output Out2 (GND or 3,3V)
###########################################################################
<
><
><
><
>
!GimbalCtrl - LED
The !GimbalCtrl has a green and red LED. These indicate the following:
* Green LED => permanently on + Red LED => flashes quickly
* Brushless gimbal not connected/not supplied with voltage
* Brushless gimbal was not recognized (Connection of gimbal or/and settings incorrect)
* Green LED => blink slowly + Red LED => off
* Brushless gimbal was recognized correctly
* ~-If still no function-~
* Software of the !GimbalCtrl does not match the software version of the !FlightCtrl (See info box above)
* The channels in the copter are incorrect
###########################################################################
<
><
><
><
>
----
= Connection =
== FlightCtrl ==
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect.jpg?m=1565261469 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect.jpg?m=1565261470 }} |target="_blank" ]]<
>
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
The !GimbalCtrl is connected to the I2C bus of the !FlightCtrl V3 <
>
using the 4-pin Molex cable.
###########################################################################
<
><
><
><
><
><
>
== Connection AlexMos ==
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect-Gimbal.jpg?m=1567410490 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect-Gimbal.jpg?m=1567410490 }} |target="_blank" ]]<
>
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
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:
* !GimbalCtrl '''"GND"''' -> !AlexMos '''"GND"'''
* !GimbalCtrl '''"Rx"''' -> !AlexMos '''"RC_ROLL"'''
* !GimbalCtrl '''"Tx"''' -> !AlexMos '''"RC_YAW"'''
###########################################################################
<
><
><
><
>
----
= Setting AlexMos =
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/AlexMos_RC-RollMode.jpg?m=1568096141 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/AlexMos_RC-RollMode.jpg?m=1568096142 }} |target="_blank" ]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
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''
* RC_ROLL pin mode => SBGC Serial API
<
><
><
>
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/AlexMos_SerialPortSpeed9600.jpg?m=1568096142 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/AlexMos_SerialPortSpeed9600.jpg?m=1568096142 }} |target="_blank" ]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
The serial transmission speed for the !GimbalCtrl must be set to __9600 baud__.<
>
You can change this under ''Hardware'' -> __"RC_SERIAL port"__.
* RC_SERIAL_port speed => 9600
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.
<
><
><
>
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/AlexMos_FollowMode-yaw.jpg?m=1568096140 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/AlexMos_FollowMode-yaw.jpg?m=1568096140 }} |target="_blank" ]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
><
><
>
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.
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool1.jpg?m=1567072634 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool1.jpg?m=1567072634 }} |target="_blank" ]]<
>
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
The corresponding channels for ''__Servo control - Nick__'' and ''__Servo control - Roll__'' are now entered in the !MikroKopter-Tool under ''[[en/MK-Parameter/Camera#Servo_control|Camera |target="_blank"]]'' 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.
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool2.jpg?m=1567072635 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool2.jpg?m=1567072635 }} |target="_blank" ]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
The channel for yawing the camera bracket is set under ''[[en/MK-Parameter/CamCtrl|CamCtrl |target="_blank" ]]'' at ''__YAW Channel__''.
###########################################################################
<
><
><
><
><
><
>
----
= Functional test =
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect_Check.jpg?m=1567762467 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Connect_Check.jpg?m=1567762468 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
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:'''
'''A''' - If the gimbal is set correctly, connect in the right way with the gimbal and also connected with the !FlightCtrl, you can see the version number of your !GimbalCtrl. The status (Stat :) is on "OK" and the angle of the gimbal (nick, roll, yaw) is displayed. <
> ~-(see picture "A")-~
'''B''' - If the gimbal is set wrong, not or not right connected with the !GimbalCtrl you can see the version number of your !GimbalCtrl. But as the status shows "No Gimbal" and a fix Angle of -1° <
> ~-(see picture "B")-~
'''C''' - If there is no connection to the !GimbalCtrl you see "Not connected". <
> ~-(see picture "C")-~
###########################################################################
<
><
><
><
><
><
>
----
= 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.
'''INFO:''' The switching outputs can be loaded with a maximum of 100 mA !!!<
>
If you want to switch more loads (e.g. LED strips), the [[de/ExtensionPCB|ExtensionPCB]] should be used.
The switching outputs also work without a connected gimbal.
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool3.jpg?m=1567075271 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool3.jpg?m=1567075271 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
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''.
See also [[#Sprung1|connection example Out1 / Out2 => GND]] <
>
and [[#Sprung2|connection example Out1 / Out2 => 3.3V]]
<
><
><
><
><
>
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool4.jpg?m=1567144691 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Setting-KopterTool4.jpg?m=1567144692 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
The switching output "Trigger" on the "!GimbalCtrl" is connected in parallel with the "[[en/MK-Parameter/Output#Out_1|switching output 1|target="_blank"]]" of the !FlightCtrl. <
>
In this example, channel 10 was placed on a button and entered under ''__Out1 Timing__'' under "Outputs".
See also [[#Sprung3|connection example Trigger]]
###########################################################################
<
><
><
><
>
== Switching examples ==
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out1-2.jpg?m=1567426114 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out1-2.jpg?m=1567426114 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
<>
'''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 [[en/ExtensionPCB|ExtensionPCB]] and switch entire LED strips with more power.
'''INFO:''' Both switching outputs switch to ground (GND) and can be loaded with not more then 100mA.
<
><
><
>
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Script.jpg?m=1567427678 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Script.jpg?m=1567427678 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
<>
'''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://www.basecamelectronics.com/downloads/|Manuals - OTHER MANUALS - Scripting Language Reference|target="_blank"]]
<
><
><
>
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Shutter.jpg?m=1567426117 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Shutter.jpg?m=1567426117 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
<>
'''Example Trigger'''
A camera can also be triggered via the !GimbalCtrl using a [[en/ShutterCable|Shuttercable]].
For this, the shutter cable can be connected to pad "9" (trigger - is switched to ground) and pad "RT" (+ 5V).
<
><
><
>
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Script_u_Shutter.jpg?m=1567426116 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Out-Script_u_Shutter.jpg?m=1567426116 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
'''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 =
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalAngle.jpg?m=1512563906 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalAngle.jpg?m=1512563907 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
><
>
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 [[#Sprung4|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.
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-LOG.jpg?m=1567500814 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-LOG.jpg?m=1567500814 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
Two LOG files are available for evaluation:
* GPX LOG file => "date".'''GPX'''
* In this LOG file you can find all the telemetry data of the !MikroKopter. <
>
Under the "Gimbal" column are the values for the ''nick inclination'' and the ''roll inclination''.
* TXT Log file => "date".'''TXT'''
* This LOG file essentially contains the position and angle data when taking a photo. <
>
If e.g. 20 photos were taken during the flight, this LOG file contains 20 entries for the respective photo.
###########################################################################
<
><
><
><
>
----
= 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 =
##/////////////////////////////////////////////////////////////////////////
## Bild rechts
{{{#!html
}}}
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Update1.jpg?m=1567069823 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Update1.jpg?m=1567069823 }} |target="_blank"]]<
>
[[ https://gallery3.mikrokopter.de/var/albums/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Update2.jpg?m=1567069824 | {{ https://gallery3.mikrokopter.de/var/thumbs/intern/MK-Baugruppen/GimbalCtrl/GimbalCtrl-Update2.jpg?m=1567069824 }} |target="_blank"]]
{{{#!html
}}}
##/////////////////////////////////////////////////////////////////////////
<
>
'''INFO:''' The !GimbalCtrl already has the current software upon delivery !
<
><
>
For a software update, the !GimbalCtrl will be connected directly to the [[en/MK-USB_V3|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 [[#Sprung5|Info / Download]].
The new software can then be imported using the !MikroKopter tool.<
>
(see picture)
<
><
>
<
><
>