{"id":46,"date":"2022-03-30T03:35:09","date_gmt":"2022-03-30T03:35:09","guid":{"rendered":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/?page_id=46"},"modified":"2022-03-30T03:50:03","modified_gmt":"2022-03-30T03:50:03","slug":"sensor-system","status":"publish","type":"page","link":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/systems\/sensor-system\/","title":{"rendered":"Sensor System"},"content":{"rendered":"\n<h2><span style=\"font-weight: 400;\">Introduction<\/span><\/h2>\n<p><span style=\"font-weight: 400; font-size: 12px;\">The main purpose of the sensor portion of the payload is to collect meaningful data that can be stored for later analysis. Atmospheric pressure, temperature, and humidity were initially chosen as the desired measurables. When observing the environment at altitudes as high as our target of 60,000 ft, the conditions can become rough and must be accounted for. Most importantly, the temperature drops as low as -40 C where some electronics lose their ability to operate. In order to account for this and the other design specifications detailed in table 2.1, hardware was found that had the ability to accurately measure in the conditions it would be implemented in. In addition to sensors, it was known that some sort of micro processing board would have to be used to process the data in real time onto a micro SD card at each sampling time. In turn a micro SD card and SD card shield would be implemented with the microcontroller for the actual data storage.&nbsp;<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Hardware<\/span><\/h2>\n<p><span style=\"font-weight: 400; font-size: 12px;\">The first piece of hardware chosen was the Arduino Nicla Sense ME. This board satisfies the needs for both the sensor and the microcontroller. It has the capability to measure all desired information as well as be programmed using the Arduino IDE to store the data onto a SD card. The board is shown below.<\/span><\/p>\n<p><span style=\"font-size: 12px;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-49 aligncenter\" src=\"http:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-content\/uploads\/sites\/199\/2022\/03\/Screen-Shot-2022-03-29-at-11.33.21-PM.png\" alt=\"\" width=\"264\" height=\"269\"><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 12px;\"><b>Arduino Nicla Sense ME<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400; font-size: 12px;\">It is designed for various sensing capabilities and specifically contains the Bosch BME688 environmental sensor. This sensor is able to accurately measure atmospheric pressure, humidity, temperature, and air quality. In addition to combining multiple components into one, this arduino is also ideal for our HAB application due to its extraordinarily small size and weight. At only 23&#215;23 mm and 2 grams it will be easily implemented onto the payload of the balloon.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-size: 12px;\">The Arduino IDE allows the user to program the on chip microcontroller to sample the state of each sensor and a user defines rate, and also to store this data onto a SD card via a SD card shield shown below.<\/span><\/p>\n<p><span style=\"font-size: 12px;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-48 aligncenter\" src=\"http:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-content\/uploads\/sites\/199\/2022\/03\/Screen-Shot-2022-03-29-at-11.33.09-PM.png\" alt=\"\" width=\"291\" height=\"249\"><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 12px;\"><b>Micro SD Card Memory Shield<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400; font-size: 12px;\">The shield has a voltage regulator and a level shifter to ensure that a safe voltage of 3.3 V is applied through the board so as to not damage the SD card. When the payload is retrieved all the flight data will be contained on the card saved as a text file. Text data requires a very small amount of memory for storage, but due to the inexpensiveness of SD cards a 32 MB card was chosen anyway.<\/span><\/p>\n<h2><span style=\"font-weight: 400; font-size: 24px;\">Implementation<\/span><\/h2>\n<p><span style=\"font-weight: 400; font-size: 12px;\">Once programmed using the code in appendix section C.1, the board was powered using a battery pack and wired to the SD card shield as shown below.<\/span><\/p>\n<p><span style=\"font-size: 12px;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-47 aligncenter\" src=\"http:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-content\/uploads\/sites\/199\/2022\/03\/Screen-Shot-2022-03-29-at-11.32.57-PM-300x271.png\" alt=\"\" width=\"300\" height=\"271\" srcset=\"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-content\/uploads\/sites\/199\/2022\/03\/Screen-Shot-2022-03-29-at-11.32.57-PM-300x271.png 300w, https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-content\/uploads\/sites\/199\/2022\/03\/Screen-Shot-2022-03-29-at-11.32.57-PM.png 352w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 12px;\"><b>Wired Setup of Sensor System<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400; font-size: 12px;\">When wired together the Arduino collects live sampled temperature, atmospheric pressure, and humidity levels at a rate of 1 sample\/second. This data is then stored on the SD card as previously described for later analysis. Upon payload retrieval, data vs altitude graphs will be made in order to meaningfully display the collected measurements.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The main purpose of the sensor portion of the payload is to collect meaningful data that can be stored for later analysis. Atmospheric pressure, temperature, and humidity were initially chosen as the desired measurables. When observing the environment at altitudes as high as our target of 60,000 ft, the conditions can become rough and &hellip; <a href=\"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/systems\/sensor-system\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sensor System<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":390,"featured_media":0,"parent":2,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-46","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-json\/wp\/v2\/pages\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-json\/wp\/v2\/users\/390"}],"replies":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":0,"href":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-json\/wp\/v2\/pages\/46\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-json\/wp\/v2\/pages\/2"}],"wp:attachment":[{"href":"https:\/\/engprojects.tcnj.edu\/highaltitudeballoon\/wp-json\/wp\/v2\/media?parent=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}