{"id":1308,"date":"2022-06-09T04:50:04","date_gmt":"2022-06-09T04:50:04","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=1308"},"modified":"2022-06-09T04:50:04","modified_gmt":"2022-06-09T04:50:04","slug":"bmp180-digital-pressure-sensor-with-aries-v2-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/bmp180-digital-pressure-sensor-with-aries-v2-board\/","title":{"rendered":"BMP180 Digital Pressure Sensor with ARIES V2 BOARD"},"content":{"rendered":"\n<p>In this tutorial, we will see how we can interface BMP180 Digital Pressure Sensor with ARIES V2 board using <strong>I2C interface<\/strong>. The sensor is a low-cost sensor used for <strong>measuring barometric pressure and temperature<\/strong>. The ultra-low power, low voltage electronics of the BMP180 is used in applications like mobile phones, PDAs, GPS navigation devices and outdoor equipment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">BMP180<\/h2>\n\n\n\n<p>BMP180 is a high precision sensor designed for consumer applications. It is designed to measure <strong>Barometric Pressure <\/strong>or Atmospheric pressure. Barometric pressure is the measurement of air pressure in the atmosphere, specifically the measurement of the weight exerted by air molecules at a given point on Earth. <strong>BMP180 sensor<\/strong> senses the pressure and provides that information in digital output. Since temperature affects the pressure measurements, every pressure reading needs to be  temperature compensated. To compensate, the BM180 also has high precision temperature sensor.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/Screenshot-from-2022-06-07-11-04-39.png\" alt=\"\" class=\"wp-image-1390\" width=\"246\" height=\"170\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/Screenshot-from-2022-06-07-11-04-39.png 371w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/Screenshot-from-2022-06-07-11-04-39-300x207.png 300w\" sizes=\"auto, (max-width: 246px) 100vw, 246px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram<\/h2>\n\n\n\n<p>BMP180 is a 4-pin module. Connect SDA and SCL pins of BMP180 module to SDA1 and SCL1 pin of ARIES V2 board. Then connect VIN and GND of the BMP180 module to +3.3V and GND respectively of ARIES v2 board. (Refer <a href=\"https:\/\/components101.com\/sites\/default\/files\/component_datasheet\/BMP180%20Sensor%20Datasheet.pdf\">BMP180 datasheet<\/a>).<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>BMP180<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\"><strong>ARIES v2 Board<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">VIN<\/td><td class=\"has-text-align-center\" data-align=\"center\">+3.3V<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">GND<\/td><td class=\"has-text-align-center\" data-align=\"center\">GND<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">SCL<\/td><td class=\"has-text-align-center\" data-align=\"center\">SCL1<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">SDA<\/td><td class=\"has-text-align-center\" data-align=\"center\">SDA1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"533\" height=\"340\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/BMP180.png\" alt=\"\" class=\"wp-image-1338\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/BMP180.png 533w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/BMP180-300x191.png 300w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/figure>\n<\/div>\n\n\n<p>Now, for powering up the ARIES v2 board via USB port of a Laptop\/Desktop\/PC and burning the code into the ARIES v2 board, we have to use a micro USB type B to USB type A cable. The cable should be connected to <strong>UART0<\/strong> port of the ARIES v2 board, and the Laptop\/Desktop\/PC should be preinstalled with VEGA SDK and Toolchain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<p>After setting up the toolchain and SDK path environments, clean the executable using <strong>make clean<\/strong> command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd examples\/i2c\/bmp180_sensor_demo<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>make clean<\/code><\/pre>\n\n\n\n<p>Build the example program for BMP180 sensor by using <strong>make<\/strong> command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>make <\/code><\/pre>\n\n\n\n<p>Before transfering the built program to board, ensure that you have connected the UART0 connector of the board to the PC.<\/p>\n\n\n\n<p>Open a new terminal, execute the following command <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo minicom aries<\/code><\/pre>\n\n\n\n<p>Now you can see the minicom terminal opened and the board UART terminal is ready.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"689\" data-id=\"593\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-5.png\" alt=\"\" class=\"wp-image-593\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-5.png 820w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-5-300x252.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/05\/minicom-5-768x645.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>Use <strong>CTRL+A S<\/strong> to enter file sending menu and select <strong>xmodem<\/strong> by pressing <strong>Enter<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"143\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-30-16-14-03.png\" alt=\"\" class=\"wp-image-230\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-30-16-14-03.png 615w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-30-16-14-03-300x70.png 300w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/figure>\n\n\n\n<p>In the next window, with <strong>Space bar<\/strong> select the <strong>bmp180_sensor_demo.bin<\/strong> file to be transferred. By pressing <strong>Enter<\/strong>, transfer process starts.<\/p>\n\n\n\n<p>Wait until the process is completed. The screen should display how much data has been transferred.<\/p>\n\n\n\n<p>After completing transfer,  Program will start to execute.<\/p>\n\n\n\n<p>The current temperature and atmospheric pressure will be displayed in minicom UART terminal:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"595\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/output_BMP180.png\" alt=\"\" class=\"wp-image-1340\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/output_BMP180.png 904w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/output_BMP180-300x197.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/output_BMP180-768x505.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will see how we can interface BMP180 Digital Pressure Sensor with ARIES V2 board using I2C interface. The sensor is a low-cost sensor used for measuring barometric pressure and temperature. The ultra-low power, low voltage electronics of the BMP180 is used in applications like mobile phones, PDAs, GPS navigation devices and [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,14,1],"tags":[75,83,76,66,84,26,31,24],"class_list":["post-1308","post","type-post","status-publish","format-standard","hentry","category-getting-started","category-tutorials","category-uncategorized","tag-aries-v2-board","tag-bmp180","tag-c-dac","tag-iic","tag-pressure-sensor","tag-thejas-64","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=1308"}],"version-history":[{"count":7,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1308\/revisions"}],"predecessor-version":[{"id":1410,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1308\/revisions\/1410"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=1308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=1308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=1308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}