STMicroelectronics, WURTH Elektronik and Element14 have created a Special Project which comprises an STMicroelectronics Motor Control Evaluation kit.
- EVLSPIN32G4-ACT Motor control Evaluation Board
- STLINK-V3SET Programmer/debugger
- STEVAL-STWINBX1, STWIN.box - SensorTile Wireless Industrial Node Development Kit
- STEVAL-C34KAT1 Vibrometer and temperature sensor expansion kit
- Multicomp MP710256 power supply (not so easy to get with 10A, 30V and 110V supply at a reasonable price :)
- DB59M024035 BLDC motor from Nanotek
| Contents |
|---|
| Introduction of special project |
| Overview of the entire kit and Capabilities |
| Programmer/debugger STLINK-V3SET getting started |
| SensorTile STEVAL-STWINBX1 getting started |
| Motor control Evaluation Board EVLSPIN32G4-ACT getting started |
| Adding external sensors to the main setup |
| Review of the Wurth Elektronik components used on EVLSPIN32G4-ACT |
| Ease of use summary |
|
Other things to be added as we go |
My focus in this post is the STEVAL-STWINBX1 (STWIN.box - SensorTile Wireless Industrial Node Development Kit )
This video looks at the sensor devices on the evaluation board and what software is needed, that being the STM32CubeProgrammer (We are running pre canned demo software). The STDATALOG-PYSDK a comprehensive Python framework designed to facilitate the capture, processing, and visualization of data from a wide range of sources
There will be several videos to follow looking at each hardware stage of the tool chain so "Programmer" - Industrial Sensor Board" - "Motor Control Board" and finally the Sensor extension board. I will also be looking at the Wurth Components used on the EVLSPIN32G4-ACT Motor control with regard to fit for purpose in this design and then overall sense of quality for all modules as well as ease of use. I will add links to the other videos and descriptions as I go so stay tuned.
This is a follow-up video as I had issues with SDK and Documentation / Videos not aligning with versions used in each. I figured it out and so was able to complete the graphing and data collection.
The video, SDK's and documents referenced are here:-
STEVAL-STWINBX1 product main page
STEVAL-STWINBX1 Getting Started PDF
Getting started with the STEVAL-STWINBX1 details of all the sensors, how to assemble and how to program with the STM32CubeProgrammer -(DFU Mode), over wifi from a phone or via STLINK (Various types). this document does not tell you where to get the apps from
STDATALOG-PYSDK Product Page
STDATALOG-PYSDK Quick Start Guide PDF, up to date and replaces python functionality previously found in HSDPython_SDK which is or was part of FP-SNS-DATALOG2 so if you are following older videos for demo directions etc then this is were the tools are that are expected to be in the HSDPython_SDK
FP-SNS-DATALOG2 GITHUB if you want to use the SDK that matches most of the videos then go here and download V1.1 of the SDK, if you want to use the latest then you will also need the STDATALOG-PYSDK
FP-IND-DATALOGMC STM32Cube Function Pack for high-speed data logging of sensors data and motor control telemetries
The videos on youtube are referenced to V1.1 of the FP-SNS-DATALOG2
Module 1 - Hardware and software Requirements, You will also need the STDATALOG-PYSDK if you using the latest downloads
Module 2 - Overview of the STWIN.box platform
Module 3 - Connecting and flashing the STWIN.box board. the bin file from 3.1 and 1.1 are different but both function as expected.
Module 4 - Capturing sensor data over USB, You will also need the STDATALOG-PYSDK if you using the latest downloads
Module 5 - Capturing sensor data to the Micro SD card, I skipped this one.
Module 6 - Utilizing the machine learning core. The sensors we are interested here do not have a machine learning cores but this is a cool demo. You can use the core STM32 cpu for machine learning but I have not found any demos yet to show and it is currently not in my expertise to code it.
It was a real pain to find and adjust for the latest versions of the SDK, the conclusion I came to was to ignore the command line data collection as the GUI version is so much better and more dynamic. though it will work if you want to try it.
Take II on some pointers (First save lost quite a bit... )
Use GitHub to download STDATALOG-PYSDK as it has links to other repositories. I used GitHub desktop and it seems to automatically use recursive download.
if you want to follow exactly the video modules as shown above you will need to download V1.1 of the FP-SNS-DATALOG2 repository as it is not available from the ST website.
Shorten your paths, it is far easier to type in the commands if there short.
The STDATALOG-PYSDK quick start brief is an excelent start to using the demo software and is written for the latest software. make sure you follow the instructions as written, you should only have to adjust the path to commands and config files based on were you extracted or saved them.
when using the python GUI from STDATALOG-PYSDK it will work with the 1.1 or 3.1 pre compiled demo binaries. It is an excelent and easy to use app for all the sensors on the board and gives great graphs in real time. it is as easy as a click or two to change what your looking at.. Vibration, Compass, inclinometer, vibration etc.

