34 views
This video is a workshop that demonstrates easy IoT programming using motion sensors using the latest 6-axis motion sensor ORPHE CORE 3.0 and the open source library ORPHE-CORE.js for hacking that sensor. #ORPHE #ORPHE-CORE.js #p5.js #javascript #iot In the 10th installment, we will move from conventional JavaScript (JS) to Python and introduce "ORPHE-CORE.py" (https://github.com/Orphe-OSS/ORPHE-CORE 3.0), which supports BLE (Bluetooth Low Energy). As the first step in programming with CORE 3.0, we will implement LED operation. Utilizing asynchronous processing with Python Python has a built-in library "asyncio" for asynchronous processing, which allows the connection process required for BLE communication to proceed in an orderly manner. This allows efficient control of the program while ensuring stable communication with the device. Addressing and connecting the core module "ORPHE-CORE.Py" has a function that allows you to clearly identify the device to which you are connecting by directly specifying the MAC address of a specific core module. This function enables accurate connection even when there are multiple devices in the vicinity, reducing manual selection errors. Application examples and future prospects In the next installment, we plan to learn about advanced sensor data analysis and signal processing using Python, expanding the application possibilities as an IoT device. Motion sensor ORPHE For more information on CORE and to purchase it, please visit this page: https://orphe.io/core Here is the github page for ORPHE-CORE.py: https://github.com/Orphe-OSS/ORPHE-CO... ORPHE-CORE.js documentation page. If you access the DEMO page from Google Chrome, you can connect to ORPHE CORE wirelessly on the web page: https://orphe-oss.github.io/ORPHE-COR... You can install Visual Studio Code, which is introduced in the video, from here: https://code.visualstudio.com/ You can install GitHib Copilot, which is introduced in the video, from here: https://github.com/features/copilot Cast: Baba Tetsuaki, Professor at Tokyo Metropolitan University; Technical Advisor at ORPHE Co., Ltd. Kikukawa Yuya, CEO/Founder at ORPHE Co., Ltd.