UNIHIKER
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
Project #30 – UNIHIKER – MEMS CH4 – Mk06
——
#DonLucElectronics #DonLuc #UNIHIKER #CH4 #Display #IoT #Project #Debian #Python #Thonny #DFRobot #Fritzing #Programming #Electronics #Microcontrollers #Consultant
——
——
——
——
Fermion: MEMS Methane CH4 Gas Detection Sensor
Fermion: MEMS Methane CH4 Gas Detection Sensor employs state-of-the-art micro-electromechanical system (MEMS) technology, endowing the sensor with compact dimensions, low power consumption, minimal heat generation, short preheating time, and swift response recovery. The sensor can qualitatively measure methane gas concentration and is suitable for combustible gas leakage monitoring devices, gas leak detectors, fire/safety detection systems and other applications. Detection range: 1-10000 ppm. It is advisable to preheat the module for at least 24 hours.
DL2409Mk07
1 x UNIHIKER
1 x Fermion: MEMS Methane CH4 Gas Detection Sensor
1 x USB Battery Pack
1 x USB 3.1 Cable A to C
UNIHIKER
ADC – 21
VIN – +5V
GND – GND
DL2409Mk07p
DL2409Mk07p.py
""" ****** Don Luc Electronics © ****** Software Version Information Project #30 - UNIHIKER - Fermion: MEMS CH4 - Mk06 30-06 DL2409Mk07.py DL2409Mk07 1 x UNIHIKER 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) # Instantiate the GUI class and create a gui object gui = GUI() # Display the initial background image 'DL2409Mk07p' img = gui.draw_image(x=0, y=0, w=240, h=320, image='DL2409Mk07p.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) while True: # Fermion: MEMS Methane CH4 Gas Detection Sensor # Read analog value CH4Sensor = adc0.read_analog() valueCH4.config(text=CH4Sensor) # 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
Project #30 – UNIHIKER – MEMS VOC – Mk05
——
#DonLucElectronics #DonLuc #UNIHIKER #VOC #Display #IoT #Project #Debian #Python #Thonny #DFRobot #Fritzing #Programming #Electronics #Microcontrollers #Consultant
——
——
——
——
Fermion: MEMS Volatile Organic Compounds VOC Gas Detection Sensor
Fermion: MEMS Volatile Organic Compounds VOC Gas Sensor employs state-of-the-art microelectromechanical system (MEMS) technology, endowing the sensor with compact dimensions, low power consumption, minimal heat generation, short preheating time, and swift response recovery. The sensor can qualitatively measure VOC gas concentration and is suitable for indoor air quality detection, fresh air system, air purifier and other application scenarios. Kindly remove the protective film before usage. Gas detected: ethanol, formaldehyde, toluene, etc. Detection range: 1-500 ppm. It is advisable to preheat the module for at least 24 hours.
DL2409Mk05
1 x UNIHIKER
1 x Fermion: MEMS VOC Gas Detection Sensor
1 x USB Battery Pack
1 x USB 3.1 Cable A to C
UNIHIKER
ADC – 21
VIN – +5V
GND – GND
DL2409Mk05p
DL2409Mk05p.py
""" ****** Don Luc Electronics © ****** Software Version Information Project #30 - UNIHIKER - Fermion: MEMS VOC - Mk05 30-05 DL2409Mk05.py DL2409Mk05 1 x UNIHIKER 1 x Fermion: MEMS VOC 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 VOC Gas Detection Sensor adc0 = Pin(Pin.P21, Pin.ANALOG) # Instantiate the GUI class and create a gui object gui = GUI() # Display the initial background image 'DL2409Mk05p' img = gui.draw_image(x=0, y=0, w=240, h=320, image='DL2409Mk05p.png') # MEMS VOC # Display the initial Fermion: MEMS VOC Gas Detection Sensor valueVOC valueVOC = gui.draw_text(x=30, y=151, text='0', font_size=18) while True: # Fermion: MEMS VOC Gas Detection Sensor # Read analog value VOCSensor = adc0.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
Project #30 – UNIHIKER – Fermion: MEMS Smoke Gas Detection Sensor – Mk04
——
#DonLucElectronics #DonLuc #UNIHIKER #Smoke #Display #IoT #Project #Debian #Python #Thonny #Fritzing #Programming #Electronics #Microcontrollers #Consultant
——
——
——
——
Fermion: MEMS Smoke Gas Detection Sensor
Fermion: MEMS Smoke Gas Detection Sensor employs state-of-the-art microelectromechanical system (MEMS) technology, endowing the sensor with compact dimensions, low power consumption, minimal heat generation, short preheating time, and swift response recovery. The sensor can measure smoke concentration qualitatively and is suitable for smoke alarm and other application scenarios. Kindly remove the protective film before usage. It is advisable to preheat the module for at least 24 hours. Detection range: 10-1000 ppm.
DL2409Mk03
1 x UNIHIKER
1 x Fermion: MEMS Smoke Gas Detection Sensor
1 x USB Battery Pack
1 x USB 3.1 Cable A to C
UNIHIKER
ADC – 21
VIN – +5V
GND – GND
DL2409Mk03p
""" ****** Don Luc Electronics © ****** Software Version Information Project #30 - UNIHIKER - Fermion: MEMS Smoke Gas Detection Sensor - Mk04 30-04 DL2409Mk03.py DL2409Mk03 1 x UNIHIKER 1 x Fermion: MEMS Smoke 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 Smoke Gas Detection Sensor adc0 = Pin(Pin.P21, Pin.ANALOG) # Instantiate the GUI class and create a gui object gui = GUI() # Display the initial background image 'DL2409Mk03p' img = gui.draw_image(x=0, y=0, w=240, h=320, image='DL2409Mk03p.png') # MEMS Smoke Gas # Display the initial Fermion: MEMS Smoke Gas Detection Sensor valueSmoke valueSmoke = gui.draw_text(x=30, y=151, text='0', font_size=18) while True: # Fermion: MEMS Smoke Gas Detection Sensor # Read analog value AnalogSmokeSensor = adc0.read_analog() valueSmoke.config(text=AnalogSmokeSensor) # 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
Teacher, Instructor, E-Mentor, 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
LinkedIn: https://www.linkedin.com/in/jlucpaquin/
Don Luc
Project #30 – UNIHIKER – Gravity: Analog Ambient Light Sensor – Mk03
——
#DonLucElectronics #DonLuc #UNIHIKER #AmbientLight #Display #IoT #Project #Debian #Python #Thonny #Programming #Electronics #Microcontrollers #Consultant
——
——
——
——
Gravity: Analog Ambient Light Sensor
This Gravity: Analog ambient light sensor can assist you in detecting light density and provide an analog voltage signal to the controller as feedback. Additionally, you have the ability to trigger other components within your project by setting voltage thresholds. To facilitate easier usage of the ambient light sensor, this product is designed with a universal Gravity interface that can be plugged in without requiring soldering. Two screw holes allow you to fasten it to any desired location. Making messy DuPont wires and complex connections a thing of the past and enabling you to focus your energy on your creative designs.
DL2408Mk07
1 x UNIHIKER
1 x Gravity: Analog Ambient Light Sensor
1 x USB Battery Pack
1 x USB 3.1 Cable A to C
UNIHIKER
ADC – 21
VIN – +5V
GND – GND
DL2408Mk07p
DL2408Mk07p.py
""" ****** Don Luc Electronics © ****** Software Version Information Project #30 - UNIHIKER - Gravity: Analog Ambient Light Sensor - Mk03 30-03 DL2408Mk07.py DL2408Mk07 1 x UNIHIKER 1 x Gravity: Analog Ambient Light 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 # Gravity: Analog Ambient Light Sensor adc0 = Pin(Pin.P21, Pin.ANALOG) # Instantiate the GUI class and create a gui object gui = GUI() # Display the initial background image 'DL2408Mk07p' img = gui.draw_image(x=0, y=0, w=240, h=320, image='DL2408Mk07p.png') # Ambient Light Sensor # Display the initial Ambient Light Sensor valueLight valueLight = gui.draw_text(x=30, y=151, text='0', font_size=18) # Gravity: Analog Ambient Light Sensor # Display the initial Gravity: Analog Ambient Light Sensor valueAnalogLight valueAnalogLight = gui.draw_text(x=30, y=221, text='0', font_size=18) while True: # Ambient Light Sensor # Read the light value AmbientLightSensor = light.read() # Update the displayed light value valueLight.config(text=AmbientLightSensor) # Gravity: Analog Ambient Light Sensor # Read analog value AnalogAmbientLightSensor = adc0.read_analog() valueAnalogLight.config(text=AnalogAmbientLightSensor) # 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
Teacher, Instructor, E-Mentor, 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
LinkedIn: https://www.linkedin.com/in/jlucpaquin/
Don Luc
Project #30 – UNIHIKER – Ambient Light Sensor – Mk02
——
#DonLucElectronics #DonLuc #UNIHIKER #Display #IoT #Project #Debian #Python #Thonny #Programming #Electronics #Microcontrollers #Consultant
——
——
——
——
UNIHIKER Ambient Light Sensor
A light sensor is a photoelectric device that converts light energy (Photons) detected to electrical energy (Electrons). There is more to a light sensor than just its definition. It comes in different types and is used in various applications. This project provides a foundation for home lighting design, whether adjusting brightness levels in work areas or creating a cozy atmosphere in bedrooms, making it a practical tool. It measures the ambient light level of your surroundings and determines the suitable brightness of your screen.
DL2408Mk05
1 x UNIHIKER
1 x USB Battery Pack
1 x USB 3.1 Cable A to C
DL2408Mk05p
DL2408Mk05p.py
""" ****** Don Luc Electronics © ****** Software Version Information Project #30 - UNIHIKER - Ambient Light Sensor - Mk02 30-02 DL2408Mk05.py DL2408Mk05 1 x UNIHIKER 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() # Instantiate the GUI class and create a gui object gui = GUI() # Display the initial background image 'dlemk02' img = gui.draw_image(x=0, y=0, w=240, h=320, image='DL2408Mk05p.png') # Ambient Light Sensor # Display the initial Ambient Light Sensor valueLight valueLight = gui.draw_text(x=30, y=151, text='0', font_size=18) while True: # Ambient Light Sensor # Read the light value AmbientLightSensor = light.read() # Update the displayed light value valueLight.config(text=AmbientLightSensor) # 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
Teacher, Instructor, E-Mentor, 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
LinkedIn: https://www.linkedin.com/in/jlucpaquin/
Don Luc
Project #30 – UNIHIKER – Accelerometer and Gyroscope – Mk01
——
#DonLucElectronics #DonLuc #UNIHIKER #Display #IoT #Project #Debian #Thonny #Programming #Electronics #Microcontrollers #Consultant
——
——
——
——
UNIHIKER Accelerometer and Gyroscope
The UNIHIKER’s back panel is equipped with a 6-axis accelerometer-gyroscope sensor, capable of reading the X, Y, and Z values of acceleration individually, as well as the total strength in X, Y, and Z directions, and the X, Y, and Z values of the gyroscope.
DL2408Mk03
1 x UNIHIKER
1 x USB Battery Pack
1 x USB 3.1 Cable A to C
DL2408Mk03p
DL2408Mk03p.py
""" ****** Don Luc Electronics © ****** Software Version Information Project #30 - UNIHIKER - Accelerometer and Gyroscope - Mk01 30-01 DL2408Mk03p.py DL2408Mk03 1 x UNIHIKER 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() # Instantiate the GUI class and create a gui object gui = GUI() # Display the initial background image 'dlemk02' img = gui.draw_image(x=0, y=0, w=240, h=320, image='dlemk02.png') # Accelerometer # Display the initial Accelerometer X valueAX valueAX = gui.draw_text(x=60, y=145, text='0', font_size=10) # Display the initial Accelerometer Y valueAY valueAY = gui.draw_text(x=60, y=170, text='0', font_size=10) # Display the initial Accelerometer Z valueAZ valueAZ = gui.draw_text(x=60, y=195, text='0', font_size=10) # Gyroscope # Display the initial Gyroscope X valueGX valueGX = gui.draw_text(x=60, y=240, text='0', font_size=10) # Display the initial Gyroscope Y valueGY valueGY = gui.draw_text(x=60, y=260, text='0', font_size=10) # Display the initial Gyroscope Z valueGZ valueGZ = gui.draw_text(x=60, y=285, text='0', font_size=10) while True: # Accelerometer # Display the Accelerometer X AX = accelerometer.get_x() # Update the displayed Accelerometer X valueAX valueAX.config(text=AX) # Display the Accelerometer Y AY = accelerometer.get_y() # Update the displayed Accelerometer Y valueAY valueAY.config(text=AY) # Display the Accelerometer Z AZ = accelerometer.get_z() # Update the displayed Accelerometer Z valueAZ valueAZ.config(text=AZ) # Gyroscope # Display the Gyroscope X GX = gyroscope.get_x() # Update the displayed Gyroscope X valueAX valueGX.config(text=GX) # Display the Gyroscope Y GY = gyroscope.get_y() # Update the displayed Gyroscope Y valueAY valueGY.config(text=GY) # Display the Gyroscope Z GZ = gyroscope.get_z() # Update the displayed Gyroscope Z valueAZ valueGZ.config(text=GZ) # 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
Teacher, Instructor, E-Mentor, 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
LinkedIn: https://www.linkedin.com/in/jlucpaquin/
Don Luc