{"id":1493,"date":"2015-12-19T22:42:10","date_gmt":"2015-12-19T22:42:10","guid":{"rendered":"http:\/\/www.blog.exrockets.com\/blog\/?p=1493"},"modified":"2019-03-14T18:20:36","modified_gmt":"2019-03-14T18:20:36","slug":"mini-pic-gps-data-logger-with-micro-sd-card-and-lipo-charger","status":"publish","type":"post","link":"http:\/\/www.blog.exrockets.com\/blog\/mini-pic-gps-data-logger-with-micro-sd-card-and-lipo-charger\/","title":{"rendered":"MINI PIC GPS DATA LOGGER WITH MICRO-SD CARD AND LIPO CHARGER"},"content":{"rendered":"<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP1-1.jpg\" rel=\"attachment wp-att-1495\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1495\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP1-1.jpg\" alt=\"TOP1\" width=\"1800\" height=\"1458\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP1-1.jpg 1800w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP1-1-300x243.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP1-1-768x622.jpg 768w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP1-1-1024x829.jpg 1024w\" sizes=\"auto, (max-width: 1800px) 100vw, 1800px\" \/><\/a><\/p>\n<p><em>Update Note<\/em>: As mentioned the SD card should be 2GB or less and formatted as FAT16. Due to addressing restrictions the SD card should contain only one partition, created as <strong>PRIMARY PARTITION <\/strong>with no unallocated space before the partition. Please note that some SD cards come with partitions, created as logical partitions and need to have their partitions recreated as mentioned previously.<\/p>\n<p>The only difference between the current GPS data logger and the <a href=\"http:\/\/www.blog.exrockets.com\/blog\/mini-pic-gps-data-logger-with-sd-card\/\">MINI GPS DATA LOGGER<\/a> is that the current modification has a built in charging circuit for the LIPO battery. This is very convenient because you don\u2019t have to take off the battery every time when you need to charge it. However the additional circuit required about 10mm additional board space and the size is 22mm x 37mm \u2013 still the GPS data logger is with the size of a standard SD card and should be able to fit in any rocket, RC model etc. The new GPS data logger uses micro-SD card and 3.7v LIPO battery as power source.<\/p>\n<p>The design is based on my first GPS data logger \u2013 microSD card, GPS module, LDO power supply, LIPO charging circuit and PIC18F25J11 micro controller \u2013 all parts are easily obtainable from on-line sources like Ebay or Aliexpress. However some of the pins were changed, a LIPO charging circuit was added and the transistor switch for the SD card was put back in the design.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/SCH.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2262\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/SCH.jpg\" alt=\"\" width=\"3662\" height=\"2105\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/SCH.jpg 3662w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/SCH-300x172.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/SCH-768x441.jpg 768w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/SCH-1024x589.jpg 1024w\" sizes=\"auto, (max-width: 3662px) 100vw, 3662px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP-1.jpg\" rel=\"attachment wp-att-1497\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1497\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP-1.jpg\" alt=\"TOP\" width=\"284\" height=\"184\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP-1.jpg 1800w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP-1-300x195.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP-1-768x499.jpg 768w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/TOP-1-1024x665.jpg 1024w\" sizes=\"auto, (max-width: 284px) 100vw, 284px\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/BOT-1.jpg\" rel=\"attachment wp-att-1498\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1498\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/BOT-1.jpg\" alt=\"BOT\" width=\"303\" height=\"185\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/BOT-1.jpg 1800w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/BOT-1-300x183.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/BOT-1-768x468.jpg 768w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/BOT-1-1024x625.jpg 1024w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/a><\/p>\n<p>Using the GPS data logger is also quite simple:<\/p>\n<p>\u2013 Connect to at least 3.5v power supply, the maximum is 21 volts.<br \/>\n\u2013 Place the SD card with SETTINGS.TXT file on it in the socket<br \/>\n\u2013 Switch the GPS logger on<br \/>\n\u2013 Wait until the SD card is initialized and all data files are created \u2013 thus wait until the SD card LED stops blinking<br \/>\n\u2013 If the SD LED remains solid on, then there\u2019s something wrong with settings file or the SD card \u2013 for the exact reason please check the LOG_x.TXT file on the card (the file structure is explained further down)<br \/>\n\u2013 Wait until the GPS LED start blinking, indicating that the GPS signal is found and correctly decoded<br \/>\n\u2013 Press and hold for 1 second the SMD button to start the GPS data logging<br \/>\n\u2013 The NMEA GPS data stream will be decoded and recorded in the corresponding text data files (the file structure is explained further down)<br \/>\n\u2013 Stop the GPS data logging press and hold the button again and wait until all files are closed, hence until the SD LED remains solid off<\/p>\n<p>* To safely remove the SD card you need first to stop the data logging and make sure that the SD LED is off when you remove the card<br \/>\n** The power consumption is the sum of the SD card power consumption, the GPS module and the data logger power consumption. If the sampling time is 10sec or less, then the data logger, the GPS module and the SD card power supply will be always on. The SD cards can draw between 2mA and 200mA depending on the manufacturer and the model. The data logger\u2019s own consumption is 8mA and the GPS uses about 30mA when fully powered. If the sampling time is more than 10sec, then depending on the sampling rate, different power schemes will be used and some parts will be switched off to conserve energy between each data point record.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>FILE SYSTEM:<\/strong><\/span><\/p>\n<p><strong>SETTINGS<\/strong><br \/>\nWrite the sampling time in the first line. The sampling time is expressed in seconds. The minimum sampling time is 2s and the maximum is 99999999s. Make sure that there is a semicolon after the sampling time. After the sampling time, write the number of points to be taken. 0 means no point limit. The minimum point number is 1 and the maximum is 99999999. Make sure that there is a semicolon at the end.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/SETTINGS.txt\">SETTINGS.TXT<\/a> \u2013 this file contains the sampling rate and the number of data points to be recorded. This file has to be present on the SD card for the proper function of the GPS Logger<\/p>\n<p><strong>LOG FILES<\/strong><br \/>\nIn total 7 files are created for each new GPS data logging. The name of each file indicates what information it will contain and \u201cx\u201d for the serial number of the record (not an absolute serial number but relative to the current number of files on the card)<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/LOG_2.txt\">LOG_x.TXT<\/a> \u2013 contains the data logger system and status information<br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GGA_2.txt\">GGA_x.TXT<\/a> \u2013 contains the $GPGGA message (Fix information)<br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GSA_2.txt\">GSA_x.TXT<\/a> \u2013 contains the $GPGSA message (Overall Satellite data)<br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GSV_2.txt\">GSV_x.TXT<\/a> \u2013 contains the $GPGSV message (Detailed Satellite data)<br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/RMC_2.txt\">RMC_x.TXT<\/a> \u2013contains the $GPRMC message (Recommended minimum data for GPS)<br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/VTG_2.txt\">VTG_x.TXT<\/a> \u2013 contains the $GPVTG message (Vector track an Speed over the Ground)<br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GPS_2.kml\">GPS_x.KML<\/a> \u2013 this file has all data points converted from DDDMM.MMM to DDD.DDDDDDDD and it is in the format used by Google Earth and Google Maps to display a path in 3D over the ground. To use this file, simply load it in Google Earth.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GE.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1333\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GE.jpg\" sizes=\"auto, (max-width: 1049px) 100vw, 1049px\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GE-300x206.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GE-1024x703.jpg 1024w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/08\/GE.jpg 1049w\" alt=\"GE\" width=\"1049\" height=\"720\" \/><\/a><\/p>\n<p>The PCB manufacturing files and the MCU firmware can be downloaded from here:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/GPS_MICRO_SD_DATA_LOGGER_LIPO-CADCAM.zip\">GPS_DATA_LOGGER \u2013 CADCAM.ZIP<\/a><br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/SIMPLE_GPS_SD_CARD_DATA_LOGGER-1.zip\">GPS_DATA_LOGGER \u2013 FIRMWARE.ZIP<\/a><\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/BOM-1.pdf\">BOM<\/a><br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2015\/12\/GDL_ASSEMBLY.pdf\">ASSEMBLY<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update Note: As mentioned the SD card should be 2GB or less and formatted as FAT16. Due to addressing restrictions the SD card should contain only one partition, created as PRIMARY PARTITION with no unallocated space before the partition. Please note that some SD cards come with partitions, created as logical partitions and need to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"gallery","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1493","post","type-post","status-publish","format-gallery","hentry","category-electronics","post_format-post-format-gallery"],"_links":{"self":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts\/1493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/comments?post=1493"}],"version-history":[{"count":15,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts\/1493\/revisions"}],"predecessor-version":[{"id":2330,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts\/1493\/revisions\/2330"}],"wp:attachment":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/media?parent=1493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/categories?post=1493"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/tags?post=1493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}