{"id":208,"date":"2020-02-11T05:00:22","date_gmt":"2020-02-11T05:00:22","guid":{"rendered":"http:\/\/blog.rctoysky.com\/?p=208"},"modified":"2020-02-11T05:00:24","modified_gmt":"2020-02-11T05:00:24","slug":"how-to-configure-a-gps-for-cc3d","status":"publish","type":"post","link":"https:\/\/blog.rctoysky.com\/?p=208","title":{"rendered":"How to configure a GPS for CC3D"},"content":{"rendered":"\n<p>More information,see here,<a href=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/user_manual\/cc3d\/gps.html\">https:\/\/opwiki.readthedocs.io\/en\/latest\/user_manual\/cc3d\/gps.html<\/a><\/p>\n\n\n\n<p>CC3D or Atom flight controllers do not support GPS functions such as Return to base or Position Hold. The original CopterControl (CC) board does not have memory left for GPS use.<\/p>\n\n\n\n<p>The only purpose for GPS use is telemetry using radio modems (OPLink) or GPS position send to OSD device.<\/p>\n\n\n\n<p>NMEA is not supported anymore because is less memory efficient, this page only refers to UBlox GPS and UBX protocol.<\/p>\n\n\n\n<p>Note<\/p>\n\n\n\n<p>Others boards like&nbsp;<a href=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/user_manual\/revo\/index.html\"><em>Revolution<\/em><\/a>&nbsp;support&nbsp;<strong>auto-configuration<\/strong>&nbsp;and&nbsp;<strong>no need<\/strong>&nbsp;this manual configuration using UCenter.<\/p>\n\n\n\n<p>This means also if you connect your \u2018CC3D GPS\u2019 to a Revolution board, your previous configuration is lost!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul><li>Download the UCenter software&nbsp;<a href=\"https:\/\/www.u-blox.com\/en\/product\/u-center-windows\">here<\/a>, check Zip icon in bottom page.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/ucenter_file_download.jpg\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/ucenter_file_download.jpg\" alt=\"..\/..\/_images\/ucenter_file_download.jpg\"\/><\/a><\/figure>\n\n\n\n<p>Note<\/p>\n\n\n\n<p>UCenter is for Windows only.<\/p>\n\n\n\n<ul><li>Install UCenter software<\/li><li>Setup a serial connection with GPS using USB port (if any) or USBSerial (Gnd, +5V, Tx, Rx).<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/GPS_ftdi.png\" alt=\"..\/..\/_images\/GPS_ftdi.png\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Configure your GPS<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Connect<\/h3>\n\n\n\n<ul><li>Connect GPS to USB serial or USB.<\/li><li>Start UCenter software.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/Ucenter_icon.png\" alt=\"..\/..\/_images\/Ucenter_icon.png\"\/><\/figure>\n\n\n\n<ul><li>Select COM port used for GPS.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/Ucenter_comport.png\" alt=\"..\/..\/_images\/Ucenter_comport.png\"\/><\/figure>\n\n\n\n<ul><li>Open console (F6 key) or&nbsp;<strong>View<\/strong>&nbsp;&gt;&nbsp;<strong>Packet Console<\/strong>&nbsp;and check if link is correct, you should see messages output from GPS.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/ucenter_open_console.png\" alt=\"..\/..\/_images\/ucenter_open_console.png\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Reset to defaults<\/h3>\n\n\n\n<ul><li>Open Configuration View window:&nbsp;<strong>View<\/strong>&nbsp;&gt;&nbsp;<strong>Configuration View<\/strong>.<\/li><li>Reset current GPS config to defaults: Check&nbsp;<strong>Revert to default configuration<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/Ubx_cc3d_reset.png\" alt=\"..\/..\/_images\/Ubx_cc3d_reset.png\"\/><\/figure>\n\n\n\n<ul><li>Send config:&nbsp;<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Select set of messages<\/h3>\n\n\n\n<ul><li>Open Messages View window:&nbsp;<strong>View<\/strong>&nbsp;&gt;&nbsp;<strong>Messages View<\/strong>.<\/li><li><strong>Disable<\/strong>&nbsp;all active NMEA messages.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/Ucenter_disable_NMEA_msg.png\" alt=\"..\/..\/_images\/Ucenter_disable_NMEA_msg.png\"\/><\/figure>\n\n\n\n<ul><li><strong>Enable<\/strong>&nbsp;UBX messages needed:<ul><li><strong>POSLLH<\/strong><\/li><li><strong>DOP<\/strong><\/li><li><strong>SOL<\/strong><\/li><li><strong>VELNED<\/strong><\/li><\/ul><\/li><li>Save current configuration using a little icon with a gear on top.&nbsp;<\/li><\/ul>\n\n\n\n<p>Note<\/p>\n\n\n\n<p>Using this configuration you can\u2019t display satellite in GPS plugin because GPS don\u2019t send this data (usually SVINFO message).<\/p>\n\n\n\n<p>CC3D works only with minimal messages. (POSLLH, DOP, SOL, VELNED)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setup port and protocol<\/h3>\n\n\n\n<ul><li>Open Configuration View window:&nbsp;<strong>View<\/strong>&nbsp;&gt;&nbsp;<strong>Configuration View<\/strong>. Move to&nbsp;<strong>PRT (Ports)<\/strong>&nbsp;in left column.<\/li><li>Change message output in UART1: only UBX for protocol in\/out.<\/li><li>Change baudrate for UART1 port, same baudrate set for Flexi\/Main GPS port.<\/li><\/ul>\n\n\n\n<p>Caution<\/p>\n\n\n\n<p>You should use&nbsp;<strong>9600<\/strong>&nbsp;or&nbsp;<strong>19200<\/strong>&nbsp;baudrate for CC3D, or packets are dropped at higher speed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/Ubx_cc3d_port.png\" alt=\"..\/..\/_images\/Ubx_cc3d_port.png\"\/><\/figure>\n\n\n\n<ul><li>Send config:&nbsp;<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Change refresh rate and save<\/h3>\n\n\n\n<ul><li>Move to&nbsp;<strong>Rate (Rates)<\/strong>&nbsp;in left column<\/li><li>Change&nbsp;<strong>Measurement Period<\/strong>&nbsp;value to 200ms for a 5Hz refresh rate.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/ubx_cc3d_rate.png\" alt=\"..\/..\/_images\/ubx_cc3d_rate.png\"\/><\/figure>\n\n\n\n<ul><li>Send config:&nbsp;<\/li><li>Save current configuration: Check&nbsp;<strong>Save current configuration<\/strong>.<\/li><li>All devices selected in blue.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/opwiki.readthedocs.io\/en\/latest\/_images\/Ubx_cc3d_save.png\" alt=\"..\/..\/_images\/Ubx_cc3d_save.png\"\/><\/figure>\n\n\n\n<ul><li>Send config:&nbsp;<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>More information,see here,https:\/\/opwiki.readthedocs.io\/en\/latest\/user_manual\/cc3d\/gps.html CC3D or Atom flight controllers do not support GPS functions such as Return to base or Position<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=\/wp\/v2\/posts\/208"}],"collection":[{"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=208"}],"version-history":[{"count":1,"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=\/wp\/v2\/posts\/208\/revisions\/209"}],"wp:attachment":[{"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rctoysky.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}