This document demonstrations how to install STMicro SensorTile.box to MacOS and Windows Operation System.

In this article:

Installation on MacOS

Prerequisites

Download and install Qeexo AutoML on MacOS

Setup STMicro SensorTile.box on MacOS

Run Qeexo AutoML

Installation on Windows

Prerequisites

Download and install Qeexo AutoML on Windows

Setup STMicro SensorTile.box on Windows

Run Qeexo AutoML

APPLIES TO:

Tested on macOS BigSur and Windows 10 Build 2004 Version 19041.630

Installation on MacOS

Prerequisites

Download and install Qeexo AutoML on MacOS

If you have previously downloaded and installed Qeexo AutoML application on your laptop, and it is the most updated version, please skip this section and jump to Setup STMicro SensorTile.box on MacOS section.

Please keep your Qeexo AutoML application up to date as Qeexo periodically release software updates to fix bugs, improve performance, or add features. You can either Update Qeexo AutoML Software automatically or manually.

  1. Once you registered and logged into your Qeexo AutoML account through https://qeexo.com/ , Please visit this link, select Qeexo AutoML Software, then select macOS to download the latest installer.

  2. Once the installer - QeexoAutoML-installer-macOS.pkg - is downloaded, double-click it to install it.

  3. Click “Continue”, then read and click “Agree” on the license agreement to continue installing.

  4. Leave the destination as default and click “Install” to continue installing.
    *When prompted, enter the system password (or Touch ID, if applicable) to allow the installation of the new software on your laptop.

  5. After installation, click “Close” to finish.

  6. Now you should see AutoML application by clicking Launchpad on your laptop. Or you can find it from your laptop’s Applications folder. Once you see the icon (shown as below), click it to run it. Then you should see Qeexo AutoML application running on the menu bar.
    - This should run automatically after install.

Setup STMicro SensorTile.box on MacOS

  1. Install software utilities (dfu-util utility) on your laptop

    1. Open the “Terminal” application by searching for “Terminal” in Spotlight Search. Or open directly from the ApplicationsUtilitiesFolder.

    2. Install Homebrew:
      Copy and paste the following Homebrew installation command to your Terminal and hit Enter key.

      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
      CODE
    3. Install dfu-util:
      Copy and paste the following code (also shown as green in picture below) to Terminal and hit Enter key.

      brew install dfu-util
      CODE

      Note: If you are a M1 Mac users, after installing homebrew, you may see a “command not found” error when you try to install dfu-util. You could run the following code and try install dfu-util again.

      echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/sang/.zprofile
      eval "$(/opt/homebrew/bin/brew shellenv)"
      CODE
  2. Connect sensor module

    1. Open the package, take out the blue case, and proceed to unscrew the blue case

    2. Carefully lift the SensorTile.box board from the case, flip the board over to disconnect the battery connector.
      *If you want to connect SensorTile.box and laptop with Bluetooth, you can connect the battery. But in the first time setup, we need to disconnect SensorTile.box from the battery.

    3. Connect one end of the micro-USB cable to laptop first. DO NOT CONNECT the cable to SensorTile.box yet.

    4. Locate the BOOT button on SensorTile.box, press and hold the BOOT button. While holding the BOOT button, connect SensorTile.box to the other end of the micro-USB cable that is already connected to laptop.
      *Note that no LED will light up even after both ends of the cable are connected. Proceed to next step. However, if the blue LED starts blinking, disconnect the micro-USB cable from the SensorTile.box and start over from step c.

    5. Release the BOOT button.
      *Subsequent usage of SensorTile.box DOESN’T REQUIRE this extra step of pressing the BOOT button. You will notice that the blue LED will light up whenever your SensorTile.box is connected to laptop. Your SensorTile.box is now ready to be used on Qeexo AutoML with just the micro-USB cable! You may re-connect the battery back to SensorTile.box if you like.

Your device now is ready to flash in Qeexo AutoML

Run Qeexo AutoML

Open your browser, navigate to Qeexo AutoML and log in with your Qeexo AutoML account. Then you can start building your Machine Learning project in Qeexo AutoML.


Installation on Windows

Prerequisites

Download and install Qeexo AutoML on Windows

If you have previously downloaded and installed Qeexo AutoML application on your laptop, and it is the most updated version, please skip this section and jump to Setup STMicro SensorTile.box on Windows section.

Please keep your Qeexo AutoML application up to date as Qeexo periodically release software updates to fix bugs, improve performance, or add features. You can either Update Qeexo AutoML Software automatically or manually.

  1. Once you registered and logged into your Qeexo AutoML account through https://qeexo.com/ , Please visit this link, select Qeexo AutoML Software, then select Windows to download the latest installer.

  2. Once the installer - QeexoAutoML-installer-Windows.exe - is downloaded, double-click it to install it.

  3. Welcome screen will be presented which begins the installation process. Click “Next” button to read the License Agreement. Then click “I Agree” to accept the agreement.

  4. Click “Install” button to proceed next step. Note, we recommend to leave the Destination Folder as default path.

  5. After installation, click “Finish” to close.

  6. Now you should see Qeexo AutoML application running on the menu bar.
    - This should run automatically after install.

Setup STMicro SensorTile.box on Windows

  1. Install software utilities (dfu-util utility) on your laptop

    1. Navigate to this tools folder on sourceforge.net

    2. Download the latest binary archive. For instance, dfu-util-0.11-binaries.tar.xz

    3. In Windows Search Bar, enter the following code in the address bar.

       %PROGRAMFILES%
      CODE

      note: please make sure you include '%' symbol in the search bar

    4. Right click, NewFolder, Name it dfu-util.

    5. Extract the file - dfu-util-0.11-binaries.tar.xz, open folder ‘Win32’ or ‘Win64’ depending on you Windows version.

    6. Find 2 files that named as “dfu-util.exe“ and “libusb-1.0.dll“.

    7. Copy and paste them to the new dfu-util folder you just created in step d.
      *For Qeexo AutoML to work with this hardware, dfu-util MUST be named properly in the aforementioned folder.

  2. Prepare hardware

    1. Open the package, take out the blue case, and proceed to unscrew the blue case

    2. Carefully lift the SensorTile.box board from the case, flip the board over to disconnect the battery connector.
      *If you want to connect SensorTile.box and laptop with Bluetooth, you can connect the battery. But in the first time setup, we need to disconnect SensorTile.box from the battery.

  3. Update USB driver

    1. Please visit this link to download Zadig.

    2. Plug SensorTile.box board while holding down the BOOT button. No LED should light up.

    3. Let Windows finish searching for drivers.

    4. Start Zadig.

    5. Select “Option” → “List All Device”.

    6. Select “STM32 BOOTLOADER" from the device dropdown menu.
      *If "STM32 BOOTLOADER" is not available as a dropdown, ensure that the battery is disconnected from SensorTile.box and repeat step C.2. above (plugin USB cable while holding down "BOOT" button). If you need additional support, contact us by filling in this form.

    7. Select “WinUSB (v6.1.7600.16385)" as new driver.

    8. Click "Install Driver". After installation, You can see "The drive was installed successfully". Click "Close".

    9. Please restart your laptop.

  4. Connect sensor module

    1. Reconnect SensorTile.box to your laptop. A blue LED should light up on SensorTile.box.

    2. While the SensorTile.box is connected, right click “This PC“, go to “Properties” → “Device Manager”. Or you can search “Device Manager” in Windows search bar. If “STMicroelectronics Virtual COM Port (COM*)” shows up under “Ports(COM and LPT)", the SensorTile.box is connected and recognized successfully. If successful, you may SKIP step c-e below.

    3. If devices are not automatically recognized, download and install STM Virtual COM Port Driver using the same MyST account in step 2 - “Prepare hardware” (An ST account is required to be able to download files). Click “Get Software” next to "STM32 Virtual COM Port Driver". Click "ACCEPT" to accept the license agreement. Download and extract the files.

    4. Follow the readme.txt in the en.stsw-stm32102 package you just downloaded, if your OS is Windows 10 (64-bit) you should install VCP_V1.5.0_Setup_W8_x64_64bits.exe.
      For other Operation System, please refer to the readme.txt for more information.
      - VCP_V1.5.0_Setup_W7_x86_32bits.exe : Setup file to Copy required files for Win7 x86
      - VCP_V1.5.0_Setup_W7_x64_64bits.exe : Setup file to Copy required files for Win7 x64
      - VCP_V1.5.0_Setup_W8_x86_32bits.exe : Setup file to Copy required files for Win8 x86
      - VCP_V1.5.0_Setup_W8_x64_64bits.exe : Setup file to Copy required files for Win8 x64

    5. Connect SensorTile.box to your laptop. Open "Device Manager", make sure SensorTile.box are recognized (as shown in #1) at all times while using Qeexo AutoML.

    6. Disconnect the micro-USB cable from SensorTile.box. The other end of micro-USB cable should still connect to your laptop.

    7. Press and hold the BOOT button of SensorTile.box. While holding the BOOT button, connect SensorTile.box back to the micro-USB cable.
      *Note that no LED will light up even after both ends of the cable are connected. Proceed to next step. However, if the blue LED starts blinking, disconnect the micro-USB cable from the SensorTile.box and start over with the connection from step d above.

Your device now is ready to flash in Qeexo AutoML

Run Qeexo AutoML

Open your browser, navigate to Qeexo AutoML and log in with your Qeexo AutoML account. Then you can start building your Machine Learning project in Qeexo AutoML.

Next steps