{"id":143485,"date":"2024-07-18T20:22:59","date_gmt":"2024-07-18T14:52:59","guid":{"rendered":"https:\/\/www.electronicsforu.com\/?p=143485"},"modified":"2024-10-30T10:13:27","modified_gmt":"2024-10-30T04:43:27","slug":"gps-speedometer","status":"publish","type":"post","link":"https:\/\/www.electronicsforu.com\/electronics-projects\/super-innovative-projects\/gps-speedometer","title":{"rendered":"GPS based Speedometer for Cars and Bicycles"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"178\" height=\"163\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/efy-tested-1.jpg\" alt=\"\" class=\"wp-image-143513\"\/><\/figure><\/div>\n\n\n<p>In today\u2019s fast-paced world, accurate speed measurement is crucial across various domains, from automotive vehicles to drones and athletic training. To meet this need, the following is a groundbreaking development: a <strong>GPS-based speedometer<\/strong> capable of measuring speeds up to 1854 kilometres per hour. <\/p>\n\n\n\n<p>What sets this speedometer apart is its compact size, utilising the Quectel L86 GPS + GPS module and the <a href=\"https:\/\/indus.electronicsforu.com\/\">IndusBoard<\/a> with the 3D accelerometer and compass sensor, all packaged in a tiny 3cm IndusBoard coin form factor.<\/p>\n\n\n\n<p>This makes it the <strong>smallest speedometer device<\/strong>, suitable for any automobile, bicycle, runner, athlete, speed bot, motor bot, drone, or robot, enabling real-time speed measurement. In addition, the device also provides IoT capability and connectivity to almost any Wi-Fi enabled device like a laptop, phone, or tablet to keep real-time track of speed and total distance covered.<\/p>\n\n\n\n<p>The applications of this GPS-based speedometer are diverse and impactful. It can be used in automobiles to provide real-time speed feedback for drivers, enhancing safety and adherence to speed limits. It can be used in bicycles to help cyclists monitor their speed during training or recreational purposes. It is also beneficial for runners and athletes to provide precise speed measurements for performance tracking and training optimisation. <\/p>\n\n\n\n<p>Moreover, it facilitates speed control and navigation accuracy in drones and robots, which is crucial for autonomous movement and obstacle avoidance. <\/p>\n\n\n\n<p>Additionally, it optimises performance in speed bots and motor bots by monitoring speed in various robotic applications.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"388\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Authors-GPS-speedometer-for-bicycle.jpg\" alt=\"GPS based Speedometer\" class=\"wp-image-143520\" style=\"width:620px;height:auto\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Authors-GPS-speedometer-for-bicycle.jpg 700w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Authors-GPS-speedometer-for-bicycle-500x277.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Authors-GPS-speedometer-for-bicycle-696x386.jpg 696w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">Fig. 1: Author\u2019s GPS speedometer for bicycle<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>PoC Videos<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"yo0a5fwjxbnm0orS2vKL1gbKRDGuWX3dOA97plqMPcn3NPHisUrUzJYeF9ZksVEghLBx58XwI6QRtBkGQ4l4hvdeTy7Eqp\"><iframe loading=\"lazy\" title=\"Smallest GPS Speedometer with IoT Capabilities | DIY Project | Electronics For You | English\" width=\"696\" height=\"392\" src=\"https:\/\/www.youtube.com\/embed\/AIOhGSUB2Go?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/span>\n<\/div><figcaption class=\"wp-element-caption\">PoC Video in English<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"OZ5TmYIA5pAc0yw1Vn34pQW4lSaGzLexhfKCsJejM7Go09jmdkaIEZDorvlw6TgxtK9n7FQVSfEUOyqgU\"><iframe loading=\"lazy\" title=\"Smallest GPS Speedometer with IoT Capabilities | DIY Project | Electronics For You | Hindi\" width=\"696\" height=\"392\" src=\"https:\/\/www.youtube.com\/embed\/4pyiwG4eWUk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/span>\n<\/div><figcaption class=\"wp-element-caption\">PoC Video in Hindi<\/figcaption><\/figure>\n\n\n\n<p>Fig. 1 shows the prototype fitted on a bicycle. For making this GPS speedometer for the bicycle, the components required are shown in Bill of Materials table.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td colspan=\"2\"><strong>Bill of Materials<\/strong><\/td><\/tr><tr><td><strong>Components<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>IndusBoard<\/td><td>3cm sized development board<\/td><\/tr><tr><td>L86 GPS module<\/td><td>GPS module<\/td><\/tr><tr><td>GC9A01A round display<\/td><td>LCD display<\/td><\/tr><tr><td>CST816<\/td><td>Capacitance touchchip<\/td><\/tr><tr><td>Casing<\/td><td>Outer casing of device<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Programming GPS-based Speedometer<\/strong><\/h2>\n\n\n\n<p>For coding, first, it is necessary to install the <a href=\"https:\/\/github.com\/Bodmer\/TFT_eSPI\" target=\"_blank\" rel=\"noreferrer noopener\">TFT espi<\/a> and <a href=\"https:\/\/github.com\/mikalhart\/TinyGPSPlus\" target=\"_blank\" rel=\"noreferrer noopener\">TINY GPS Plus libraries<\/a>; the next steps are explained in the code. Fig. 2 shows a snippet of the source code.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"1024\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Snippet-of-the-source-code-1-979x1024.jpg\" alt=\"Code for Speedometer\" class=\"wp-image-143521\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Snippet-of-the-source-code-1-979x1024.jpg 979w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Snippet-of-the-source-code-1-478x500.jpg 478w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Snippet-of-the-source-code-1-402x420.jpg 402w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Snippet-of-the-source-code-1-696x728.jpg 696w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Snippet-of-the-source-code-1.jpg 1000w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><figcaption class=\"wp-element-caption\">Fig. 2: Snippet of the source code<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Circuit and Working<\/strong><\/h2>\n\n\n\n<p>Fig. 3 shows the circuit diagram of the GPS speedometer for bicycles and cars. It is built around the IndusBoard, capacitance touchchip CST816, GC9A01A round display, and L86 GPS module.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"711\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Circuit-diagram-of-the-GPS-speedometer-for-bicycle.jpg\" alt=\"IoT based Speedometer Code\" class=\"wp-image-143522\" style=\"width:610px;height:auto\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Circuit-diagram-of-the-GPS-speedometer-for-bicycle.jpg 900w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Circuit-diagram-of-the-GPS-speedometer-for-bicycle-500x395.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Circuit-diagram-of-the-GPS-speedometer-for-bicycle-532x420.jpg 532w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Circuit-diagram-of-the-GPS-speedometer-for-bicycle-696x550.jpg 696w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><figcaption class=\"wp-element-caption\">Fig. 3: Circuit diagram of the GPS speedometer for bicycle<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Final-GPS-speedometer-fitted-on-bicycle-handle.jpg\" alt=\"GPS based Speedometer with IoT Capability\" class=\"wp-image-143523\" style=\"width:568px;height:auto\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Final-GPS-speedometer-fitted-on-bicycle-handle.jpg 800w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Final-GPS-speedometer-fitted-on-bicycle-handle-500x375.jpg 500w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Final-GPS-speedometer-fitted-on-bicycle-handle-560x420.jpg 560w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Final-GPS-speedometer-fitted-on-bicycle-handle-80x60.jpg 80w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/Final-GPS-speedometer-fitted-on-bicycle-handle-696x522.jpg 696w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Fig. 4: Final GPS speedometer fitted on bicycle handle<\/figcaption><\/figure><\/div>\n\n\n<p>The L86 GPS uses the serial port with a baud rate of 9600 to send the GPS data. The IndusBoard supports both software and hardware. The L86 GPS pins RXD1 and TXD1 are connected to TX and RX1 of the IndusBoard, respectively. According to the L86 GPS module dataset, the module can be powered from a range of 2.8V to 4V while consuming around 100mA in working mode.<\/p>\n\n\n\n<p>The IndusBoard has four output pins that can handle the current and power. Therefore, the 3.3V and GND pins of the IndusBoard are used for the GPS powering. For more details about the GPS powering system, refer to the previous month\u2019s issue of EFY or use its datasheet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Construction and Testing<\/strong><\/h2>\n\n\n\n<p>For the construction of the device, solder all the components according to the circuit diagram (see Fig. 2). After soldering the components together, fix them on top of the bicycle handle or car\u2019s dashboard. Now, power the device and and start driving.<\/p>\n\n\n\n<p>Based on the change in GPS location with time, it will start giving the speed, which can be seen on the device, as shown in Fig. 4.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2024\/07\/GPS-TRacker.zip\">Download Source Code<\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><em>Ashwini Kumar Sinha is a tech journalist at EFY, with hands-on expertise in electronics DIY. He is passionate about AI, IoT, and electronics. He holds two design contest records and is two times winner of US-China Makers Award.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today\u2019s fast-paced world, accurate speed measurement is crucial across various domains, from automotive vehicles to drones and athletic training. To meet this need, the following is a groundbreaking development: a GPS-based speedometer capable of measuring speeds up to 1854 kilometres per hour. What sets this speedometer apart is its compact size, utilising the Quectel [&hellip;]<\/p>\n","protected":false},"author":33369,"featured_media":143523,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11851,23,776,2119,22,6189,6229],"tags":[1985,110,228,11666,11964],"class_list":{"0":"post-143485","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-super-innovative-projects","8":"category-hardware-diy","9":"category-prototypes","10":"category-diy-projects-video-tutorials","11":"category-electronics-projects","12":"category-esp32-projects","13":"category-project-ideas","14":"tag-diy-projects","15":"tag-electronics-projects","16":"tag-gps","17":"tag-indusboard","18":"tag-jul-2024"},"_links":{"self":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/143485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/users\/33369"}],"replies":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/comments?post=143485"}],"version-history":[{"count":1,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/143485\/revisions"}],"predecessor-version":[{"id":150766,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/143485\/revisions\/150766"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media\/143523"}],"wp:attachment":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media?parent=143485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/categories?post=143485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/tags?post=143485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}