{"id":393,"date":"2016-07-11T06:52:10","date_gmt":"2016-07-11T05:52:10","guid":{"rendered":"https:\/\/www.kolkataonweb.com\/code-bank\/?p=393"},"modified":"2016-07-11T20:31:04","modified_gmt":"2016-07-11T19:31:04","slug":"ublox-neo-6m-gps-module","status":"publish","type":"post","link":"https:\/\/www.kolkataonweb.com\/code-bank\/arduino\/ublox-neo-6m-gps-module\/","title":{"rendered":"UBLOX NEO 6M GPS Module"},"content":{"rendered":"<p>The NEO 6M from Ublox is a good and affordable GPS module. The characteristics are as follows.<\/p>\n<p>It can be purchased with a ceramic antenna from online stores like Ebay or Aliexpress. Unfortunately the one I purchased had a problem with the Antenna connection due to which some time got wasted in trying to get a fix. After a little bit of tweaking with the antenna connector the module is getting a GPS fix even inside rooms.<\/p>\n<p>I have supplied it with 5v and the RX and TX also has been connected to 5v I\/O. There is an indicator (light) on the module that flashes when the module gets a GPS fix. (<span style=\"color: #ff6600;\"><em>Please check with your module manufacturer for the correct voltage of the module<\/em><\/span>)<\/p>\n<p>Ublox provides a software called &#8220;u-center&#8221; for testing the module. But the software is good enough for monitoring also.\u00a0 The u-center software can also be used to change\/update configurations of the module. The software can be downloaded from this Ublox website&#8217;s link <a href=\"https:\/\/www.u-blox.com\/en\/product\/u-center-windows\">https:\/\/www.u-blox.com\/en\/product\/u-center-windows<\/a> . And as a backup it has been put up here also (at the time of writing this article the latest version was 8.21).<\/p>\n<p><a href=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2016\/06\/Ublox-u-center-software.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-395\" src=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2016\/06\/Ublox-u-center-software-1024x576.png\" alt=\"Ublox u-center software\" width=\"604\" height=\"340\" srcset=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2016\/06\/Ublox-u-center-software-1024x576.png 1024w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2016\/06\/Ublox-u-center-software-300x169.png 300w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2016\/06\/Ublox-u-center-software-768x432.png 768w, https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2016\/06\/Ublox-u-center-software.png 1366w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n<p>The module can be connected using a USB to Serial module (PL2303 or CH340G) or using an Arduino. Below is the connection details for connecting through Arduino or USB to RS232 modules.<\/p>\n<pre class='wp-code-highlight prettyprint'><span style=\"color: #333333;\"><strong>Connect to PC using Arduino<\/strong><\/span> <span style=\"text-decoration: underline;\">\r\nArduino<\/span> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0\u00a0\u00a0 <span style=\"text-decoration: underline;\">NEO 6M<\/span> \r\n\u00a0\u00a0 <span style=\"color: #0000ff;\">RX<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: #0000ff;\">RX<\/span>\r\n\u00a0\u00a0 <span style=\"color: #ff6600;\">TX<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: #ff6600;\">TX<\/span>\r\n\u00a0\u00a0 <span style=\"color: #ff0000;\">5v<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: #ff0000;\">5v<\/span>\r\n\u00a0\u00a0 <span style=\"color: #000000;\">GND<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: #000000;\">GND<\/span>\r\n\r\n<span style=\"color: #333333;\"><strong>Connect to PC using USB to Serial Module<\/strong><\/span>\r\n<span style=\"text-decoration: underline;\">USB to RS232<\/span> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <span style=\"text-decoration: underline;\">NEO 6M<\/span> \r\n\u00a0<span style=\"color: #0000ff;\">RX<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: #ff6600;\">TX<\/span>\r\n\u00a0<span style=\"color: #ff6600;\">TX<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: #0000ff;\">RX<\/span>\r\n <span style=\"color: #ff0000;\">5v<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: #ff0000;\">5v<\/span>\r\n\u00a0<span style=\"color: #000000;\">GND<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0     ----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: #000000;\">GND<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p>The module works out of the box and no further configuration is required. <em>It might take a while to get a fix.<\/em><\/p>\n<p><a href=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2016\/07\/NEO-6_DataSheet_GPS.G6-HW-09005.pdf\">Here is the datasheet.<\/a><\/p>\n<p>The module outputs data in NMEA format. The details of the format can be found <a href=\"http:\/\/gpsinformation.org\/dale\/nmea.htm\">here<\/a>. <a href=\"https:\/\/www.kolkataonweb.com\/code-bank\/wp-content\/uploads\/2016\/07\/NMEA-Data-Format.pdf\">Here is a copy<\/a> of the website material in case the site ever goes down (the data is of <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"http:\/\/gpsinformation.org\">http:\/\/gpsinformation.org<\/a><\/span>)<\/p>\n<p><span style=\"color: #ff0000;\"><em>Please check with your module manufacturer for the correct voltage of the module<\/em><\/span><\/p>\n<p><strong>Notes:<\/strong><\/p>\n<ul>\n<li><em>Once the module somehow stopped working and responding. Removing the onboard battery helped. Re-attaching the battery later on didn&#8217;t have any problem and the module is working fine. The battery is for data backup, so removing it altogether doesn&#8217;t have any problem, just that it takes a lot of time to get a fix when the module is powered up again.<\/em><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The NEO 6M from Ublox is a good and affordable GPS module. The characteristics are as follows. It can be purchased with a ceramic antenna from online stores like Ebay or Aliexpress. Unfortunately the one I purchased had a problem with the Antenna connection due to which some time got wasted in trying to get&hellip; <a class=\"more-link\" href=\"https:\/\/www.kolkataonweb.com\/code-bank\/arduino\/ublox-neo-6m-gps-module\/\">Continue reading <span class=\"screen-reader-text\">UBLOX NEO 6M GPS Module<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,64],"tags":[71,69],"class_list":["post-393","post","type-post","status-publish","format-standard","hentry","category-arduino","category-esp-8266","tag-neo-6m-gps-module","tag-ublox-neo-6m","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/comments?post=393"}],"version-history":[{"count":5,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/393\/revisions"}],"predecessor-version":[{"id":405,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/393\/revisions\/405"}],"wp:attachment":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/media?parent=393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/categories?post=393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/tags?post=393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}