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

Awọn pato

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

ọja Alaye

Hardware Loriview
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.

Apejuwe Software
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.

Awọn ilana Lilo ọja

Hardware Oṣo
The hardware setup includes connecting the STM32 Nucleo development boards with expansion boards. Follow the specific hardware connections as described in the manual.

Eto software
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.

Quick Bẹrẹ Itọsọna
STM32Cube function pack for IoT node with BLE connectivity, environmental and motion sensors (FP-SNS-MOTENV1)

Hardware ati Software ti pariview

Hardware Loriview

SampAwọn imuṣẹ le wa fun awọn igbimọ idagbasoke STM32 Nucleo ti o ṣafọ sori awọn igbimọ imugboroosi 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 Loriview (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.

Ọja bọtini lori ọkọ

  • LMS6DSO16IS: MEMS 3D accelerometer (±2/±4/±8/±16 g) + 3D gyroscope (±125/±250/±500/±1000/±2000 dps) with ISPU (Intelligent Processing Unit)
  • LIS2MDL: MEMS 3D magnetometer (± 50 gauss)
  • LIS2DUXS12: Ultra low-power MEMS 3D accelerometer (±2/±4/±8/±16 g) with Qvar, AI, & anti-aliasing
  • LPS22DF: Agbara kekere ati sensọ titẹ MEMS konge giga, 260-1260 hPa barometer igbejade oni nọmba pipe
  • SHT40AD1B: humidity sensor from Sensirion
  • STTS22H: Low-voltage, ultralow-power, 0.5 °C accuracy temperature sensor (–40 °C to +125 °C)
  • LSM6DSV16X: MEMS 3D accelerometer (± 2/± 4/± 8/± 16 g) + 3D gyroscope (± 125/± 250/± 500/± 1000/±2000/±4000 dps) pẹlu ifisinu sensọ fusion, 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)..

Bluetooth Low Energy Imugboroosi Board

Hardware Apejuwe

  • X-NUCLEO-BNRG2A1 jẹ igbelewọn Agbara Low Bluetooth (BLE) ati eto igbimọ idagbasoke, ti a ṣe ni ayika ST's BLUENRG-M2SP Bluetooth Low Energy module ti o da lori BlueNRG-2.
  • Oluṣeto BlueNRG-2 ti gbalejo ni module BLUENRG-M2SP n ba sọrọ pẹlu STM32 microcontroller, ti gbalejo lori igbimọ idagbasoke Nucleo, nipasẹ ọna asopọ SPI ti o wa lori asopo Arduino UNO R3.

Ọja bọtini lori ọkọ

  • BLUENRG-M2SP Bluetooth Low Energy, FCC ati IC ifọwọsi (FCC ID: S9NBNRGM2SP, IC: B976C-BNRGM2SP), module da lori Bluetooth® Low Energy alailowaya nẹtiwọki isise BlueNRG-2, BLE v5.0 ni ifaramọ.
  • BLUENRG-M2SP integrates a BALF-NRG-02D3 balun and a PCB antenna. It embeds 32 MHz crystal oscillator for the BlueNRG-2.
  • M95640-RMC6TG 64-Kbit ni tẹlentẹle SPI akero EEPROM pẹlu wiwo aago iyara giga

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

Alaye Afikun Hardware pataki

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

BlueNRG-2 ìkàwé ko ṣiṣẹ pẹlu awọn iṣura famuwia ti o ti kojọpọ ni BLE module ti X-NUCLEO-BNRG2A1 imugboroosi ọkọ.

Fun idi eyi:

  • 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.

O nilo lati so awọn pinni J12 ti X-NUCLEO-BNRG2A1 si awọn pinni ti ST-Link V2-1 bi o ṣe han ninu aworan ki o tẹle awọn igbesẹ ti o fihan ni ifaworanhan atẹle.

Ni pato a ni awọn asopọ wọnyi:

   

J12

 

ST-Link V2-1

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

Alaye Afikun Hardware pataki

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. Ti o ba rii diẹ ninu awọn ọran lakoko ilana imudojuiwọn, o le gbiyanju lati tun ilana naa pa J15 jumper lori igbimọ imugboroosi X-NUCLEO-BNRG2A1.

Software pariview

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

Apejuwe Software

  • 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.

Awọn ẹya ara ẹrọ bọtini

  • 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
  • Ọfẹ, awọn ofin iwe-aṣẹ ore-olumulo

Eto & Ririnkiri Examples

Software ati Awọn ohun elo miiran

  • STSW-LINK004
  • IwUlO STM32 ST-LINK (STSW-LINK004) jẹ wiwo sọfitiwia ti o ni kikun fun siseto STM32 microcontrollers
  • FP-SNS-MOTENV1
  • Daakọ .zip naa file akoonu ti famuwia package sinu folda lori PC rẹ.
  • Awọn package ni awọn koodu orisun example (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

Eto Ipariview: STM32 Nucleo pẹlu Imugboroosi lọọgan 

HW prequisites

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)
  • 1x Android tabi ẹrọ 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
  • 1x USB iru A to Micro-B okun USB fun NUCLO-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

Eto Ipariview

Bẹrẹ ifaminsi ni iṣẹju diẹ (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)Lo awọn alakomeji ti o ṣajọ tẹlẹ fun fiforukọṣilẹ ẹrọ rẹ, tabi yiyan tun-ṣajọ koodu naa fifi ijẹrisi ẹrọ rẹ kun

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

 

Bẹrẹ ifaminsi ni iṣẹju diẹ (2/3)

  1. Bii o ṣe le fi sori ẹrọ alakomeji ti a ṣajọ tẹlẹ:
    • 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)
    • Fun NUCLO-F401RE ati NUCLO-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”.
    • Fun NUCLO-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

Bẹrẹ ifaminsi ni iṣẹju diẹ (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:

  • Ṣe akopọ iṣẹ akanṣe pẹlu IDE ti o fẹSTmicroelectronics-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:
    • Ni kikun Flash Nu
    • Filaṣi BootLoader ọtun ni ipo ti o tọ (0x08000000)
    • Flash the MOTENV1 firmware at the right position (0x08004000)
  • Eyi ni famuwia ti a ṣe akojọpọ pẹlu IDE
  • Famuwia yii jẹ ibamu pẹlu ilana imudojuiwọn FOTA
    • Save a complete Binary FW that includes both MOTENV1 and the BootLoader
  • Alakomeji yii le tan imọlẹ taara si igbimọ STM32 ti o ni atilẹyin nipa lilo ST-Link tabi nipa ṣiṣe “Fa & Ju”
  • Akiyesi pataki: afikun alakomeji ti o ṣajọ tẹlẹ ko ni ibamu pẹlu ilana imudojuiwọn FOTA

Ṣaaju ki o to ṣiṣẹ iwe afọwọkọ * .sh, o jẹ dandan lati satunkọ rẹ lati ṣeto ọna fifi sori ẹrọ fun STM32CubeProgrammer.

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

Flash Management ati Boot ilana

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

Agbara kekere Bluetooth ati sọfitiwia sensọ

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

Ririnkiri Examples ST BLE Sensọ Ohun elo Loriview

Ohun elo sensọ ST BLE fun Android/iOS (1/6)

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

Ohun elo sensọ ST BLE fun Android/iOS (2/6)

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

Ohun elo sensọ ST BLE fun 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

Ohun elo sensọ ST BLE fun Android/iOS (4/6)

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

Ohun elo sensọ ST BLE fun 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.

Ohun elo sensọ ST BLE fun Android/iOS (6/6)

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

AKIYESI: If the mems expansion board used is not compliant with the firmware or not mounted

Awọn iwe aṣẹ & Awọn orisun ti o jọmọ

Gbogbo awọn iwe aṣẹ wa ni taabu Apẹrẹ ti awọn ọja ti o jọmọ weboju-iwe 

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
  • Eto software file

X-NUCLEO-BNRG2A1

  • Gerber files, BOM, Sikematiki
  • DB4086: Igbimọ Imugboroosi Agbara Low Bluetooth ti o da lori module BLUENRG-M2SP fun STM32 Nucleo - kukuru data
  • UM2667: Bibẹrẹ pẹlu igbimọ imugboroja X-NUCLEO-BNRG2A1 BLE ti o da lori module BLUENRG-M2SP fun STM32 Nucleo - itọnisọna olumulo

X-NUCLEO-IKS4A1

  • Gerber files, BOM, Sikematiki
  • 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

Kan si alagbawo www.st.com fun pipe akojọ

STM32 Ṣii Idagbasoke Ayika: Pariview

STM32 Ṣii Idagbasoke Ayika Yara, Iṣeduro Aṣaro ati Idagbasoke

  • Ayika Idagbasoke Ṣii STM32 (STM32 ODE) jẹ ṣiṣi, rọ, rọrun, ati ọna ti ifarada lati ṣe agbekalẹ awọn ẹrọ imotuntun ati awọn ohun elo ti o da lori idile microcontroller STM32 32-bit ni idapo pẹlu awọn paati ST-ti-ti-aworan miiran ti o sopọ nipasẹ awọn igbimọ imugboroja. O jẹ ki afọwọṣe iyara ṣiṣẹ pẹlu awọn paati iwaju-eti ti o le yipada ni iyara si awọn apẹrẹ ikẹhin

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

Fun alaye siwaju sii, jọwọ ṣabẹwo www.st.com/stm32ode

  • © STMicroelectronics – Gbogbo ẹtọ wa ni ipamọ. Aami ile-iṣẹ STMicroelectronics jẹ aami-iṣowo ti a forukọsilẹ ti ẹgbẹ awọn ile-iṣẹ STMicroelectronics. Gbogbo awọn orukọ miiran jẹ ohun-ini ti awọn oniwun wọn.

FAQs

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.

Awọn iwe aṣẹ / Awọn orisun

STmicroelectronics STM32Cube function pack for IoT node with BLE connectivity, environmental and motion sensors (FP-SNS-MOTENV1) [pdf] Itọsọna olumulo
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

Awọn itọkasi

Fi ọrọìwòye

Adirẹsi imeeli rẹ kii yoo ṣe atẹjade. Awọn aaye ti a beere ti wa ni samisi *