Page 1
Quick Start Guide STM32Cube Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1GHz RF communication (FP-SNS-6LPNODE1) Version 1.4 (April.10, 2019)
Page 2
Quick Start Guide Contents FP-SNS-6LPNODE1: STM32Cube Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1GHz RF communication Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
S2-LP radio and operates in the 868 MHz ISM frequency band • The expansion board is compatible with ST morpho and Arduino UNO R3 connectors. The X-NUCLEO- S2868A1 interfaces with the STM32 Nucleo microcontroller via SPI connections and GPIO pins.
Page 4
SPSGRF-868 or EEPROM 64 Kbit SPI bus EEPROM with high-speed clock SPSGRF-915 (*) (*) Identification of the operating frequency of the X-NUCLEO- IDS01Ax (x=4 or 5) is performed through two resistors (R14 and R15). Latest info available at www.st.com X-NUCLEO-IDS01A4 X-NUCLEO-IDS01A5...
Page 5
The X-NUCLEO-IKS01A1 is a motion MEMS and environmental sensor evaluation board system. • It is compatible with the Arduino UNO R3 connector layout, and is designed around ST’s latest sensors. Key Features • The X-NUCLEO-IKS01A1 is a motion MEMS and environmental sensor evaluation board system.
Page 6
The X-NUCLEO-IKS01A2 is a motion MEMS and environmental sensor evaluation board system. • It is compatible with the Arduino UNO R3 connector layout, and is designed around ST’s latest sensors. Key products on board LSM6DSL MEMS 3D accelerometer (±2/±4/±8/±16 g) + 3D gyroscope (±125/±245/±500/±1000/±2000 dps)
Page 7
X-NUCLEO-6180XA1 Hardware Description • The X-NUCLEO-6180XA1 is proximity and ambient light sensor evaluation and development board system, designed around VL6180X, a device based on ST’s FlightSense , Time-of- Flight technology. • The VL6180X communicates with STM32 Nucleo developer board host microcontroller through an I2C link available on the Arduino UNO R3 connector.
FP-SNS-6LPNODE1 FP-SNS-6LPNODE1 Software Description FP-SNS-6LPNODE1 is an STM32Cube Function Pack. Thanks to Software Overview this package you can connect your IoT node to a 6LoWPAN Wireless Sensors Network and expose the sensors and actuator resources using standard application layer protocols. This software...
Page 9
Quick Start Guide Contents FP-SNS-6LPNODE1: STM32Cube Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1GHz RF communication Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 10
1x PC with Windows 7, 8 or 10 • 1x USB type A to Mini-B USB cable Mini USB • The FP-SNS-6LPNODE1 package contains some sample applications for demonstration and evaluation X-NUCLEO-IDS01A4 purpose for three different wireless node configurations, X-NUCLEO-6180XA1...
Page 11
Setup & Demo Examples HW prerequisites (2/2 • Important Note If using X-NUCLEO-IKS01A1 and X-NUCLEO-S2868A1, to avoid a resource conflict, the 0 Ω resistor at position SB21 on the X- NUCLEO-IKS01A1 must be usage removed...
Page 12
Setup & Demo Examples SW prerequisites • STSW-LINK009: • ST-LINK/V2-1 USB driver • STSW-LINK007: • ST-LINK/V2-1 firmware upgrade • FP-SNS-6LPNODE1 • Copy the .zip file content into a folder on your PC • The package will contain source code example (Keil, IAR, System Workbench for STM32) based...
Page 13
Go to www.st.com/stm32ode-fp FP-SNS-6LPNODE1 package structure Select FP-SNS-6LPNODE1 HTML Docs BSP, HAL and Drivers 6LoWPAN stack Application examples Download & unpack FP-SNS-6LPNODE1 Download and install STM32 Nucleo ST-LINK/V2-1 USB driver Modify and build the application Open project example, e.g. “ipso-mems”...
Page 14
FP-SNS-6LPNODE1 System Overview – End-to-End Deployment Example Wireless Sensors Node (example) Hardware: NUCLEO-F410RE + X-NUCLEO- S2868A1 (sub-1 GHz) + X-NUCLEO-6180XA1 (Time of flight sensor) Software: FP-SNS-6LPNODE1 package, Application “ipso-flightsense” application Server REST Access to the (e.g. Leshan LWM2M) Wireless Nodes Resources...
Page 15
FP-SNS-6LPNODE1 6LoWPAN-to-Wi-Fi Bridge Setup 6LoWPAN to Wi-Fi bridge Setup 6LoWPAN-WiFi Bridge Go to www.st.com/stm32ode-fp FP-NET-6LPWIFI1 Package Wi-Fi AP/Router Select the FP-NET-6LPWIFI1 package Follow the installation instructions to configure and connect the bridge to a Wi-Fi AP/Router USB type A to Mini-B USB cable...
Page 16
FP-SNS-6LPNODE1 Wireless Sensors Node Setup (1/4) Go to www.st.com/stm32ode-fp Select the FP-SNS-6LPNODE1 package, download and extract the zip file Wireless Sensors Node Select one of the three supported wireless nodes hardware configuration, assemble the STM32 Nucleo and X-NUCLEO expansion boards, connect the...
Page 17
FP-SNS-6LPNODE1 Wireless Sensors Node Setup (2/4) Wait for the node (acting in this example as a LWM2M client) to complete the registration with the LWM2M server. If the client registration is successful, this will be notified by the node. Take note of the client ID...
Page 18
FP-SNS-6LPNODE1 Wireless Sensors Node Setup (3/4) Click on the corresponding Client Endpoint to visualize the client homepage on the Leshan server: the available resources hosted on the wireless sensor node are listed on the web page...
Page 19
FP-SNS-6LPNODE1 Wireless Sensors Node Setup (4/4) Click either on “Observe” or “Read” to access one or more resources on the node (for example the temperature sensor data). “Observe” is a feature that enables to get updates of sensor data when they change, while “Read”...
Page 20
FP-NET-6LPNODE1 Additional LWM2M Demo Setup Tips (1/2) • It is recommended - especially when using the public Leshan LWM2M server – to avoid using a host PC that is inside a network behind a proxy (which typically happens in corporate networks) this proxy may create issues, in particular with the visualization of the notifications •...
Page 21
FP-NET-6LPNODE1 Additional LWM2M Demo Setup Tips (2/2) • The following table contains a list of actually observable resources • Note that observing other resources not listed here might have side effects due to the current LWM2M server implementation • Note that in case of observation some thresholds and timers apply. For example, don’t expect the presence sensor to react in less than one second, or a new temperature sensor reading to be sent every few seconds Object Object...
Page 22
DB3010: STM32Cube Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1GHz RF communication – Data brief • UM2100: Getting started with FP-SNS-6LPNODE1 software for IoT sensor node connection to 6LoWPAN networks using sub- 1GHz RF – User Manual •...
Page 23
• AN4663: VL6180X expansion boards - Description of version 1 and version 2 – Application note • UM1852: Proximity and ambient light sensor expansion board based on VL6180X for STM32 Nucleo – User manual Consult www.st.com for the complete list...
Page 24
Quick Start Guide Contents FP-SNS-6LPNODE1: STM32Cube Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1GHz RF communication Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 25
The STM32 Open Development Environment (ODE) consists of a set of stackable boards and a modular open SW environment designed around the STM32 microcontroller family. STM32 Nucleo STM32Cube expansion boards development software (X-NUCLEO) STM32Cube STM32 Nucleo expansion software development boards (X-CUBE) Function Packs (FP) www.st.com/stm32ode...
Page 26
Power supply STM32 microcontroller through USB or external source Integrated debugging Complete product range and programming from ultra-low power to high-performance ST-LINK probe ST morpho extension header Arduino™ UNO R3 extension headers www.st.com/stm32nucleo...
Page 27
Boards with additional functionality that can be plugged directly on top of the STM32 Nucleo development board directly or stacked on another expansion board. Connect Power Move/Actuate Interact Sense Motion MEMS sensors Environmental sensors DIL24 support for new devices Example of STM32 expansion board (X-NUCLEO-IKS01A1) www.st.com/x-nucleo...
Environment is compatible with a number of IDEs including IAR EWARM, Keil MDK, and GCC-based environments. Users can choose from three IDEs from leading vendors, which are free of charge and deployed in close cooperation with ST. These include Eclipse-based IDEs such as Ac6 System Workbench for STM32 and the MDK-ARM environment.
Page 29
NFC, Wi-Fi, GNSS Audio amplifier ACCESS Touch controller Translate Operation Amplifier CREATE Move / Stepper motor driver DC & BLDC motor driver Actuate Industrial input / output POWER Power Energy management & battery General-purpose microcontrollers PROCESS Process Secure microcontrollers www.st.com/stm32ode Software...
Need help?
Do you have a question about the FP-SNS-6LPNODE1 and is the answer not in the manual?
Questions and answers