Overview And Setup

Mind+ with UNIHIKER M10 and HUSKYLENS 2 lets students quickly build AI vision projects by wiring, powering and loading libraries in Python modes. It’s like assembling smart LEGO that can see and think. Connect PC–UNIHIKER–HUSKYLENS via Type‑C and PH2.0 cable, then in Mind+ 2.0 or 1.8 switch to Python (or Python Block) mode, open Extension, install and load the UNIHIKER M10 controller library and the HUSKYLENS 2 AI Camera library, update HUSKYLENS firmware to the latest version, and finally enter the code editor or any Python IDE to start coding visual recognition.

1.Introduction

1.1 Mind+ Introduction

Mind+ is a youth programming software based on Scratch 3.0. It supports graphical and code-based programming for various open-source hardware such as Arduino, UNIHIKER K10, and UNIHIKER M10. You can complete programming simply by dragging graphical program blocks, or use high-level programming languages like Python/C/C++, allowing everyone to easily experience the joy of creation.

Mind+ official website download link: https://mindplus.cc

1.2 UNIHIKER M10 Introduction

UNIHIKER M10 is a highly integrated domestic open-source teaching hardware (with independent intellectual property rights) designed for K-12 teachers and students, adapting to the new curriculum's interdisciplinary teaching requirements for subjects like Information Technology, Physics, and Biology. It integrates a single-board computer (4-core CPU / 512MB RAM / 16GB Storage), Linux system, a complete Python environment with pre-installed common Python libraries, and also comes with a 2.8-inch color touchscreen and rich sensors. It provides a Python teaching platform that can be started in just two steps.

UNIHIKER M10 store purchase link: buy now

Materials

2.1 Wiring Diagram

Prepare two Type-C USB Cables and one 4Double Sided PH2.0-4P white 20cm silicone wire. Use oneType-C USB Cable to connect the computer to the UNIHIKER M10. Use theDouble Sided PH2.0-4P white 20cm silicone wire to connect the UNIHIKER M10 to the HuskyLens 2. Then, use the additional Type-C USB Cable to connect the HUSKYLENS 2's Type-C interface to a power source for extra power supply to the HUSKYLENS 2. The wiring diagram can be referenced below.

Interface Diagram

3.Software Preparation

3.1 Load Huskylens 2 Library in Mind+ 2.0

Double-click to open the Mind+ 2.0 programming software. After opening, click to select "Python Block Mode", as shown in the figure below.

Interface Diagram

Wait for the Python Block Mode to initialize. Click 'Extension' in the bottom left corner. If using for the first time, you need to download the corresponding controller extension library. In the top right corner of the extension library page, search for "Unihiker M10". Click the download button in the top right corner of the "UNIHIKER M10" image to download the main controller library.

Interface Diagram

After the UNIHIKER M10 extension library is downloaded, click to load it. Once loaded successfully, it will appear as shown in the figure below.

Interface Diagram

In the top right corner of the extension library page, search for "HUSKYLENS 2". Click the download button in the top right corner of the "HuskyLens 2" image to download the corresponding library.

Interface Diagram

After downloading, click the "HuskyLens 2 AI Camera" to load this extension library. The completed loading is shown below.

Interface Diagram

3.2 Load HUSKYLENS 2 Library in Mind+ 1.8 Series Library

Open the Mind+ programming software and click in the top right corner to switch to Python mode.

Interface Diagram

Click 'Extension' in the bottom left corner. In the 'Official Library', select 'UNIHIKER M10' and click the image to load this library.

Interface Diagram

Upon successful loading, the following will be displayed.

Interface Diagram

After the UNIHIKER M10 is loaded, continue to the 'User Library' to add the HuskyLens 2 library.

Interface Diagram

Click the HuskyLens 2 library image above to load it. After successful loading, it will look as shown. Finally, click "Back" in the top left corner to return to the programming interface.

Interface Diagram

Click 'Code' in the top-left corner to switch to the code editing page.

Interface Diagram

The following visual recognition functionality is based on the HUSKYLENS 2 firmware version 1.0.

The current latest system version is 1.1.6. Find System Settings > Device Information to check your current system version. We recommend updating to the latest version to experience new features. Update tutorial: Click here.

Interface Diagram

In addition to Mind+, you can also use other Python IDEs for programming and project development.
For how to load the huskyylens library in a Python IDE, please refer to:

Huskylens 2 library instruction

Was this article helpful?

TOP