Project #30 – UNIHIKER – MEMS – Mk07
——
#DonLucElectronics #DonLuc #UNIHIKER #CH4 #VOC #Display #IoT #Project #Debian #Python #Thonny #DFRobot #Fritzing #Programming #Electronics #Microcontrollers #Consultant
——
——
——
——
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 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.
DL2410Mk01
1 x UNIHIKER
1 x Fermion: MEMS VOC Gas Detection Sensor
1 x Fermion: MEMS Methane CH4 Gas Detection Sensor
1 x USB Battery Pack
1 x USB 3.1 Cable A to C
UNIHIKER
ADC1 – 21
ADC2 – 22
VIN – +5V
GND – GND
DL2410Mk01p
DL2410Mk01p.py
****** Don Luc Electronics © ****** Software Version Information Project #30 - UNIHIKER - MEMS - Mk07 30-07 DL2410Mk01.py DL2410Mk01 1 x UNIHIKER 1 x Fermion: MEMS VOC Gas Detection Sensor 1 x Fermion: MEMS Methane CH4 Gas Detection Sensor 1 x USB Battery Pack 1 x USB 3.1 Cable A to C -*- coding: utf-8 -*- """ # Import the unihiker library from unihiker import GUI # Import the time library import time # Import the Board module from the pinpong.board package from pinpong.board import Board # Import all modules from the pinpong.extension.unihiker package from pinpong.extension.unihiker import * # Initialize the board by selecting the board type and port number; # if not specified, the program will automatically detect it Board().begin() # Initialize pin 21 as analog input mode # Fermion: MEMS Methane CH4 Gas Detection Sensor adc0 = Pin(Pin.P21, Pin.ANALOG) # Initialize pin 22 as analog input mode # Fermion: MEMS VOC Gas Detection Sensor adc1 = Pin(Pin.P22, Pin.ANALOG) # Instantiate the GUI class and create a gui object gui = GUI() # Display the initial background image 'DL2410Mk01p' img = gui.draw_image(x=0, y=0, w=240, h=320, image='DL2410Mk01p.png') # Fermion: MEMS Methane CH4 Gas Detection Sensor # Display the initial Fermion: MEMS Methane CH4 Gas Detection Sensor valueCH4 valueCH4 = gui.draw_text(x=30, y=151, text='0', font_size=18) # MEMS VOC # Display the initial Fermion: MEMS VOC Gas Detection Sensor valueVOC valueVOC = gui.draw_text(x=30, y=221, text='0', font_size=18) while True: # Fermion: MEMS Methane CH4 Gas Detection Sensor # Read analog value CH4Sensor = adc0.read_analog() valueCH4.config(text=CH4Sensor) # Fermion: MEMS VOC Gas Detection Sensor # Read analog value VOCSensor = adc1.read_analog() valueVOC.config(text=VOCSensor) # Delay for 1 second to keep the screen content displayed for a longer time time.sleep(1)
——
People can contact us: https://www.donluc.com/?page_id=1927
Electronics, IoT, Teacher, Instructor, R&D and Consulting
- Programming Language
- Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc…)
- IoT
- Wireless (Radio Frequency, Bluetooth, WiFi, Etc…)
- Robotics
- Automation
- Camera and Video Capture Receiver Stationary, Wheel/Tank and Underwater Vehicle
- Unmanned Vehicles Terrestrial and Marine
- Machine Learning
- Artificial Intelligence (AI)
- RTOS
- Sensors, eHealth Sensors, Biosensor, and Biometric
- Research & Development (R & D)
- Consulting
Follow Us
Luc Paquin – Curriculum Vitae – 2024
https://www.donluc.com/luc/
Web: https://www.donluc.com/
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/@thesass2063
Twitter: https://twitter.com/labs_steam
Pinterest: https://www.pinterest.com/NeoSteamLabs/
Instagram: https://www.instagram.com/neosteamlabs/
DFRobot Luc.Paquin: https://edu.dfrobot.com/dashboard/makelogs
Hackster.io: https://www.hackster.io/neosteam-labs
ELECROW: https://www.elecrow.com/share/sharepj/center/no/760816d385ebb1edc0732fd873bfbf13
TikTok: www.tiktok.com/@luc.paquin8
LinkedIn: https://www.linkedin.com/in/jlucpaquin/
Don Luc
Leave a Reply