{"id":4674,"date":"2026-01-21T09:29:49","date_gmt":"2026-01-21T17:29:49","guid":{"rendered":"https:\/\/www.donluc.com\/?p=4674"},"modified":"2026-01-21T09:29:49","modified_gmt":"2026-01-21T17:29:49","slug":"project-28-sensors-barometer-mk25","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=4674","title":{"rendered":"Project #28 \u2013 Sensors \u2013  Barometer \u2013 Mk25"},"content":{"rendered":"<div style=\"width: 1200px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-4674-1\" width=\"1200\" height=\"675\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03W.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03W.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03W.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#DonLucElectronics #DonLuc #Barometer #SparkFunESP32WROOM  #ESP32 #Display #IoT #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03a.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03a.jpg\" alt=\"Barometer\" width=\"720\" height=\"688\" class=\"alignnone size-full wp-image-4676\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03a.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03a-300x287.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03b.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03b.jpg\" alt=\"Barometer\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4677\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03b.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03b-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03c.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03c.jpg\" alt=\"Barometer\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4678\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03c.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2026\/01\/DL2601Mk03c-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>Crowtail &#8211; BMP180 Barometer<\/strong><\/p>\n<p>The BMP180 offers a pressure measuring range of 300 to 1100 hPa with an accuracy down to 0.02 hPa in advanced resolution mode. It\u2019s based on piezo-resistive technology for high accuracy, ruggedness and long term stability. These come factory-calibrated, with the calibration coefficients already stored in ROM. <\/p>\n<p><strong>DL2601Mk03<\/strong><\/p>\n<p>1 x SparkFun Thing Plus &#8211; ESP32 WROOM<br \/>\n1 x Adafruit SHARP Memory Display<br \/>\n1 x Crowtail &#8211; BMP180 Barometer<br \/>\n1 x Terminal Block Breakout FeatherWing<br \/>\n1 x Lithium Ion Battery &#8211; 1000mAh<br \/>\n1 x Micro USB Cable<\/p>\n<p><strong>DL2601Mk03p<\/strong><\/p>\n<p><strong>DL2601Mk03p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/****** Don Luc Electronics \u00a9 ******\r\nSoftware Version Information\r\nProject #28 \u2013 Sensors \u2013 Barometer \u2013 Mk25\r\n28-25\r\nDL2601Mk03p.ino\r\nDL2601Mk03\r\n1 x SparkFun Thing Plus - ESP32 WROOM\r\n1 x Adafruit SHARP Memory Display\r\n1 x Crowtail - BMP180 Barometer\r\n1 x Terminal Block Breakout FeatherWing\r\n1 x Lithium Ion Battery - 1000mAh\r\n1 x Micro USB Cable\r\n*\/\r\n\r\n\/\/ Include the Library Code\r\n\/\/ EEPROM Library to Read and Write EEPROM with Unique ID for Unit\r\n#include &quot;EEPROM.h&quot;\r\n\/\/ Wire\r\n#include &lt;Wire.h&gt;\r\n\/\/ SHARP Memory Display\r\n#include &lt;Adafruit_SharpMem.h&gt;\r\n#include &lt;Adafruit_GFX.h&gt;\r\n\/\/ BMP180 Barometer\r\n#include &lt;SFE_BMP180.h&gt;\r\n\r\n\/\/ BMP180 Barometer\r\nSFE_BMP180 pressure;\r\n\/\/ Altitude 8.23\r\n#define ALTITUDE 8.23\r\n\/\/ Status\r\nchar status;\r\n\/\/ Temperature\r\ndouble dTemp;\r\nString sT;\r\n\/\/ Pressure\r\ndouble dPre;\r\nString sP;\r\n\/\/ Sea Level ALTITUDE\r\ndouble dP0;\r\nString sP0;\r\n\/\/ ALTITUDE\r\ndouble dAlt;\r\nString sA;\r\n\r\n\/\/ SHARP Memory Display\r\n#define SHARP_SCK  13\r\n#define SHARP_MOSI 12\r\n#define SHARP_SS   27\r\n\/\/ Set the size of the display here, e.g. 144x168!\r\nAdafruit_SharpMem display(SHARP_SCK, SHARP_MOSI, SHARP_SS, 144, 168);\r\n\/\/ The currently-available SHARP Memory Display (144x168 pixels)\r\n\/\/ requires &gt; 4K of microcontroller RAM; it WILL NOT WORK on Arduino Uno\r\n\/\/ or other &lt;4K &quot;classic&quot; devices.\r\n#define BLACK 0\r\n#define WHITE 1\r\n\r\n\/\/ Software Version Information\r\n\/\/ EEPROM Unique ID Information\r\n#define EEPROM_SIZE 64\r\nString uid = &quot;&quot;;\r\n\r\n\/\/ Software Version Information\r\nString sver = &quot;28-25&quot;;\r\n\r\nvoid loop() {\r\n  \r\n  \/\/ Barometer Sensor\r\n  isBarometer();\r\n\r\n  \/\/ isDisplay Barometer\r\n  isDisplayBarometer();\r\n\r\n  \/\/ Delay 1 Second\r\n  delay( 1000 );\r\n\r\n}\r\n<\/pre>\n<p><strong>getBarometer.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Barometer Sensor\r\n\/\/ is Barometer\r\nvoid isBarometer(){\r\n\r\n  \/\/ Temperature \r\n  status = pressure.getTemperature( dTemp );\r\n\r\n  \r\n     if (status != 0) {\r\n  \r\n       status = pressure.getPressure( dPre, dTemp );\r\n       \r\n       if (status != 0) {\r\n\r\n         \/\/ Temperature \r\n         sT = dTemp;\r\n      \r\n         \/\/ Pressure\r\n         sP = dPre;\r\n\r\n         \/\/ Sea Level ALTITUDE\r\n         sP0 = pressure.sealevel( dPre, ALTITUDE );\r\n\r\n         sA = ALTITUDE;\r\n\r\n       }\r\n\r\n     }\r\n\r\n}\r\n<\/pre>\n<p><strong>getDisplay.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ SHARP Memory Display\r\n\/\/ SHARP Memory Display - UID\r\nvoid isDisplayUID() {\r\n\r\n    \/\/ Text Display \r\n    \/\/ Clear Display\r\n    display.clearDisplay();\r\n    display.setRotation(4);\r\n    display.setTextSize(3);\r\n    display.setTextColor(BLACK);\r\n    \/\/ Don Luc Electronics\r\n    display.setCursor(0,10);\r\n    display.println( &quot;Don Luc&quot; );\r\n    display.setTextSize(2);\r\n    display.setCursor(0,40);\r\n    display.println( &quot;Electronics&quot; );\r\n    \/\/ Version\r\n    \/\/display.setTextSize(3);\r\n    display.setCursor(0,70);\r\n    display.println( &quot;Version&quot; );\r\n    \/\/display.setTextSize(2);\r\n    display.setCursor(0,95);   \r\n    display.println( sver );\r\n    \/\/ EEPROM\r\n    display.setCursor(0,120);\r\n    display.println( &quot;EEPROM&quot; );\r\n    display.setCursor(0,140);   \r\n    display.println( uid );\r\n    \/\/ Refresh\r\n    display.refresh();\r\n    delay( 100 );\r\n    \r\n}\r\n\/\/ Display Barometer\r\nvoid isDisplayBarometer() {\r\n\r\n    \/\/ Text Display Barometer\r\n    \/\/ Clear Display\r\n    display.clearDisplay();\r\n    display.setRotation(4);\r\n    display.setTextSize(2);\r\n    display.setTextColor(BLACK);\r\n    \/\/ Barometer Sensor\r\n    display.setCursor(0,5);\r\n    display.println( &quot;Barometer&quot; );\r\n    display.setCursor(0,35);\r\n    \/\/ Temperature \r\n    display.print( &quot;Temp: &quot; );\r\n    display.setCursor(60,35);\r\n    display.print( sT );\r\n    display.setCursor(120,35);\r\n    display.println( &quot;C&quot; );\r\n    \/\/ Pressure\r\n    display.setCursor(0,65);\r\n    display.print( &quot;Baro: &quot; );\r\n    display.setCursor(60,65);\r\n    display.println( sP );\r\n    \/\/ Sea Level ALTITUDE\r\n    display.setCursor(0,95);\r\n    display.print( &quot;BaSe: &quot; );\r\n    display.setCursor(60,95);\r\n    display.println( sP0 );\r\n    \/\/ ALTITUDE\r\n    display.setCursor(0,125);\r\n    display.print( &quot;Alt: &quot; );\r\n    display.setCursor(60,125);\r\n    display.print( sA );\r\n    display.setCursor(120,125);\r\n    display.println( &quot;M&quot; );\r\n    \/\/ Refresh\r\n    display.refresh();\r\n    delay( 100 );\r\n\r\n}\r\n<\/pre>\n<p><strong>getEEPROM.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ isUID EEPROM Unique ID\r\nvoid isUID()\r\n{\r\n  \r\n  \/\/ Is Unit ID\r\n  uid = &quot;&quot;;\r\n  for (int x = 0; x &lt; 7; x++)\r\n  {\r\n    uid = uid + char(EEPROM.read(x));\r\n  }\r\n  \r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Setup\r\nvoid setup()\r\n{\r\n \r\n  \/\/ Delay\r\n  delay( 100 );\r\n\r\n   \/\/ EEPROM Size\r\n  EEPROM.begin(EEPROM_SIZE);\r\n  \r\n  \/\/ EEPROM Unique ID\r\n  isUID();\r\n\r\n  \/\/ Delay\r\n  delay( 100 );\r\n\r\n  \/\/ SHARP Display Start &amp; Clear the Display\r\n  display.begin();\r\n  \/\/ Clear Display\r\n  display.clearDisplay();\r\n\r\n  \/\/ Delay\r\n  delay( 100 );\r\n  \r\n  \/\/ Initialize the sensor (it is important to get calibration values\r\n  \/\/ stored on the device).\r\n  pressure.begin();\r\n\r\n  \/\/ Delay\r\n  delay( 2000 );\r\n\r\n  \/\/ Temperature\r\n  pressure.startTemperature();\r\n\r\n  \/\/ Pressure\r\n  pressure.startPressure(3);\r\n\r\n  \/\/ Delay\r\n  delay( 100 );\r\n\r\n  \/\/ Display UID\r\n  \/\/ Don Luc\r\n  \/\/ Electronic\r\n  \/\/ Version\r\n  \/\/ EEPROM\r\n  isDisplayUID();\r\n\r\n  \/\/ Delay 5 Second\r\n  delay( 5000 );\r\n\r\n}\r\n<\/pre>\n<p>&#8212;&#8212;<\/p>\n<p><strong>People can contact us:<\/strong> https:\/\/www.donluc.com\/?page_id=1927<\/p>\n<p><strong>Consultant, R&#038;D, Electronics, IoT, Teacher and Instructor<\/strong><\/p>\n<ul>\n<li>Programming Language<\/li>\n<li>Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc&#8230;)<\/li>\n<li>IoT<\/li>\n<li>Wireless (Radio Frequency, Bluetooth, WiFi, Etc&#8230;)<\/li>\n<li>Robotics<\/li>\n<li>Automation<\/li>\n<li>Camera and Video Capture Receiver Stationary, Wheel\/Tank , Underwater and UAV Vehicle<\/li>\n<li>Unmanned Vehicles Terrestrial,  Marine and UAV<\/li>\n<li>Machine Learning<\/li>\n<li>Artificial Intelligence (AI)<\/li>\n<li>RTOS<\/li>\n<li>Sensors, eHealth Sensors, Biosensor, and Biometric<\/li>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Consulting<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>Luc Paquin \u2013 Curriculum Vitae &#8211; 2026<\/strong><br \/>\nhttps:\/\/www.donluc.com\/luc\/LucPaquinCVEng2026Mk01.pdf<br \/>\nhttps:\/\/www.donluc.com\/luc\/<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.jlpconsultants.com\/<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/@thesass2063<br \/>\n<strong>DFRobot:<\/strong> https:\/\/learn.dfrobot.com\/user-10186.html<br \/>\n<strong>Elecrow:<\/strong> https:\/\/www.elecrow.com\/share\/sharepj\/center\/no\/760816d385ebb1edc0732fd873bfbf13<br \/>\n<strong>TikTok:<\/strong> https:\/\/www.tiktok.com\/@luc.paquin8<br \/>\n<strong>Hackster:<\/strong> https:\/\/www.hackster.io\/luc-paquin<br \/>\n<strong>LinkedIn:<\/strong> https:\/\/www.linkedin.com\/in\/jlucpaquin\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #DonLucElectronics #DonLuc #Barometer #SparkFunESP32WROOM #ESP32 #Display #IoT #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; Crowtail &#8211; BMP180 Barometer The BMP180 offers a pressure measuring range of 300 to 1100 hPa with an accuracy down to 0.02 hPa in advanced resolution mode. It\u2019s based on piezo-resistive technology for high accuracy, ruggedness and &#8230; <a title=\"Project #28 \u2013 Sensors \u2013  Barometer \u2013 Mk25\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=4674\" aria-label=\"Read more about Project #28 \u2013 Sensors \u2013  Barometer \u2013 Mk25\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[294,47,50,49,38,368,80,59,115,5,287,58,82,10,43],"tags":[86,6,254,92,102,4,87,369,19,83,85,24,9,84,27,248,109,33,34,108],"class_list":["post-4674","post","type-post","status-publish","format-standard","hentry","category-sensors","category-adafruit","category-arduino","category-consultant","category-digitalelectronics","category-elecrow","category-esp32","category-fritzing","category-e-mentor","category-microcontrollers","category-program","category-arduino-programming","category-program-esp32","category-projects","category-sparkfun","tag-adafruit","tag-arduino","tag-barometer","tag-battery","tag-components","tag-consultant","tag-display","tag-elecrow","tag-electronics","tag-esp32","tag-fritzing","tag-microcontroller","tag-programming","tag-programming-esp32","tag-projects-2","tag-sensors","tag-sparkfun","tag-technology","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4674"}],"version-history":[{"count":1,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4674\/revisions"}],"predecessor-version":[{"id":4679,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4674\/revisions\/4679"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}