Unterschiede zwischen den Revisionen 5 und 30 (über 25 Versionen hinweg)
Revision 5 vom 13.09.2011 15:36
Größe: 2785
Autor: LotharF
Kommentar:
Revision 30 vom 10.10.2017 08:18
Größe: 20495
Autor: LotharF
Kommentar:
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 1: Zeile 1:
||<tablewidth="520px" tablestyle="text-align: center;"#ffffa0> {{http://mikrokopter.de/images/deu.gif}} Seite in [[WaypointEvent|Deutsch]] ||<#ffffa0> {{http://mikrokopter.de/images/fra.gif}} Page en [[fr/WaypointEvent|français]] ||<#ffffa0> {{http://mikrokopter.de/images/ita.gif}} Pagina in [[it/WaypointEvent|italiano]] ||

= WaypointEvent =
##include_event_begin
The idea is, to trigger a camera (or similar) if the waypoint is reached.

The camera can be connected on the bliking-outpots or can be controlled by a mechanical servo.

If the waypoint is reached, a selectable value will be written into one virtual channel "WP-Event" - this can be used for blinking outouts or on a servo-outpot.

{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=70363&g2_serialNumber=2}}

This value will be sent from the NaviControl to the FlightControl when the waypoint is reached.

{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=70364&g2_serialNumber=1}}

The value is active during the waiting time on the waypoint. In the other time the value is zero.

Now the Poti (here Poti 8) can be used for blinking pattern or the Servo output.

== Excample ==
[[ShutterCable|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=71747}}|ShutterCable}}]]


A camera is connected via a ShutterCable and shall be triggered 5 times in 10 seconds.

=== Step 1: select WP-Event-Value ===
We will use a value of 100 here

{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=70370&g2_serialNumber=2}}<<BR>>
(For the example of 10sec., the "Time" must be changed from 5 to 10. So the Kopter will stay for 10sec. at that waypoint.)



=== Step 2: use Poti8 ===
When reaching the waypoint, the value shall be stored in Poti8

{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=70364&g2_serialNumber=1}}

=== Step 3: Interval of the blinking pattern ===
The interval is now controlled via Poti8 (WP-Event)

{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=70366&g2_serialNumber=1}}

When reaching the Waypoint, the trigger will be alternate between on and off with 1 second on (100) and 1 second off (100), because we selected the pattern: on,off,on,off,...

More information to the blinking pattern [[http://www.mikrokopter.de/ucwiki/en/Firmware-0.76#LED_Flashing|here]] or [[http://www.mikrokopter.de/ucwiki/ShutterCable#Ausl.2BAPY-sen|here]]

'''Tip:''' You can also put the Poti8 (WP-Value) to a servo-output. In that case the servo will move after reaching the waypoint - for excample to control the camera mechanically.
##include_event_end
#acl AdminGroup:read,write,revert EditorsGroup:read,write,revert All:read

###########################################################################
||<class="MK_TableNoBorder">This page as an '''PDF-Document'''? Click on that Symbol and wait a little moment... ---> ||<class="MK_TableNoBorder"><<PDFIcon>>||<class="MK_TableNoBorder" width= 218px )> [[WaypointAutomatic|{{attachment:symbols/Flagge_EN.jpg}}]]||
###########################################################################
{{{#!wiki MK_Nav
||<class="MK_Nav_Header">Waypoint Automatic||
}}}
###########################################################################
<<BR>>

##/////////////////////////////////////////////////////////////////////////
## Bild rechts

{{{#!html
<div style="float: right; margin: 15px;">
}}}
{{ http://gallery3.mikrokopter.de/var/albums/intern/sonstiges/Button-Baugruppe/Button350x150/Button_WPAuto.jpg?m=1507615793 }}
{{{#!html
</div>
}}}
##/////////////////////////////////////////////////////////////////////////

###########################################################################
<<BR>>
<<TableOfContents>>
<<BR>><<BR>>
###########################################################################


= Info =

If you use a Shuttercable ([[https://www.mikrocontroller.com/index.php?main_page=index&cPath=110|Link]]) you can also trigger a camera with a push button or a 3-way switch on your transmitter.<<BR>>

{{{#!wiki tip
'''Tip'''

A description how to connect and trigger a camera with a Shuttercable you can find here: [[en/ShutterCable|ShutterCable]]

A description how to connect and trigger a camera with a !CamCtrl you can find here: [[en/CamCtrl|CamCtrl]]

}}}

Also during a Way point flight you can automatically trigger your camera.<<BR>>

For this we need 3 things:
 * Automatic
 * Bitmaske (switching pattern)
 * WP-Event

(The following settings are valid from SW version 2.00)

################################################################################

= Automatic =

To trigger a Camera with a Shuttercable or an IR-Ctrl during a Way point flight, you have to activate the Automatic. This can be done with an 3-way switch or also with a push button. <<BR>><<BR>>

################################################################################
Zeile 52: Zeile 61:
See also:
[[en/Firmware-0.82|en/Firmware-0.82]]

== Push button to trigger ==

If you use a push button to trigger the camera we have 2 positions =>

||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144300&g2_serialNumber=2}}||<class="MK_TableNoBorder" :>without activation = OFF (0) <<BR>> Camera will not trigger.<<BR>>(No triggering during a WP-Event)||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144289&g2_serialNumber=2}}||
||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144301&g2_serialNumber=2}}||<class="MK_TableNoBorder" :>with activation = ON (254) <<BR>>Trigger the camera manually||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144290&g2_serialNumber=2}}||

To use the Automatic during a Way point flight we have to change the settings for this channel on the transmitter. If you use e.g. a Graupner HoTT transmitter we find this setting under ''Servo adjustment'':<<BR>>
(in this example we use channel 11 to trigger the camera)<<BR>>

'''1. Change to ''Servo adjustment'': '''
||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144292&g2_serialNumber=2}}||

'''2. Change the left servo travel of this channel from 104% ... to 0%: '''
||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144295&g2_serialNumber=2}}||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144296&g2_serialNumber=2}}||

'''3. Now the Automatic is still activ. '''
||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144300&g2_serialNumber=2}}||<class="MK_TableNoBorder" :>without activation = Automatic (126) <<BR>> Camera will not trigger.<<BR>>(Automatic triggering during a WP-Event)||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144291&g2_serialNumber=2}}||
||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144301&g2_serialNumber=2}}||<class="MK_TableNoBorder" :>with activation = ON (254) <<BR>>Trigger the camera manually||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144290&g2_serialNumber=2}}||

'''Info'''<<BR>>
The Automatic can be still ON. During a normal flight you will only trigger the camera when you push the button. During a Waypoint flight the camera will trigger automatically.

################################################################################
<<BR>><<BR>><<BR>><<BR>>
----

== 3-way switch to trigger ==

If you use a 3-way switch to trigger the camera you can switch between OFF/Automatic/Trigger: <<BR>>
(in this example we use channel 11 to trigger the camera)<<BR>>

||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144297&g2_serialNumber=2}}||<class="MK_TableNoBorder" :>Position 1 = OFF (0) <<BR>> Camera will not trigger||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144289&g2_serialNumber=2}}||

||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144298&g2_serialNumber=2}}||<class="MK_TableNoBorder" :>Position 2 = Automatic (126) <<BR>> Camera will not trigger <<BR>>Automatic triggering during a WP-Event||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144291&g2_serialNumber=2}}||

||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144299&g2_serialNumber=2}}||<class="MK_TableNoBorder" :>Position 3 = An (254) <<BR>>Trigger the camera manually||<class="MK_TableNoBorder" :>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144290&g2_serialNumber=2}}||

################################################################################

= Bitmaske (switching pattern) =

In the settings of the KopterTool under ''Output'' you have to set::

||<class="MK_TableNoBorder" :>[[http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144210&g2_serialNumber=1|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144214&g2_serialNumber=2}}]]||<class="MK_TableNoBorder"> - ''combine with WP-Event''<<BR>>Activate this. So "Out1" will work automatically during a WP-Event.<<BR>><<BR>>- ''Out1 Bitmask''<<BR>>This one determines the switching interval of Out1<<BR>><<BR>>- ''Out1 Timing''<<BR>>Here you set the ''Poti1-8'' (channel) <<BR>>of the used push button / 3-way switch.||
<<BR>><<BR>>

'''Bitmask - explanation''' <<BR>>
With the 8 boxes of the Bitmask you will the switching sequence of Out1. How long a box will switch ON or OFF Out1 you will later set under the ''WP-Event''.<<BR>>
<<BR>>

'''Example:''' <<BR>>
Under ''WP-Event'' you set for example a value of 100 (100 x 10ms = 1 Second). <<BR>>
Each box under "Out1 Bitmask" is then working for this time (1 Second). <<BR>>
So if the boxes are activated as you can see in the picture (the first 5 ON and the last OFF) the switching output 1 will work like this: <<BR>>
1second "ON" - 1second "ON" - 1second "ON" - 1second "ON" - 1second "ON" - 1second "OFF" - 1second "OFF" - 1second "OFF"<<BR>><<BR>>

Output 1 is also ON for 5 seconds and then OFF for 3 seconds.<<BR>><<BR>>

'''Please note:''' <<BR>>
The program will processing the whole bitmask! If the ''Waitingtime'' for a Waypoint is longer, the bitmask will start again.<<BR>><<BR>>

'''TIP''' <<BR>>
A DSLR camera can also trigger very fast. So you better use a short time for the WP-event (e.g. 6-10). <<BR>><<BR>>


(See also [[#Schaltbeispiele|Switch Examples]])

################################################################################

= WayPoint Event =

Each scaled WayPoint in the MikroKopterTool-OSD has a field '''"WP-Event"''' (WayPoint-Event). <<BR>>
With each WayPoint-Flight you can trigger i.e. a camera automatically after reaching the appropriate WayPoint.<<BR>><<BR>>

If the Kopter reaches the WayPoint the Kopter stays there for the delay time set under the tab "Time".<<BR>>
During the delay time the value will be transfered to the FlightCtrl entered under WP-Event. <<BR>><<BR>>

{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103626&g2_serialNumber=1}}<<BR>><<BR>>

The functions and the settings of the WayPoints are described here: [[en/MikroKopterTool-OSD/MikroKopterTool-OSD]]

################################################################################

<<Anchor(Schaltbeispiele)>>

= Switch Examples =

Let's take a few WP-Event values which are assigned for WayPoints and let's have a look to the function of the switch output in some examples. <<BR>>
How would the output switch with this values? <<BR>><<BR>>

{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103626&g2_serialNumber=1}}
<<BR>><<BR>>

<!> For Information: <<BR>>
The switching operation will be repeated as long until the set "Time" for the WayPoint is counted down.
Example: Is under "Time" a 10 entered the Kopter will stay for 10 sec. at that WayPoint and during this time the value of the WP-Event will be transfered.


'''__WP-Event = 0__''' <<BR>>
Is a "0" entered under WP-Event the function is OFF. The output will be not switched and a camera will be not triggered.<<BR>><<BR>>

'''__WP-Event = 50__''' <<BR>>
Is a "50" entered under WP-Event is the time per casket 0,5 seconds (50x10ms = 500ms = 0,5sek). <<BR>><<BR>>

'''__WP-Event = 100__''' <<BR>>
Is a "100" entered under WP-Event is the time per casket 1 second (100x10ms = 1000ms = 1sek). <<BR>><<BR>>

'''__WP-Event = 200__''' <<BR>>
Is a "200" enterd under WP-Event is the time per casket 2 seconds (200x10ms = 2000ms = 2sek). <<BR>><<BR>>

Here are some examples how you could switch the caskets (other patterns are possible): <<BR>><<BR>>


||||||||||||||||||<class="MK_THeader" tablewidth="750px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103795&g2_serialNumber=1}}||
||<class="MK_TBody" width="150px">Bitmask = ||<#B4DC6C:>ON||<#FF7537:>OFF||<#FF7537:>OFF||<#FF7537:>OFF||<#FF7537:>OFF||<#FF7537:>OFF||<#FF7537:>OFF||<#FF7537:>OFF||
||<class="MK_TBody">WP-Event<<BR>>= 50 ||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 100 ||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 200 ||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||
||||||||||||||||||
||<class="MK_TBody"|2(>Out1 is:||<#B4DC6C:>ON ->||<#FF7537:-7>OFF ->||
||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2}}||<:-6>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2}}||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2}}||
<<BR>>


||||||||||||||||||<class="MK_THeader" tablewidth="750px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103798&g2_serialNumber=1}}||
||<class="MK_TBody" width="150px">Bitmask = ||<#B4DC6C:>ON||<#FF7537:>OFF||<#B4DC6C:>ON||<#FF7537:>OFF||<#B4DC6C:>ON||<#FF7537:>OFF||<#B4DC6C:>ON||<#FF7537:>OFF||
||<class="MK_TBody">WP-Event<<BR>>= 50 ||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 100 ||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 200 ||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||
||||||||||||||||||
||<class="MK_TBody"|2(>Out1 is:||<#B4DC6C:>ON ->||<#FF7537:>OFF ->||<#B4DC6C:>ON ->||<#FF7537:>OFF ->||<#B4DC6C:>ON ->||<#FF7537:>OFF ->||<#B4DC6C:>ON ->||<#FF7537:>OFF||
||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2}}||<:-6>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2}}||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2}}||
<<BR>>


||||||||||||||||||<class="MK_THeader" tablewidth="750px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103801&g2_serialNumber=1}}||
||<class="MK_TBody" width="150px">Bitmask = ||<#B4DC6C:>ON||<#FF7537:>OFF||<#FF7537:>OFF||<#B4DC6C:>ON||<#FF7537:>OFF||<#FF7537:>OFF||<#B4DC6C:>ON||<#FF7537:>OFF||
||<class="MK_TBody">WP-Event<<BR>>= 50 ||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 100 ||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 200 ||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||
||||||||||||||||||
||<class="MK_TBody"|2(>Out1 is:||<#B4DC6C:>ON ->||<#FF7537:-2>OFF ->||<#B4DC6C:>ON ->||<#FF7537:-2>OFF ->||<#B4DC6C:>ON ->||<#FF7537:>OFF||
||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2}}||<:-6>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2}}||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2}}||
<<BR>>



||||||||||||||||||<class="MK_THeader" tablewidth="750px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103804&g2_serialNumber=1}}||
||<class="MK_TBody" width="150px">Bitmask = ||<#B4DC6C:>ON||<#FF7537:>OFF||<#FF7537:>OFF||<#FF7537:>OFF||<#B4DC6C:>ON||<#FF7537:>OFF||<#FF7537:>OFF||<#FF7537:>OFF||
||<class="MK_TBody">WP-Event<<BR>>= 50 ||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 100 ||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 200 ||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||
||||||||||||||||||
||<class="MK_TBody"|2(>Out1 is:||<#B4DC6C:>ON ->||<#FF7537:-3>OFF ->||<#B4DC6C:>ON ->||<#FF7537:-3>OFF ->||
||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2}}||<:-6>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2}}||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2}}||
<<BR>>


||||||||||||||||||<class="MK_THeader" tablewidth="750px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103807&g2_serialNumber=1}}||
||<class="MK_TBody" width="150px">Bitmask = ||<#B4DC6C:>ON||<#B4DC6C:>ON||<#FF7537:>OFF||<#FF7537:>OFF||<#B4DC6C:>ON||<#B4DC6C:>ON||<#FF7537:>OFF||<#FF7537:>OFF||
||<class="MK_TBody">WP-Event<<BR>>= 50 ||<#B4DC6C:>0,5sec<<BR>>on||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||<#B4DC6C:>0,5sec<<BR>>on||<#B4DC6C:>0,5sec<<BR>>on||<#FF7537:>0,5sec<<BR>>off||<#FF7537:>0,5sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 100 ||<#B4DC6C:>1sec<<BR>>on||<#B4DC6C:>1sec<<BR>>on||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||<#B4DC6C:>1sec<<BR>>on||<#B4DC6C:>1sec<<BR>>an||<#FF7537:>1sec<<BR>>off||<#FF7537:>1sec<<BR>>off||
||<class="MK_TBody">WP-Event<<BR>>= 200 ||<#B4DC6C:>2sec<<BR>>on||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||<#B4DC6C:>2sec<<BR>>on||<#B4DC6C:>2sec<<BR>>on||<#FF7537:>2sec<<BR>>off||<#FF7537:>2sec<<BR>>off||
||||||||||||||||||
||<class="MK_TBody"|2(>Out1 is:||<#B4DC6C:-2>ON ->||<#FF7537:-2>OFF ->||<#B4DC6C:-2>ON ->||<#FF7537:-2>OFF ->||
||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2}}||<:-6>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2}}||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2}}||
<<BR>>


'''Exception''' <<BR>>
If you use for the WP-Event a value of 250, Out1 (or Out2) is during the delay (Time) at the !WayPoint still on or off.
<<BR>><<BR>>

||||||||||||||||||<class="MK_THeader" tablewidth="750px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=105990&g2_serialNumber=1}}||
||<class="MK_TBody" width="150px">Bitmask = ||<#B4DC6C:>on||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||
||||||||||||||||||
||<class="MK_TBody"|2(>WP-Event=250<<BR>>Out1 is:||<#B4DC6C:-8>on ->||
||<width="75px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2}}||<:-6>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2}}||<width="75px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2}}||
||<class="MK_TBody":-9>The switching output is at the !WayPoint still '''ON''' and during the rest of the time '''OFF'''.||
<<BR>>


||||||||||||||||||<class="MK_THeader" tablewidth="750px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=105993&g2_serialNumber=1}}||
||<class="MK_TBody" width="150px">Bitmask = ||<#FF7537:>off||<#B4DC6C:>on||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||<#FF7537:>off||
||||||||||||||||||
||<class="MK_TBody"|2(>WP-Event=250<<BR>>Out1 is:||<#FF7537:-8>off ->||
||<width="75px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2}}||<:-6>{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2}}||<width="75px">{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2}}||
||<class="MK_TBody":-9>The switching output is at the !WayPoint still '''OFF''' and during the rest of the time '''ON'''.||
<<BR>>

= testing and simulation at home =
Look [[en/WpEvent|here]] for further documentation and how to test that without flying
<<BR>>
<<BR>>

This page as an PDF-Document? Click on that Symbol and wait a little moment... --->

WaypointAutomatic

Waypoint Automatic


https://gallery3.mikrokopter.de/var/albums/intern/sonstiges/Button-Baugruppe/Button350x150/Button_WPAuto.jpg?m=1507615793




Info

If you use a Shuttercable (Link) you can also trigger a camera with a push button or a 3-way switch on your transmitter.

Tip

A description how to connect and trigger a camera with a Shuttercable you can find here: ShutterCable

A description how to connect and trigger a camera with a CamCtrl you can find here: CamCtrl

Also during a Way point flight you can automatically trigger your camera.

For this we need 3 things:

  • Automatic
  • Bitmaske (switching pattern)
  • WP-Event

(The following settings are valid from SW version 2.00)

Automatic

To trigger a Camera with a Shuttercable or an IR-Ctrl during a Way point flight, you have to activate the Automatic. This can be done with an 3-way switch or also with a push button.


Push button to trigger

If you use a push button to trigger the camera we have 2 positions =>

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144300&g2_serialNumber=2

without activation = OFF (0)
Camera will not trigger.
(No triggering during a WP-Event)

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144289&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144301&g2_serialNumber=2

with activation = ON (254)
Trigger the camera manually

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144290&g2_serialNumber=2

To use the Automatic during a Way point flight we have to change the settings for this channel on the transmitter. If you use e.g. a Graupner HoTT transmitter we find this setting under Servo adjustment:
(in this example we use channel 11 to trigger the camera)

1. Change to Servo adjustment:

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144292&g2_serialNumber=2

2. Change the left servo travel of this channel from 104% ... to 0%:

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144295&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144296&g2_serialNumber=2

3. Now the Automatic is still activ.

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144300&g2_serialNumber=2

without activation = Automatic (126)
Camera will not trigger.
(Automatic triggering during a WP-Event)

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144291&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144301&g2_serialNumber=2

with activation = ON (254)
Trigger the camera manually

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144290&g2_serialNumber=2

Info
The Automatic can be still ON. During a normal flight you will only trigger the camera when you push the button. During a Waypoint flight the camera will trigger automatically.






3-way switch to trigger

If you use a 3-way switch to trigger the camera you can switch between OFF/Automatic/Trigger:
(in this example we use channel 11 to trigger the camera)

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144297&g2_serialNumber=2

Position 1 = OFF (0)
Camera will not trigger

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144289&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144298&g2_serialNumber=2

Position 2 = Automatic (126)
Camera will not trigger
Automatic triggering during a WP-Event

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144291&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144299&g2_serialNumber=2

Position 3 = An (254)
Trigger the camera manually

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144290&g2_serialNumber=2

Bitmaske (switching pattern)

In the settings of the KopterTool under Output you have to set::

http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=144210&g2_serialNumber=1

- combine with WP-Event
Activate this. So "Out1" will work automatically during a WP-Event.

- Out1 Bitmask
This one determines the switching interval of Out1

- Out1 Timing
Here you set the Poti1-8 (channel)
of the used push button / 3-way switch.



Bitmask - explanation
With the 8 boxes of the Bitmask you will the switching sequence of Out1. How long a box will switch ON or OFF Out1 you will later set under the WP-Event.

Example:
Under WP-Event you set for example a value of 100 (100 x 10ms = 1 Second).
Each box under "Out1 Bitmask" is then working for this time (1 Second).
So if the boxes are activated as you can see in the picture (the first 5 ON and the last OFF) the switching output 1 will work like this:
1second "ON" - 1second "ON" - 1second "ON" - 1second "ON" - 1second "ON" - 1second "OFF" - 1second "OFF" - 1second "OFF"

Output 1 is also ON for 5 seconds and then OFF for 3 seconds.

Please note:
The program will processing the whole bitmask! If the Waitingtime for a Waypoint is longer, the bitmask will start again.

TIP
A DSLR camera can also trigger very fast. So you better use a short time for the WP-event (e.g. 6-10).

(See also Switch Examples)

WayPoint Event

Each scaled WayPoint in the MikroKopterTool-OSD has a field "WP-Event" (WayPoint-Event).
With each WayPoint-Flight you can trigger i.e. a camera automatically after reaching the appropriate WayPoint.

If the Kopter reaches the WayPoint the Kopter stays there for the delay time set under the tab "Time".
During the delay time the value will be transfered to the FlightCtrl entered under WP-Event.

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103626&g2_serialNumber=1

The functions and the settings of the WayPoints are described here: en/MikroKopterTool-OSD/MikroKopterTool-OSD

Switch Examples

Let's take a few WP-Event values which are assigned for WayPoints and let's have a look to the function of the switch output in some examples.
How would the output switch with this values?

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103626&g2_serialNumber=1

<!> For Information:
The switching operation will be repeated as long until the set "Time" for the WayPoint is counted down. Example: Is under "Time" a 10 entered the Kopter will stay for 10 sec. at that WayPoint and during this time the value of the WP-Event will be transfered.

WP-Event = 0
Is a "0" entered under WP-Event the function is OFF. The output will be not switched and a camera will be not triggered.

WP-Event = 50
Is a "50" entered under WP-Event is the time per casket 0,5 seconds (50x10ms = 500ms = 0,5sek).

WP-Event = 100
Is a "100" entered under WP-Event is the time per casket 1 second (100x10ms = 1000ms = 1sek).

WP-Event = 200
Is a "200" enterd under WP-Event is the time per casket 2 seconds (200x10ms = 2000ms = 2sek).

Here are some examples how you could switch the caskets (other patterns are possible):

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103795&g2_serialNumber=1

Bitmask =

ON

OFF

OFF

OFF

OFF

OFF

OFF

OFF

WP-Event
= 50

0,5sec
on

0,5sec
off

0,5sec
off

0,5sec
off

0,5sec
off

0,5sec
off

0,5sec
off

0,5sec
off

WP-Event
= 100

1sec
on

1sec
off

1sec
off

1sec
off

1sec
off

1sec
off

1sec
off

1sec
off

WP-Event
= 200

2sec
on

2sec
off

2sec
off

2sec
off

2sec
off

2sec
off

2sec
off

2sec
off

Out1 is:

ON ->

OFF ->

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2


https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103798&g2_serialNumber=1

Bitmask =

ON

OFF

ON

OFF

ON

OFF

ON

OFF

WP-Event
= 50

0,5sec
on

0,5sec
off

0,5sec
on

0,5sec
off

0,5sec
on

0,5sec
off

0,5sec
on

0,5sec
off

WP-Event
= 100

1sec
on

1sec
off

1sec
on

1sec
off

1sec
on

1sec
off

1sec
on

1sec
off

WP-Event
= 200

2sec
on

2sec
off

2sec
on

2sec
off

2sec
on

2sec
off

2sec
on

2sec
off

Out1 is:

ON ->

OFF ->

ON ->

OFF ->

ON ->

OFF ->

ON ->

OFF

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2


https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103801&g2_serialNumber=1

Bitmask =

ON

OFF

OFF

ON

OFF

OFF

ON

OFF

WP-Event
= 50

0,5sec
on

0,5sec
off

0,5sec
off

0,5sec
on

0,5sec
off

0,5sec
off

0,5sec
on

0,5sec
off

WP-Event
= 100

1sec
on

1sec
off

1sec
off

1sec
on

1sec
off

1sec
off

1sec
on

1sec
off

WP-Event
= 200

2sec
on

2sec
off

2sec
off

2sec
on

2sec
off

2sec
off

2sec
on

2sec
off

Out1 is:

ON ->

OFF ->

ON ->

OFF ->

ON ->

OFF

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2


https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103804&g2_serialNumber=1

Bitmask =

ON

OFF

OFF

OFF

ON

OFF

OFF

OFF

WP-Event
= 50

0,5sec
on

0,5sec
off

0,5sec
off

0,5sec
off

0,5sec
on

0,5sec
off

0,5sec
off

0,5sec
off

WP-Event
= 100

1sec
on

1sec
off

1sec
off

1sec
off

1sec
on

1sec
off

1sec
off

1sec
off

WP-Event
= 200

2sec
on

2sec
off

2sec
off

2sec
off

2sec
on

2sec
off

2sec
off

2sec
off

Out1 is:

ON ->

OFF ->

ON ->

OFF ->

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2


https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103807&g2_serialNumber=1

Bitmask =

ON

ON

OFF

OFF

ON

ON

OFF

OFF

WP-Event
= 50

0,5sec
on

0,5sec
on

0,5sec
off

0,5sec
off

0,5sec
on

0,5sec
on

0,5sec
off

0,5sec
off

WP-Event
= 100

1sec
on

1sec
on

1sec
off

1sec
off

1sec
on

1sec
an

1sec
off

1sec
off

WP-Event
= 200

2sec
on

2sec
on

2sec
off

2sec
off

2sec
on

2sec
on

2sec
off

2sec
off

Out1 is:

ON ->

OFF ->

ON ->

OFF ->

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2


Exception
If you use for the WP-Event a value of 250, Out1 (or Out2) is during the delay (Time) at the WayPoint still on or off.

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=105990&g2_serialNumber=1

Bitmask =

on

off

off

off

off

off

off

off

WP-Event=250
Out1 is:

on ->

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2

The switching output is at the WayPoint still ON and during the rest of the time OFF.


https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=105993&g2_serialNumber=1

Bitmask =

off

on

off

off

off

off

off

off

WP-Event=250
Out1 is:

off ->

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103853&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103850&g2_serialNumber=2

https://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=103847&g2_serialNumber=2

The switching output is at the WayPoint still OFF and during the rest of the time ON.


testing and simulation at home

Look here for further documentation and how to test that without flying