{"id":733,"date":"2014-03-20T16:31:11","date_gmt":"2014-03-20T16:31:11","guid":{"rendered":"http:\/\/www.blog.exrockets.com\/blog\/?p=733"},"modified":"2019-02-15T17:15:05","modified_gmt":"2019-02-15T17:15:05","slug":"mini-digital-barometric-altimeter","status":"publish","type":"post","link":"http:\/\/www.blog.exrockets.com\/blog\/mini-digital-barometric-altimeter\/","title":{"rendered":"MINI DIGITAL BAROMETRIC ALTIMETER"},"content":{"rendered":"<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FRO_CRO.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-734\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FRO_CRO.jpg\" alt=\"FRO_CRO\" width=\"1199\" height=\"650\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FRO_CRO.jpg 1199w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FRO_CRO-300x162.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FRO_CRO-1024x555.jpg 1024w\" sizes=\"auto, (max-width: 1199px) 100vw, 1199px\" \/><\/a>I found on Ebay very nice, small 12v 23A battery holders for PCB mounting style and decided to fit the <a href=\"http:\/\/www.blog.exrockets.com\/blog\/small-digital-barometric-altimeter\/\">SMALL DIGITAL BAROMETRIC ALTIMETER<\/a> just on the back of the holder.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/BAH_1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-735\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/BAH_1.jpg\" alt=\"BAH_1\" width=\"227\" height=\"192\" \/><\/a> <a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/BAT.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-736\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/BAT.jpg\" alt=\"BAT\" width=\"321\" height=\"189\" \/><\/a><\/p>\n<p>So basically this is the same schematic as the <a href=\"http:\/\/www.blog.exrockets.com\/blog\/small-digital-barometric-altimeter\/\">SMALL DIGITAL BAROMETRIC ALTIMETER<\/a>, however I moved some of the connections to different MCU pins because of PCB space limitations.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/mini-altimeter-sch.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-741\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/mini-altimeter-sch.png\" alt=\"mini altimeter sch\" width=\"2592\" height=\"1798\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/mini-altimeter-sch.png 2592w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/mini-altimeter-sch-300x208.png 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/mini-altimeter-sch-1024x710.png 1024w\" sizes=\"auto, (max-width: 2592px) 100vw, 2592px\" \/><\/a><\/p>\n<p>In spite of the small size the functional remains the same.<\/p>\n<p>&#8211;\u00a0\u00a0\u00a0 128Kb EEPROM memory which allows approximately 3.5 minutes of recording<br \/>\n&#8211;\u00a0\u00a0\u00a0 40 record per second<br \/>\n&#8211;\u00a0\u00a0\u00a0 Blink integer values up to 9999 meters<br \/>\n&#8211;\u00a0\u00a0\u00a0 USB connector for memory download<br \/>\n&#8211;\u00a0\u00a0\u00a0 13 bit ADC resolution trough oversampling<br \/>\n&#8211;\u00a0\u00a0\u00a0 1m per bit resolution<br \/>\n&#8211;\u00a0\u00a0\u00a0 On the field it will calculate and show maximum altitude<br \/>\n&#8211;\u00a0\u00a0\u00a0 Temperature adjusted for 20 degrees Celsius<br \/>\n&#8211;\u00a0\u00a0\u00a0 ICSP programming capability<br \/>\n&#8211;\u00a0\u00a0\u00a0 Auto start detection<\/p>\n<p>After that the PCB was a bit of a challenge with those small dimensions but I managed to fit everything on a 36&#215;12 mm PCB.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/PCB.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-742\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/PCB.jpg\" alt=\"PCB\" width=\"1194\" height=\"916\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/PCB.jpg 1194w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/PCB-300x230.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/PCB-1024x785.jpg 1024w\" sizes=\"auto, (max-width: 1194px) 100vw, 1194px\" \/><\/a>Once I soldered all components the height was 5 mm.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOPNH.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-744\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOPNH.jpg\" alt=\"TOPNH\" width=\"279\" height=\"424\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/BOTNH.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-745\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/BOTNH.jpg\" alt=\"BOTNH\" width=\"309\" height=\"465\" \/><\/a><\/p>\n<p>And after I mounted the battery holder the total height is 18 mm to give the final dimensions of 36x12x18 mm.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FRO_CRO1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-754\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FRO_CRO1.jpg\" alt=\"FRO_CRO\" width=\"167\" height=\"148\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOP.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-755\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOP.jpg\" alt=\"TOP\" width=\"235\" height=\"189\" \/><\/a><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/SID.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-756\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/SID.jpg\" alt=\"SID\" width=\"176\" height=\"199\" \/><\/a><\/p>\n<p>Of course the weight is as important as the size and normally both are related so the final weight was also reduced to 4gr without battery and 13 grams with the battery.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/WNB.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-764\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/WNB.jpg\" alt=\"WNB\" width=\"274\" height=\"565\" \/><\/a>\u00a0<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/WWB.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-765\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/WWB.jpg\" alt=\"WWB\" width=\"266\" height=\"562\" \/><\/a><\/p>\n<p>Because this mini altimeter is intended for model\/experimental rockets and thus high acceleration forces there were some concerns about how stable the battery will be held in the holder and whether the acceleration will not open the contacts and restart the device.<\/p>\n<p>So taking into consideration the weight of the battery and the usual accelerations in the hobby rocketry I\u2019ve calculated the force that the battery will apply on the metal spring. I\u2019ve also measured the force necessary to bend the spring and there is considerable safety margin.<\/p>\n<p>The only potential problem I see is that if the battery is subject somehow to horizontal acceleration it can be somehow ejected from the holder because of the spanned spring. \u00a0This is of course easily fixable with a piece of insulation tape.<\/p>\n<p>Another particularity is the fact that there is no circuit breaker \u2013 my idea was to use a piece of paper or plastic as contact insulation (like when you buy new electrical toy and you have to pull a piece of paper) which will be pulled right before the flight in order to switch on the device.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOS.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-768\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOS.jpg\" alt=\"TOS\" width=\"1600\" height=\"1208\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOS.jpg 1600w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOS-300x226.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/TOS-1024x773.jpg 1024w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/a><\/p>\n<p>There\u2019s another important consideration \u2013 those small 12v batteries have also small capacity \u2013 around 50-60 mAh and this altimeter consumes about 35 mA. So one battery is good probably for 2-3 flights, depending on how fast you recover the rocket. But considering how cheap are these batteries on Ebay \u2013 less than a dollar the piece I don\u2019t think this is a big problem.<\/p>\n<p>The firmware is also the same one I wrote for the <a href=\"http:\/\/www.blog.exrockets.com\/blog\/small-digital-barometric-altimeter\/\">SMALL DIGITAL BAROMETRIC ALTIMETER<\/a> and I just changed the MCU ports accordingly.<\/p>\n<p>The work diagram for Firmware v2:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FLOW_CHART.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-976\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FLOW_CHART.jpg\" alt=\"FLOW_CHART\" width=\"1216\" height=\"714\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FLOW_CHART.jpg 1216w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FLOW_CHART-300x176.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/FLOW_CHART-1024x601.jpg 1024w\" sizes=\"auto, (max-width: 1216px) 100vw, 1216px\" \/><\/a><\/p>\n<p>The work diagram for Firmware v1:<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALT_SM_FC.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-769\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALT_SM_FC.jpg\" alt=\"ALT_SM_FC\" width=\"964\" height=\"499\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALT_SM_FC.jpg 964w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALT_SM_FC-300x155.jpg 300w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/a><\/p>\n<p>And the MINI ALTIMETER is still using the same PC application to download and visualize the results.<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALTIMETER_M_2014_11_28_21_34_28.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-973\" src=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALTIMETER_M_2014_11_28_21_34_28.jpg\" alt=\"ALTIMETER_M_2014_11_28_21_34_28\" width=\"1105\" height=\"753\" srcset=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALTIMETER_M_2014_11_28_21_34_28.jpg 1105w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALTIMETER_M_2014_11_28_21_34_28-300x204.jpg 300w, http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALTIMETER_M_2014_11_28_21_34_28-1024x697.jpg 1024w\" sizes=\"auto, (max-width: 1105px) 100vw, 1105px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALTIMETER_M.zip\">MCU FIRMWARE HID V2 (hex file)<\/a><br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/ALTIMETER_M_APPLICATION_v2_01.zip\">EXROCKETS_SMALL_ALTIMETER_v_2_01 (ZIP file)<\/a><br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/MINI_ALTIMETER_HID_v1.zip\">MCU FIRMWARE HID V1 (hex file)<\/a><br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/EXROCKETS_SMALL_ALTIMETER_v_1_00.zip\">EXROCKETS_SMALL_ALTIMETER_v_1_00 (ZIP file)<\/a><br \/>\n<a href=\"http:\/\/www.blog.exrockets.com\/blog\/wp-content\/uploads\/2014\/03\/MINI-ALTIMETER-CADCAM.zip\">PCB MANUFACTURING FILES (Gerber files)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found on Ebay very nice, small 12v 23A battery holders for PCB mounting style and decided to fit the SMALL DIGITAL BAROMETRIC ALTIMETER just on the back of the holder. So basically this is the same schematic as the SMALL DIGITAL BAROMETRIC ALTIMETER, however I moved some of the connections to different MCU pins [&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-733","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\/733","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=733"}],"version-history":[{"count":33,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts\/733\/revisions"}],"predecessor-version":[{"id":2275,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/posts\/733\/revisions\/2275"}],"wp:attachment":[{"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/media?parent=733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/categories?post=733"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.blog.exrockets.com\/blog\/wp-json\/wp\/v2\/tags?post=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}