#acl AdminGroup:read,write,revert EditorsGroup:read,write,revert All:read ||This page as an '''PDF-Document'''? Click on that Symbol and wait a little moment... ---> ||<>|| {{{#!wiki MK_Nav ||'''MK-GPS'''|| }}} {{{#!wiki MK_select1 * {{http://mikrokopter.de/images/deu.gif}} [[MKGPS|deutsch]] * {{http://mikrokopter.de/images/fra.gif}} [[fr/MKGPS|français]] }}} <
> See also: [[en/MK-Board|MikroKopter-Boards]] <
><
> See also: [[en/NaviCtrl|NaviCtrl]], [[en/MK3Mag|MK3Mag]] <
><
> <> <
> ||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=94234&g2_serialNumber=2}}||||{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=94239&g2_serialNumber=2}}|| ||MKGPS V1.1||||MKGPS V2.1|| = MkGPS = The MKGPS is a GPS-receiver for the Mikrokopter. Together with the NaviControl the following features are possible: ##gps_features * autonomous position hold (Position-Hold or just PH) * fly bach to start point (Coming Home or just CH) * Fly 3D-Waypoints ([[http://www.mikrokopter.de/ucwiki/en/Firmware-0.84?highlight=%28%28----%28-%2A%29%28%5Cr%29%3F%5Cn%29%28.%2A%29KategorieFirmware%29#waypoints_with_altitude|Waypoints]]) * Logging the flight onto the SD-Card * showing the actual position and speed on the 'OSD'-screen in the KopterTool * showing the actual distance and speed on the JetiBox * Pointing the camera to a specific point: [[en/PointOfInterest|PointOfInterest]] ##gps_features_end = MKGPS Version 1.0 = * the antenna has to be sticked onto the PCB and the conection pin needs to be soldered (only the one pin) * set the solderjumper to (Passiv) * the LED on top of the module starts lighting after power-up and starts flashing when GPS signal is good [[http://gallery.mikrokopter.de/main.php/v/uploads/MKGPS1_loetjumper-passiv+_Small_.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=12909}}]] = MKGPS Version 2.1 = [[http://gallery.mikrokopter.de/main.php/v/tech/MKGPS2_1.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=84462}}]] * New Chipset: LEA-6S * The Antenna is already mounted and soldered in the MKGPS2.1 * the USB-connector is not used and not assembled * the solderjumper is set to 'Passive' (If there is no solderbridge please set a solderbridge yourself) * the MKGPS 2.1 can be used on NaviControl 1.x and 2.0 since software Version 0.22 [[http://gallery.mikrokopter.de/main.php/v/tech/MKGPS2_1c.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=84470}}]] == LEDs == [[http://gallery.mikrokopter.de/main.php/v/tech/MKGPS2_1d.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=84474}}]] * the green LED on the bottom side starts lighting after powrt up and light all the time * '''The LED on the top-side only lights after the module was initialized from the NC''' (since NC-Software 0.22) * the LED on the top-side starts flashing when GPS signal is good = Installation = The Antenna needs to points upwards. There is a small arrow in one of the corners. Please point this towards Motor#1 (front). Install the included cable between MKGPS and NaviCtrl. <
> /!\ The connecting plug towards NaviCtrl should be inserted into socket '''NAV''' (Can be seen in the above picture next to the ublox module). Whilst insertion into the USB socket does not cause any damage, there would be no transfer of GPS data towards the NaviCtrl! [[http://gallery.mikrokopter.de/main.php/v/tech/GPS_On_Top2.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=64971}}]] [[http://gallery.mikrokopter.de/main.php/v/tech/GPS_On_Top1.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=64967}}]] [[http://gallery.mikrokopter.de/main.php/v/Nachbau/MikroKopter_L4_1.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=63914}}]] * The black area around the antenna patch is also needed for GPS reception and must remain free. * A plastic cover must not directly touch the GPS patch. = Initial Functionality tests = * connect NaviCtrl via MKUSB to the PC * with on the MikroKopter * Open the KopterTool - klick onto 'MKGPS'. The parameter '''GPS-Data Counter''' should be continually increasing – this indicates that the GPS is correctly connected and data is being correctly read. * Only MKGPS Version 2.x: after swithing on the MikroKopter the NC initalizes the GPS-Module (after 3-5 second). If the top-LED goes on, the communication to the module is good. = GPS Fix = A GPS Fix is indicated by a flashing LED on the MKGPS.<
> During the first start-up, the NaviCtrl will build a complete Almanac/Index. This contains satellite positions and paths. A complete cycle to build this Almanac takes 12.5 minutes. <
> Based on the last known position the fix will from then on be built up much quicker.<
> If the fix takes a longer time, it could be that the small battery on the GPS board is too weak. The battery is normally charged to about 3V. The battery is always charged when the GPS module is in operation. If the battery voltage is significantly lower than 3.0 V, it can be charged by providing power to the GPS module. One way is through the Naviboard's USB port (with the MKGPS connected). The ribbon cable to the FC should be removed. Another method is to power the MKGPS with 5V on one of the "5V-Pads" on the edge and 0V on ground (GND). Charging takes about 24 hours. The purpose of the battery is to keep the ephemerides in RAM and the realtime clock running after power off to shorten the re-aquire time. <
> Information: [[http://www.u-blox.com/images/downloads/Product_Docs/GPS_Compendium%28GPS-X-02007%29.pdf|GPS_Compendium(GPS-X-02007).pdf]] = Improvement of the signal strenght by using the GPS-Shield = [[http://gallery.mikrokopter.de/main.php/v/tech/GPS_Shield1.jpg.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=73365}}]] http://gallery.mikrokopter.de/main.php/v/tech/GPS_Shield1.jpg.html This is an enlargement of the ground-plane of the GPS-Receiver to increase the signal strenght. Also it shields the antenna against electro magnetic fields of the other electronics. See also: [[en/GpsShield|GPS-Shield]] = Show the MK-GPS Data = Start KopterTool and swith to MKGPS (connect the MKUSB to the NC) [[http://gallery.mikrokopter.de/main.php/v/tech/MKGPS_Config.gif.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=84560}}]] Now you see GPS-data and signal strenth /!\ Warning: to not do this during flight - the navigation will stop then. = NMEA = The NC firmware can provide the NMEA output standarts: * GPGGA * GPRMC == Activate NMEA == * Insert a SD card in the NC * Enter the desired timing in the SETTINGS.INI on the SD-Card in the NC * The NC will start sending NMEA frames with 57600bd on the debug interface * if you want to use it in your camera: the Uart Output is Pin No. 9 [[ http://gallery3.mikrokopter.de/var/albums/tech/NMEA_Output.gif?m=1413206426 | {{ http://gallery3.mikrokopter.de/var/thumbs/tech/NMEA_Output.gif?m=1413206426 }} ]] See also: * http://aprs.gids.nl/nmea/ * http://wiki.mikrokopter.de/en/Firmware-2.02#NMEA_Output_on_the_NC-Interface = Schematic = [[http://www.mikrocontroller.com/files/MKGPS_V1_01a.pdf|Schematic in PDF]]<
> = Configuration = Since Navi-Ctrl software version 0.22a the MKGPS is auto-configured during the startup phase. '''A manual configuration is not necessary and also not recomended.''' {i} the MKGPS 2.1 has a ROM-based LEA-6S chipset. The configuration will be lost after power down ----- The following information for the manual configuration of the MKGPS is only for experts.<
> ---- /!\ Warning: A misconfiguration can cause a lock out and an access to the MKGPS is not possible anymore. The auto configuration feature will fail also in this case. To disable the auto-configuration feature the Navi-Ctrl needs a MicroSD-Card in the slot. After startup the software creates a configuration file named SETTINGS.INI on the card. Removing the card from the slot and opening the file with a text editor on the PC the SETTINGS.INI can be modified. The entry GPSAUTOCONFIG = 1 must be changed to GPSAUTOCONFIG = 0 and the card has to be put back into the slot at the Navi-Ctrl permanently. == Download == The gps configuration software can be downloded here [[http://www.u-blox.com/images/downloads/Product_Docs/u-center_5.07_Installer.zip|U-Blox-Center]]. The [[http://www.mikrocontroller.com/files/MKGPS_01_2008a.txt|uBlox config file]] is transferred into the LEA-4H via USB or serial port. == Settings Store/Re-store (only for Experts) == === Ublox Datacenter === The KopterTool has a feature to make a transparent communication for the uBlox-Tool Simply hold the 'ALT'-Button when klicking onto 'EXIT' [[http://gallery.mikrokopter.de/main.php/v/tech/MKGPS_Alt.gif.html|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=84556}}]] Close the KopterTool and open the Ublox-Tool. select the COM-Port (same as the MKUSB) and change the baudrate to 57600Bd. . Now the behavior of the NaviCtrl is transparent to us. Launch the U-blox Datacenter and open the serial port: . {{attachment:MKGPS/MK-GPS-recover_20090224_113128.png}} . . Select GPS Configuration: . {{attachment:MKGPS/MK-GPS-recover_20090224_113136.png}} . . Load the configuration file: . {{attachment:MKGPS/MK-GPS-recover_20090224_113142.png}} . . Select the Store configuration checkbox. . Click File >> GPS: . {{attachment:MKGPS/MK-GPS-recover_20090224_113150.png}} . . Configuration is flashed into the MKGPS: . {{attachment:MKGPS/MK-GPS-recover_20090224_113213.png}} . /!\ ToDo: more to be done here ---- [[KategorieMK-Baugruppe/en]] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++