STmicroelectronics-logo

STmicroelectronics STM32Cube function pack for IoT node with BLE connectivity, environmental and motion sensors (FP-SNS-MOTENV1)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-product

Specifikimet

  • Product Name: STM32Cube function pack for IoT node with BLE connectivity, environmental and motion sensors(FP-SNS-MOTENV1)
  • Version: 3.2 (September 16, 2025)

Informacioni i produktit

Hardware Mbiview
The product includes sample implementations for STM32 Nucleo development boards plugged on STM32 Nucleo expansion boards. Key components include motion MEMS and environmental sensors expansion board and Bluetooth Low Energy Expansion Board.

Përshkrimi i Softuerit
The software overview includes key features of FP-SNS-MOTENV1 with an overall software architecture provided. Latest information can be found at www.st.com.

Udhëzimet e përdorimit të produktit

Konfigurimi i harduerit
The hardware setup includes connecting the STM32 Nucleo development boards with expansion boards. Follow the specific hardware connections as described in the manual.

Konfigurimi i softverit
Ensure you have the necessary software prerequisites for setup and demo examples. Refer to the manual for details on software installation and configuration.

Bluetooth Low Energy Board Setup
For optimal performance of the SPBTLE-RF module on the X-NUCLEO-BNRG2A1 expansion board, follow the recommended sequence of board stacking.

Udhëzues për fillimin e shpejtë
STM32Cube function pack for IoT node with BLE connectivity, environmental and motion sensors (FP-SNS-MOTENV1)

Hardware dhe Software përfundoiview

Hardware Mbiview

SampImplementimet janë të disponueshme për pllakat e zhvillimit STM32 Nucleo të lidhura në pllakat e zgjerimit STM32 Nucleo:

  • NUCLEO-U575ZI-Q (or NUCLEO-F401RE or NUCLEO-L476RG or NUCLEO-LO53R8) + X-NUCLEO-BNRG2A1 + X-NUCLEO-IKS4A1

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-product

Motion MEMS and environmental sensors expansion board

Hardware Mbiview (1/5)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (2)

X- NUCLEO-IKS4A1 Hardware Description (1/2)

  • The X-NUCLEO-IKS4A1 is a motion MEMS and environmental sensor evaluation board system.
  • This expansion board allows application development with features like Sensor HUB,camera module integration and QVAR touch/ swipe gestures.
  • It is compatible with the Arduino UNO R3 connector layout, and is designed around ST’s latest sensors.

Produkti kryesor në bord

  • LMS6DSO16IS: MEMS 3D accelerometer (±2/±4/±8/±16 g) + 3D gyroscope (±125/±250/±500/±1000/±2000 dps) with ISPU (Intelligent Processing Unit)
  • LIS2MDL: MEMS magnetometër 3D (±50 gauss)
  • LIS2DUXS12: Ultra low-power MEMS 3D accelerometer (±2/±4/±8/±16 g) with Qvar, AI, & anti-aliasing
  • LPS22DF: Sensori i presionit MEMS me fuqi të ulët dhe me saktësi të lartë, barometër absolut i daljes dixhitale 260-1260 hPa
  • SHT40AD1B: humidity sensor from Sensirion
  • STTS22H: Vëllimi i ulëttage, ultralow-power, 0.5 °C accuracy temperature sensor (–40 °C to +125 °C)
  • LSM6DSV16X: MEMS përshpejtues 3D (±2/±4/±8/±16 g) + xhiroskop 3D (±125/±250/±500/±1000/±2000/±4000 dps) me bashkim të sensorëve të integruar, AI, Qvar

Motion MEMS and environmental sensors expansion board

X-NUCLEO-IKS4A1 Hardware Description (2/2)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (3)..

Bordi i Zgjerimit Bluetooth me Energji të Ulët

Përshkrimi i harduerit

  • X-NUCLEO-BNRG2A1 është një sistem pllake vlerësimi dhe zhvillimi Bluetooth me Energji të Ulët (BLE), i projektuar rreth modulit Bluetooth me Energji të Ulët BLUENRG-M2SP të ST bazuar në BlueNRG-2.
  • Procesori BlueNRG-2 i vendosur në modulin BLUENRG-M2SP komunikon me mikrokontrolluesin STM32, të vendosur në pllakën e zhvillimit Nucleo, nëpërmjet një lidhjeje SPI të disponueshme në lidhësin Arduino UNO R3.

Produkti kryesor në bord

  • BLUENRG-M2SP Bluetooth Low Energy, i çertifikuar nga FCC dhe IC (FCC ID: S9NBNRGM2SP, IC: B976C-BNRGM2SP), modul i bazuar në procesorin e rrjetit pa tel Bluetooth® Low Energy BlueNRG-2, në përputhje me BLE v5.0.
  • BLUENRG-M2SP integrates a BALF-NRG-02D3 balun and a PCB antenna. It embeds 32 MHz crystal oscillator for the BlueNRG-2.
  • M95640-RMC6TG EEPROM serial SPI bus 64-Kbit me ndërfaqe ore me shpejtësi të lartë

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (4)

Informacion shtesë i rëndësishëm për harduerin

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (5)

Biblioteka BlueNRG-2 nuk funksionon me firmware-in standard që është ngarkuar në modulin BLE të pllakës së zgjerimit X-NUCLEO-BNRG2A1.

Për këtë arsye:

  • first of all, it is needed to solder on X-NUCLEO-BNRG2A1, if it is not soldered, a 0 Ohm resistor at R117.
  • Then you can use a standard ST-Link V2-1 with 5 jumper wires female-female together with STSW-BNRGFLASHER software tool (currently available only for Windows PC) in order to update the firmware of the BLE module of X-NUCLEO-BNRG2A1.

Duhet të lidhni kunjat J12 të X-NUCLEO-BNRG2A1 me kunjat e ST-Link V2-1 siç tregohet në figurë dhe të ndiqni hapat e treguar në diapozitivin tjetër.

Në veçanti, ne kemi lidhjet e mëposhtme:

   

J12

 

ST-Link V2-1

Pin 1 1
Pin 2 9
Pin 3 12
Pin 4 7
Pin 5 15

Informacion shtesë i rëndësishëm për harduerin

STM32 Nucleo with Expansion boards – Hardware Overview 

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (6)

  1. install the ST BlueNRG-1_2 Flasher Utility and open it, then select the SWD tab
  2. Erase the flash memory of the BlueNRG-2 chip
  3. Download the Link Layer Only firmware for the BLE module from the following link DTM_LLOnly.bin
  4. Load the Link Layer Only firmware in the ST BlueNRG-1_2 Flasher Utility and then press the “Flash” button
  5. If you need to restore the stock firmware of the BLE module of X-NUCLEO-BNRG2A1, you can repeat the procedure using this firmware image DTM_Full.bin
  6. Nëse hasni disa probleme gjatë procesit të përditësimit, mund të provoni të përsërisni procedurën e mbylljes së xhumperit J15 në pllakën e zgjerimit X-NUCLEO-BNRG2A1.

Softueri përfundoiview

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (7)Latest info available at www.st.com FP-SNS-MOTENV1

Përshkrimi i Softuerit

  • FP-SNS-MOTENV1 is an STM32Cube function pack, which lets you connect your IoT node to a smartphone via BLE and uses a suitable Android or iOS application, such as the ST BLE Sensor app, to view real-time motion and environmental (such as temperature, relative humidity, pressure) and sensor data.
  • This package also enables advanced functions such as the sensor data fusion and accelerometer-based real-time activity recognition, carry position, gesture recognition, motion intensity recognition and real-time information about the number of steps and cadence which the user just performed with the device, i.e. cell phone.
  • Together with the suggested combination of STM32 and ST devices, it can be used to develop specific wearable and environmental monitoring applications, or smart things applications in general.
  • The software is available also on GitHub, where the users can signal bugs and propose new ideas through [Issues] and [Pull Requests] tabs.

Karakteristikat kryesore

  • Complete firmware to develop an IoT node with BLE connectivity, environmental and motion sensors.
  • Middleware libraries for sensor data fusion and accelerometer-based real-time activity recognition, carry position, gesture recognition, motion intensity recognition and pedometer
  • Compatible with ST BLE Sensor applications for Android/iOS, to perform sensor data reading, motion algorithm features demo and firmware update (FOTA)
  • Compatible with STM32CubeMX, can be downloaded from st.com and installed directly into STM32CubeMX
  • Easy portability across different MCU families, thanks to the STM32Cube
  • Kushtet e licencës falas, miqësore për përdoruesit

Setup & Demo Examples

Software dhe parakushte të tjera

  • STSW-LINK004
  • Programi STM32 ST-LINK (STSW-LINK004) është një ndërfaqe softuerike me funksione të plota për programimin e mikrokontrolluesve STM32.
  • FP-SNS-MOTENV1
  • Kopjoni .zip file përmbajtjen e paketës së firmware-it në një dosje në PC-në tuaj.
  • Paketa përmban kodin burimor p.shample (Keil, IAR, STM32CubeIDE) compatible with NUCLEO-F401RE, NUCLEO-L476RG, NUCLEO-U575ZI-Q, NUCLEO-L053R8
  • ST BLE Sensor Application for Android/iOS to download from Google Play Store / iTunes

Konfigurimi përfundoiviewSTM32 Nucleo me pllaka zgjerimi 

Parakushtet e HW

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (8)..

  • 1x Bluetooth Low Energy Expansion Board (X-NUCLEO-BNRG2A1)
  • 1x Motion MEMS and Environmental Sensor Expansion Board (X-NUCLEO-IKS4A1)
  • 1x STM32 Nucleo Development Board (NUCLEO-U575ZI-Q, NUCLEO-F401RE or NUCLEO-L476RG or NUCLEO-L053R8)
  • 1 pajisje Android ose iOS
  • 1x PC with Windows 7 and above
  • 1x USB type A to Mini-B USB cable for NUCLEO-F401RE, NUCLEO-L476RG and NUCLEO-L053R8
  • 1 kabllo USB tipi A në Micro-B për NUCLEO-U575ZI-Q

For optimizing the performances of the SPBTLE-RF module present on X-NUCLEO-BNRG2A1 expansion board, it is necessary to follow this sequence of boards stack

Konfigurimi përfundoiview

Filloni kodimin vetëm në pak minuta (1/3)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (9)..STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (10)

  • \Projects\NUCLEO-F401RE\Applications\IKS4A1\MOTENV1
  • \Projects\ NUCLEO-F401RE\Examples\BootLoader
  • \Projects\ NUCLEO-L053R8\Applications\IKS4A1 \MOTENV1
  • \Projects\ NUCLEO-L476RG\Applications\IKS4A1 \MOTENV1
  • \Projects\ NUCLEO-L476RG \Examples\BootLoader
  • \Projects\ NUCLEO-U575ZI-Q\Applications\IKS4A1 \MOTENV1

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (11)Përdorni skedarët binare të parapërgatitur për regjistrimin e pajisjes suaj, ose si alternativë, ripërpiloni kodin duke shtuar certifikatën e pajisjes suaj.

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (12)

 

Filloni kodimin vetëm në pak minuta (2/3)

  1. Si të instaloni skedarin binar të para-kompiluar:
    • For each applications, there is inside the package one folder called “Binary”STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (13)
    • Për NUCLEO-F401RE dhe NUCLEO-L476RG:
      • pre-compiled FP-SNS-MOTENV1 FW that could be flashed to a supported STM32 Nucleo using the STM32CubeProgrammer at the right position (0x08004000)
    • Important Note: this pre-compiled binary is compatible with the FOTA update procedure
      • pre-compiled FP-SNS-MOTENV1 + BootLoader FW that could be directly flashed to a supported STM32 Nucleo using the STM32CubeProgrammer or by doing “Drag & Drop”
      • Important Note: this pre-compiled binary is not compatible with the FOTA update procedure
    • For NUCLEO-L053R8:
      • pre-compiled FP-SNS-MOTENV1 could be directly flashed to a supported STM32 Nucleo using the STM32CubeProgrammer or by doing “Drag & Drop”.
    • Për NUCLEO-U575ZI-Q:
      • pre-compiled FP-SNS-MOTENV1 could be directly flashed to a supported STM32 Nucleo using the STM32CubeProgrammer or by doing “Drag & Drop”.
      • For the first installation, after the full flash erase (suggest procedure), use the STM32CubeProgrammer to set STM32 MCU user byte settings to use the bank 1 for flash the firmware and starts the application

Filloni kodimin vetëm në pak minuta (3/3)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (14)

How Install the code after compiling the project for NUCLEO-F401RE and NUCLEO-L476RG:

  • Kompiloni projektin me IDE-në tuaj të preferuarSTmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- 24
    • In the folder Utilities there is a scripts *.sh that makes the following operations:
    • Fshirje e plotë e blicit
    • Instaloni BootLoader-in e djathtë në pozicionin e duhur (0x08000000)
    • Flash the MOTENV1 firmware at the right position (0x08004000)
  • Ky është firmware-i që u kompilua me IDE-në
  • Ky firmware është i pajtueshëm me procedurën e përditësimit FOTA.
    • Save a complete Binary FW that includes both MOTENV1 and the BootLoader
  • Ky skedar binar mund të instalohet direkt në një pllakë STM32 të mbështetur duke përdorur ST-Link ose duke përdorur "Drag & Lësho".
  • Shënim i rëndësishëm: ky skedar binar shtesë i parapërgatitur nuk është i pajtueshëm me procedurën e përditësimit FOTA.

Përpara se të ekzekutoni skriptin *.sh, është e nevojshme ta modifikoni atë për të vendosur rrugën e instalimit për STM32CubeProgrammer.

  • BootLoaderPath/BootLoader.bin and BinaryPath as input are required when execute *.sh script

Menaxhimi i Flash-it dhe Procesi i Nisjes

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (15)

Softuer Bluetooth me energji të ulët dhe sensorë

FP-SNS-MOTENV1 for NUCLEO-F401RE / NUCLEO-L476RG / NUCLEO-U575ZI-Q – Serial line monitor (e.g.Tera Term) 

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (16)

  • Pressing the RESET User button on STM32 Nucleo board. You could see the initialization phase
  • When the boards are connected to an Android or iOS device, you can see what is transmitted via BLE

Demo ExampAplikimi i Sensorit les ST BLE Mbiview

Aplikacioni i Sensorit ST BLE për Android/iOS (1/6)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (17)

Aplikacioni i Sensorit ST BLE për Android/iOS (2/6)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (18)

Aplikacioni i Sensorit ST BLE për Android/iOS (3/6)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (19)FP-SNS-MOTENV1 for NUCLEO-F401RE NUCLEO-L476RG NUCLEO-U575ZI-Q

Aplikacioni i Sensorit ST BLE për Android/iOS (4/6)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (20)

Aplikacioni i Sensorit ST BLE për Android/iOS (5/6)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (21)

  • For NUCLEO-U575ZI-Q, after the boot the MOTENV1 firmware receives the new firmware from the STBLESensor application, saves it on one memory bank (either bank1 or bank2) and performs a reboot executing the new code saved on the other memory bank. A program related to a specific region can run in that region only. The MOTENV1 application, however, can swap among different flash banks and each program can run in any flash memory bank.

Aplikacioni i Sensorit ST BLE për Android/iOS (6/6)

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (22)

SHËNIM: If the mems expansion board used is not compliant with the firmware or not mounted

Dokumentet & Burimet e Përafërta

Të gjitha dokumentet janë të disponueshme në skedën DESIGN të produkteve përkatëse webfaqe 

FP-SNS-MOTENV1

  • DB2852: STM32Cube function pack for IoT node with BLE connectivity, environmental and motion sensors – data brief
  • UM2016: Getting started with the STM32Cube function pack for IoT node with BLE connectivity, environmental and motion sensors – user manual
  • Konfigurimi i softuerit file

X-Bërthama-BNRG2A1

  • Gerber files, BOM, Skematik
  • DB4086: Pllakë zgjerimi Bluetooth me energji të ulët bazuar në modulin BLUENRG-M2SP për STM32 Nucleo – përmbledhje e të dhënave
  • UM2667: Fillimi me pllakën e zgjerimit X-NUCLEO-BNRG2A1 BLE bazuar në modulin BLUENRG-M2SP për STM32 Nucleo – manual përdorimi

X-Bërthama-IKS4A1

  • Gerber files, BOM, Skematik
  • DB5091: Motion MEMS and environmental sensor expansion board for STM32 Nucleo – data brief
  • UM3250: Getting started with motion MEMS and environmental sensor expansion board for STM32 Nucleo – user manual

Konsultohuni www.st.com për listën e plotë

Mjedisi i Zhvillimit të Hapur STM32: Mbiview

Mjedis i Hapur Zhvillimor STM32 Prototipizim dhe Zhvillim i shpejtë dhe i përballueshëm

  • Mjedisi i Zhvillimit të Hapur STM32 (STM32 ODE) është një mënyrë e hapur, fleksibile, e lehtë dhe e përballueshme për të zhvilluar pajisje dhe aplikacione inovative bazuar në familjen e mikrokontrolluesve 32-bitësh STM32 të kombinuar me komponentë të tjerë ST të teknologjisë së fundit të lidhur nëpërmjet pllakave të zgjerimit. Ai mundëson prototipim të shpejtë me komponentë të teknologjisë së fundit që mund të transformohen shpejt në dizajne përfundimtare.

STmicroelectronics-STM32Cube-function-pack-for-IoT-node-with-BLE-connectivity-environmental-and-motion-sensors (FP-SNS-MOTENV1)-fig- (23)

Për më shumë informacion, ju lutemi vizitoni www.st.com/stm32ode

  • © STMicroelectronics – Të gjitha të drejtat e rezervuara. Logoja e korporatës STMicroelectronics është markë e regjistruar tregtare e grupit të kompanive STMicroelectronics. Të gjitha emrat e tjerë janë pronë e pronarëve të tyre përkatës.

Pyetjet e shpeshta

Q: How do I update the firmware for the BLE module?

A: To update the firmware for the BLE module, follow the steps outlined in the manual, which include using the ST BlueNRG-1_2 Flasher Utility and downloading the appropriate firmware image.

Dokumentet / Burimet

STmicroelectronics STM32Cube function pack for IoT node with BLE connectivity, environmental and motion sensors (FP-SNS-MOTENV1) [pdfUdhëzuesi i përdoruesit
NUCLEO-U575ZI-Q, NUCLEO-F401RE, NUCLEO-L476RG, NUCLEO-LO53R8, X-NUCLEOBNRG2A1, X-NUCLEO-IKS4A1, STM32Cube Function Pack for IoT Node with BLE Connectivity, STM32Cube, Function Pack for IoT Node with BLE Connectivity, IoT Node with BLE Connectivity, with BLE Connectivity, BLE Connectivity

Referencat

Lini një koment

Adresa juaj e emailit nuk do të publikohet. Fushat e kërkuara janë shënuar *