STMicro STWIN Installation Guide
This document demonstrations how to install STMicro STWin Sense to MacOS and Windows Operation System.
In this article:
Download and install Qeexo AutoML on MacOS
Setup STMicro STWIN Sense on MacOS
Download and install Qeexo AutoML on Windows
Setup STMicro STWIN Sense on Windows
APPLIES TO:
Tested on macOS BigSur and Windows 10 Build 2004 Version 19041.630
Installation on MacOS
Prerequisites
STWIN Starter Kit with the following components:
STWINKT1B (A)
STLINK-V3MINI (B)
Programming cable (14-pin) (C)
Battery (D)
Blue plastic case and four pairs of screws and nuts (E)
A micro-USB cable to connect the sensor module to your laptop
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 STWIN Sense 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.
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.
Once the installer - QeexoAutoML-installer-macOS.pkg - is downloaded, double-click it to install it.
Click “Continue”, then read and click “Agree” on the license agreement to continue installing.
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.After installation, click “Close” to finish.
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 STWIN Sense on MacOS
Unbox the STWINKT1B (part A). On the back of the board, plug in the battery cable (part D). You should hear a small click as it snaps into place.
*Connecting the battery is recommended but optional, as the STWINKT1B can be powered via USB while connecting to your machine (laptop).Screw the STWINKT1B board onto the blue plastic case (part E). The final setup should look similar to the picture shows below.
Install software utilities (dfu-util utility) on your laptop
Open the “Terminal” application by searching for “Terminal” in Spotlight Search. Or open directly from the Applications → Utilities → Folder.
Install Homebrew:
Copy and paste the following Homebrew installation command to your Terminal and hit Enter key.
*Note: you may need to type in your laptop password in terminal./bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
CODEInstall 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
CODENote: 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
Connect sensor module
*Note: this process is only necessary for first time set upConnect one end of the micro-USB cable to laptop first. DO NOT CONNECT the cable to STWINKT1B yet.
Locate and hold the USR button on the STWINKT1B. While holding the USR button, connect STWINKT1B to the other end of the micro-USB cable.
A red LED on STWINKT1B should blink when the device is connected to your laptop. It indicates the device is powered and in normal status.
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
STWIN Starter Kit with the following components:
STWINKT1B (A)
STLINK-V3MINI (B)
Programming cable (14-pin) (C)
Battery (D)
Blue plastic case and four pairs of screws and nuts (E)
A micro-USB cable to connect the sensor module to your laptop
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 STWIN Sense 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.
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.
Once the installer - QeexoAutoML-installer-Windows.exe - is downloaded, double-click it to install it following steps below.
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.
Click “Install” button to proceed next step. Note, we recommend to leave the Destination Folder as default path.
After installation, click “Finish” to close.
Now you should see Qeexo AutoML application running on the menu bar.
- This should run automatically after install.
Setup STMicro STWIN Sense on Windows
Unbox the STWINKT1B (part A). On the back of the board, plug in the battery cable (part D). You should hear a small click as it snaps into place.
*Connecting the battery is recommended but optional, as the STWINKT1B can be powered via USB while connecting to your machine (laptop).Screw the STWINKT1B board onto the blue plastic case (part E). The final setup should look similar to the picture shows below.
Install software utilities (dfu-util utility) on your laptop
Navigate to this tools folder on sourceforge.net
Download the latest binary archive. For instance, dfu-util-0.11-binaries.tar.xz
In Windows Search Bar, enter the following code in the address bar.
%PROGRAMFILES%
CODEnote: please make sure you include '%' symbol in the search bar
Right click, New → Folder, Name it dfu-util.
Extract the file - dfu-util-0.11-binaries.tar.xz, open folder ‘Win32’ or ‘Win64’ depending on you Windows version.
Find 2 files that named as “dfu-util.exe“ and “libusb-1.0.dll“.
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.
Update USB driver
Please visit this link to download Zadig.
Plugin STWIN board while holding down the USR button. A red LED on STWINKT1B should blink when the device is connected to your laptop. This indicates the device is powered and in normal status.
Let windows finish searching for drivers.
Start Zadig.
Selction “Option” → “List All Devices”.
Select “STM32 BOOTLOADER" from the device dropdown.
*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.Select "WinUSB (v6.1.7600.16385)" as new driver.
Click "Install Driver". After installation, You can see "The drive was installed successfully". Click "Close".
Please restart your laptop.
Connect sensor module
*Note: this process is only necessary for first time set upConnect one end of the micro-USB cable to laptop first. DO NOT CONNECT the cable to STWINKT1B yet.
Locate and hold the USR button on the STWINKT1B. While holding the USR button, connect STWINKT1B to the other end of the micro-USB cable.
A red LED on STWINKT1B should blink when the device is connected to your laptop. It indicates the device is powered and in normal status.
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
Now you can work on building projects on your Qeexo AutoML platform.