Quick Start Guide STM32 ODE Function Pack for connecting 6LoWPAN IoT Nodes to smartphone through a BLE interface (FP-NET-6LPBLE1) Version 1.1 (Jan. 30, 2017)
Page 2
Quick Start Guide Contents FP-NET-6LPBLE1: STM32 ODE Function Pack for connecting 6LoWPAN IoT Nodes to smartphone through a BLE interface Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 3
Hardware Description • The X-NUCLEO-IDB05A1 is a Bluetooth Low Energy (BLE) evaluation and development board system, designed around ST’s SPBTLE-RF Bluetooth Low Energy module based on BlueNRG-MS. • The BlueNRG-MS processor hosted in the SPBTLE-RF module communicates with the STM32 Nucleo developer board host microcontroller though an SPI link available on the Arduino UNO R3 connector.
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
BLE & 6LoWPAN software (FP-NET-6LPBLE1) Software Overview FP-NET-6LPBLE1 Software Description FP-NET-6LPBLE1 is an STM32 ODE Function Pack. This Overall Software Architecture package provides application layer bridging functionality to connect a 6LoWPAN network made of SPIRIT1 based sub-1 GHz RF communication sensor nodes to a device in a BLE network, such as a smartphone or tablet, allowing the control of the sensor nodes by an app.
Page 7
Quick Start Guide Contents FP-NET-6LPBLE1: STM32 ODE Function Pack for connecting 6LoWPAN IoT Nodes to Smartphone through a BLE Interface Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 8
Setup & Demo Examples H/W prerequisites • 1x Sub-1GHz RF expansion board (X-NUCLEO-IDS01A4 or X-NUCLEO-IDS01A5) • 1x Bluetooth Low Energy Expansion Board (X-NUCLEO-IDB05A1) • 1x STM32 Nucleo development board (NUCLEO-F401RE) • 1x BLE-enabled Android™ device • 1x PC with Windows 7, 8 or 10 NUCLEO-F401RE •...
Page 9
Setup & Demo Examples S/W prerequisites • STSW-LINK009 • ST-LINK/V2-1 USB driver • STSW-LINK007 • ST-LINK/V2-1 firmware upgrade • FP-NET-6LPBLE1 • Copy the zip file content into a folder on your PC • The package will contain source code example (Keil, IAR, System Workbench for STM32 for NUCLEO-F401RE •...
Page 10
FP-NET-6LPBLE1 Bluetooth low energy & 6LoWPAN software FP-NET-6LPBLE1 package structure www.st.com/stm32ode-fp Docs BSP, HAL and drivers www.st.com Application example Download & unpack Select FP-NET-6LPBLE1 Android™ smartphone application Sub-GHz 6LoWPAN Compile / Flash and Run the project...
Page 11
Wireless Sensor Network Scenario Android Application Sensor Node Sensor Node Sensor Node Sub GHz 6lowpan Border router Sensor Node BTLE BLE Border Router Sensor Nodes User Interface...
Page 12
Sensors Data Transmission LED Indicates Sensors Node Border Router Ongoing Data (NUCLEO-F401RE (NUCLEO-F401RE Transmission X-NUCLEO-IDS01A4 (868 MHz) X-NUCLEO-IDS01A4 (868 MHz) X-NUCLEO-IDS01A5 (915 MHz) X-NUCLEO-IDS01A5 (915 MHz) X-NUCLEO-IKS01A1) X-NUCLEO-IDB05A1)
Page 13
Install Android Application(1/2) • Copy Smart_Sensor.apk in Android Smart Phone Memory. • With the File explorer, user can locate the Smart_Sensor.apk and install on the phone. • Once installed, launch the application on the mobile phone. • The application validated on following Smart Phones : •...
Page 14
Install Android Application(2/2) • User needs to download File Explorer from Google Play store.
Page 15
Power ON Border Router And Nodes Mini USB Border Router Sensors Nodes...
Page 16
Execute Android Application(1/5) Smart Sensor App Go to Settings & Select BLE Module...
Page 18
Execute Android Application(3/5) As soon as node connects to Border router, LED “LD2” will Toggle Select 6LoWPAN Option...
Page 19
Execute Android Application(4/5) Select Node IP address See the Sensor Values...
Page 20
Execute Android Application(5/5) See the Mesh Network Tree Select 6LoWPAN Mesh Option...
Page 21
FP-NET-6LPBLE1 • DB3011: STM32 ODE function pack for connecting 6LoWPAN IoT nodes to smartphones via BLE interface – data brief • UM2102: Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface – user manual •...
Page 22
Quick Start Guide Contents FP-NET-6LPBLE1: STM32 ODE Function Pack for connecting 6LoWPAN IoT Nodes to Smartphone through a BLE Interface Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 23
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 24
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 25
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 27
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 STM32 ODE and is the answer not in the manual?
Questions and answers