{"id":4159,"date":"2024-10-04T08:47:12","date_gmt":"2024-10-04T15:47:12","guid":{"rendered":"https:\/\/www.donluc.com\/?p=4159"},"modified":"2024-10-04T08:47:12","modified_gmt":"2024-10-04T15:47:12","slug":"project-30-unihiker-mems-mk07","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=4159","title":{"rendered":"Project #30 &#8211; UNIHIKER &#8211; MEMS &#8211; Mk07"},"content":{"rendered":"<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-4159-1\" width=\"720\" height=\"480\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01W.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01W.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01W.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#DonLucElectronics #DonLuc #UNIHIKER #CH4 #VOC #Display #IoT #Project #Debian #Python #Thonny #DFRobot #Fritzing #Programming #Electronics #Microcontrollers #Consultant<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01a.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01a.jpg\" alt=\"MEMS\" width=\"720\" height=\"618\" class=\"alignnone size-full wp-image-4161\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01a.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01a-300x258.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\/2024\/10\/DL2410Mk01b.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01b.jpg\" alt=\"MEMS\" width=\"720\" height=\"540\" class=\"alignnone size-full wp-image-4162\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01b.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01b-300x225.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\/2024\/10\/DL2410Mk01c.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01c.jpg\" alt=\"MEMS\" width=\"720\" height=\"540\" class=\"alignnone size-full wp-image-4163\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01c.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/10\/DL2410Mk01c-300x225.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>MEMS<\/strong><\/p>\n<p>MEMS (Micro-Electromechanical Systems) is the technology of microscopic devices incorporating both electronic and moving parts. MEMS are made up of components between 1 and 100 micrometres in size, and MEMS devices generally range in size from 20 micrometres to a millimetre, although components arranged in arrayscan be more than 1000 mm2. They usually consist of a central unit that processes data, an integrated circuit chip such as microprocessor, and several components that interact with the surroundings, such as microsensors.<\/p>\n<p><strong>DL2410Mk01<\/strong><\/p>\n<p>1 x UNIHIKER<br \/>\n1 x Fermion: MEMS VOC Gas Detection Sensor<br \/>\n1 x Fermion: MEMS Methane CH4 Gas Detection Sensor<br \/>\n1 x USB Battery Pack<br \/>\n1 x USB 3.1 Cable A to C<\/p>\n<p><strong>UNIHIKER<\/strong><\/p>\n<p>ADC1 &#8211; 21<br \/>\nADC2 &#8211; 22<br \/>\nVIN &#8211; +5V<br \/>\nGND &#8211; GND<\/p>\n<p><strong>DL2410Mk01p<\/strong><\/p>\n<p><strong>DL2410Mk01p.py<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-title=\"\">\r\n****** Don Luc Electronics \u00a9 ******\r\nSoftware Version Information\r\nProject #30 - UNIHIKER - MEMS - Mk07\r\n30-07\r\nDL2410Mk01.py\r\nDL2410Mk01\r\n1 x UNIHIKER\r\n1 x Fermion: MEMS VOC Gas Detection Sensor\r\n1 x Fermion: MEMS Methane CH4 Gas Detection Sensor\r\n1 x USB Battery Pack\r\n1 x USB 3.1 Cable A to C\r\n\r\n-*- coding: utf-8 -*-\r\n&quot;&quot;&quot;\r\n# Import the unihiker library\r\nfrom unihiker import GUI\r\n\r\n# Import the time library\r\nimport time\r\n\r\n# Import the Board module from the pinpong.board package \r\nfrom pinpong.board import Board\r\n\r\n# Import all modules from the pinpong.extension.unihiker package\r\nfrom pinpong.extension.unihiker import *\r\n\r\n# Initialize the board by selecting the board type and port number;\r\n# if not specified, the program will automatically detect it\r\nBoard().begin()\r\n\r\n# Initialize pin 21 as analog input mode\r\n# Fermion: MEMS Methane CH4 Gas Detection Sensor\r\nadc0 = Pin(Pin.P21, Pin.ANALOG)\r\n\r\n# Initialize pin 22 as analog input mode\r\n# Fermion: MEMS VOC Gas Detection Sensor\r\nadc1 = Pin(Pin.P22, Pin.ANALOG)\r\n\r\n# Instantiate the GUI class and create a gui object\r\ngui = GUI()\r\n\r\n# Display the initial background image &#039;DL2410Mk01p&#039;\r\nimg = gui.draw_image(x=0, y=0, w=240, h=320, image=&#039;DL2410Mk01p.png&#039;)\r\n\r\n# Fermion: MEMS Methane CH4 Gas Detection Sensor\r\n# Display the initial Fermion: MEMS Methane CH4 Gas Detection Sensor valueCH4\r\nvalueCH4 = gui.draw_text(x=30, y=151, text=&#039;0&#039;, font_size=18)\r\n\r\n# MEMS VOC\r\n# Display the initial Fermion: MEMS VOC Gas Detection Sensor valueVOC\r\nvalueVOC = gui.draw_text(x=30, y=221, text=&#039;0&#039;, font_size=18)\r\n\r\nwhile True:\r\n\r\n    # Fermion: MEMS Methane CH4 Gas Detection Sensor\r\n    # Read analog value\r\n    CH4Sensor = adc0.read_analog()\r\n    valueCH4.config(text=CH4Sensor)\r\n    \r\n    # Fermion: MEMS VOC Gas Detection Sensor\r\n    # Read analog value\r\n    VOCSensor = adc1.read_analog()\r\n    valueVOC.config(text=VOCSensor)\r\n    \r\n    # Delay for 1 second to keep the screen content displayed for a longer time\r\n    time.sleep(1)\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>Electronics, IoT, Teacher, Instructor, R&#038;D and Consulting<\/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 and Underwater Vehicle<\/li>\n<li>Unmanned Vehicles Terrestrial and Marine<\/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; 2024<\/strong><br \/>\nhttps:\/\/www.donluc.com\/luc\/<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.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>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<br \/>\n<strong>Instagram:<\/strong> https:\/\/www.instagram.com\/neosteamlabs\/<br \/>\n<strong>DFRobot Luc.Paquin:<\/strong> https:\/\/edu.dfrobot.com\/dashboard\/makelogs<br \/>\n<strong>Hackster.io:<\/strong> https:\/\/www.hackster.io\/neosteam-labs<br \/>\n<strong>ELECROW:<\/strong> https:\/\/www.elecrow.com\/share\/sharepj\/center\/no\/760816d385ebb1edc0732fd873bfbf13<br \/>\n<strong>TikTok:<\/strong> www.tiktok.com\/@luc.paquin8<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 #UNIHIKER #CH4 #VOC #Display #IoT #Project #Debian #Python #Thonny #DFRobot #Fritzing #Programming #Electronics #Microcontrollers #Consultant &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; MEMS MEMS (Micro-Electromechanical Systems) is the technology of microscopic devices incorporating both electronic and moving parts. MEMS are made up of components between 1 and 100 micrometres in size, and MEMS devices generally &#8230; <a title=\"Project #30 &#8211; UNIHIKER &#8211; MEMS &#8211; Mk07\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=4159\" aria-label=\"Read more about Project #30 &#8211; UNIHIKER &#8211; MEMS &#8211; Mk07\">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":[346,49,353,317,38,59,115,5,347,287,10,348],"tags":[92,102,4,354,320,87,19,85,324,365,351,349,24,9,27,357,358,350,34,108],"class_list":["post-4159","post","type-post","status-publish","format-standard","hentry","category-uunihiker","category-consultant","category-debian","category-dfrobot","category-digitalelectronics","category-fritzing","category-e-mentor","category-microcontrollers","category-thonny","category-program","category-projects","category-unihiker","tag-battery","tag-components","tag-consultant","tag-debian","tag-dfrobot","tag-display","tag-electronics","tag-fritzing","tag-iot","tag-mems","tag-mems-ch4","tag-mems-voc","tag-microcontroller","tag-programming","tag-projects-2","tag-python","tag-thonny","tag-unihiker","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4159","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=4159"}],"version-history":[{"count":3,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4159\/revisions"}],"predecessor-version":[{"id":4368,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4159\/revisions\/4368"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}