background image

Version 1.3 (May 27, 2019)

Quick Start Guide

STM32Cube function pack for IoT tracker node with 
LoRa connectivity, GNSS and sensors

(FP-ATR-LORA1)

Summary of Contents for STM32Cube

Page 1: ...Version 1 3 May 27 2019 Quick Start Guide STM32Cube function pack for IoT tracker node with LoRa connectivity GNSS and sensors FP ATR LORA1...

Page 2: ...s 2 FP ATR LORA1 STM32Cube function pack for IoT tracker node with LoRa connectivity GNSS and sensors Hardware and Software overview Setup Demo Examples Documents Related Resources STM32 Open Developm...

Page 3: ...ATR LORA1 STM32Cube function pack for IoT tracker node with LoRa connectivity GNSS and sensors is available for two platforms modular and integrated X NUCLEO IKS01A2 LSM6DSL LPS22HB HTS221 X NUCLEO GN...

Page 4: ...L072Z LRWAN1 Discovery kit includes LoRa Sigfox RF interface LEDs pushbuttons antenna Arduino Uno V3 connectors USB 2 0 FS connector in Micro B format The integrated ST LINK V2 1 provides an embedded...

Page 5: ...The Teseo LIV3F module runs complete GNSS firmware X CUBE GNSS1 to perform all GNSS operations including acquisition tracking navigation and data output without external memory support The X NUCLEO GN...

Page 6: ...Socket available for additional MEMS adapters and other sensors UV index DIL 24 pin Motion MEMS and environmental sensors expansion board Hardware Overview 6 X NUCLEO IKS01A2 Hardware Description The...

Page 7: ...ring motion LIS2DW12 and environmental HTS221 and LPS22HB sensors The board also transmits and receives data to and from the cloud over a LoRaWAN network The STEVAL STRKT01 is a LiPo battery operated...

Page 8: ...ndalone module based on TESEO III STBC02 Li Ion linear battery charger with LDO load switches and reset generator ST1PS01EJR 400mA Nano Quiescent Synchronous step down converter with voltage selection...

Page 9: ...S module the motion and environmental sensors and the power management Key features Complete firmware to connect an IoT node to a LoRaWAN network sending geo position coming from GNSS and environmenta...

Page 10: ...FP ATR LORA1 STM32Cube function pack for IoT tracker node with LoRa connectivity GNSS and sensors Hardware and Software overview Setup Application Examples Documents Related Resources STM32 Open Deve...

Page 11: ...X NUCLEO GNSS1A1 with GPS antenna 1x motion mems and environmental sensors expansion board X NUCLEO IKS01A2 1x STM32L0 Discovery kit LoRa B L072Z LRWAN1 LoRa gateway Multitech Conduit Laptop PC with...

Page 12: ...FP ATR LORA1 hardware setup on STM32 discovery and Expansion boards 12 X NUCLEO GNSS1A1 X NUCLEO IKS01A2 B L072Z LRWAN1 GNSS MEMS...

Page 13: ...mpers must be open J3 J5 J6 J7 J8 and J10 the following jumpers must be closed J2 J4 J9 J11 J12 J13 J14 and J15 On the X NUCLEO IKS01A2 expansion board the solder bridge SB25 must be unsoldered On the...

Page 14: ...ATR LORA1 hardware setup on STEVAL STRKT01 14 STEVAL STRKT01 system start up Connect LoRa Antenna into J101 and assembly the board as follow Power on Push SW400 more than 1 25s Or plug USB cable SW40...

Page 15: ...5 poles cable or by plugging directly on the STlink connector Pin1 CON4 of ST LINKV2 has to be connected to Pin5 CON 501 of STEVAL STRKT01 Connect a USB A to TypeC adapter to the PC Connect the typeC...

Page 16: ...t com copy the zip file content into a folder on your PC The package contains binaries and source code with project files for several IDEs Keil IAR System Workbench for B L072Z LRWAN1 discovery kit or...

Page 17: ...tain AppEUI and AppKey copy them in source code and recompile the project according to the selected IDE FP ATR LORA1 package structure LoRa GNSS and USB 2 0 libs Asset_Tracker sample application pre c...

Page 18: ...RKT01 Applications LoRa Asset_Tracker Binary STEVAL_STRKT01_868 bin Entire application FP ATR LORA1 for US region 915MHz Projects STEVAL STRKT01 Applications LoRa Asset_Tracker Binary STEVAL_STRKT01_9...

Page 19: ...by step setup Launch sample application Configure Serial Terminal Open serial terminal then configure baud rate speed to 115200 Setup Serial port in TeraTerm Also set transmit delays to a value bigge...

Page 20: ...LORA1 Step by step setup Launch sample application Configure Serial Terminal In Terminal configuration Setup Terminal in TeraTerm enable Local Echo and set newlines to AUTO for Receive and CR LF for...

Page 21: ...FP ATR LORA1 Step by step setup Launch sample application On first run take note of the unique DevEUI string which will be used later AppEui and AppKey strings will be set later 21...

Page 22: ...1 Step by step setup Launch sample application Connect to the LoRa gateway by either serial interface with settings 115200 N81 or web interface and take note of the device MAC address which will be us...

Page 23: ...FP ATR LORA1 Step by step setup Create Loriot account Register a free account on one of the Loriot servers at https www loriot io 23...

Page 24: ...FP ATR LORA1 Step by step setup Loriot dashboard 24 Gateways widget Applications widget...

Page 25: ...lect your gateway model from the list suggested Multitech Conduit Provide your gateway MAC address After gateway registration a specific firmware needs to be installed on the gateway To download and i...

Page 26: ...FP ATR LORA1 Step by step setup LoRa gateway setup 2 4 26...

Page 27: ...FP ATR LORA1 Step by step setup LoRa gateway setup 3 4 27...

Page 28: ...A1 Step by step setup LoRa gateway setup 4 4 Detailed installation instructions for each gateway model are provided by clicking the Documentation button in the dashboard and then under the Setup guide...

Page 29: ...d take note this is the Application EUI string Click on output and then select Cayenne from the list see slide 30 Then click on Manage devices to enter the devices page Click on the Enroll new device...

Page 30: ...FP ATR LORA1 Step by step setup Application output setup 30...

Page 31: ...FP ATR LORA1 Step by step setup Device page 31...

Page 32: ...the following commands on serial interface deviceeui xxxxxxxxxxxxxxxx to set Device EUI joineui xxxxxxxxxxxxxxxx to set Application EUI appkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx to set Application Key n...

Page 33: ...oject file to add the keys manually Lorawan App inc Commissioning h in the project related to your hardware B L072Z LRWAN1 or STEVAL STRKT01 Copy the AppEUI key after the define LORAWAN_JOIN_EUI Copy...

Page 34: ...FP ATR LORA1 Step by step setup Cayenne sign in Create a new free account on Cayenne website at https cayenne mydevices com cayenne signup 34...

Page 35: ...FP ATR LORA1 Step by step setup Add new LoRa device 1 2 Create a new device by clicking on Add new and Device Select device class LoRa Loriot Browse the devices list and select STM32 B L072Z LRWAN1 35...

Page 36: ...oriot server used for registration Add Loriot AppID from Application ID in Loriot dashboard Add Loriot token which can be found by clicking on Access tokens in Loriot dashboard see next slide The foll...

Page 37: ...FP ATR LORA1 Step by step setup Add new LoRa device 2 2 37...

Page 38: ...a LoRa message send by either MEMS event shake the boards by pushing user button or by timer Send environmental sensors data accelerometer axes and geo position to LoRaWAN network Leave the board stat...

Page 39: ...FP ATR LORA1 Step by step setup Display data on Cayenne dashboard 39...

Page 40: ...s 40 FP ATR LORA1 STM32Cube function pack for IoT tracker node with LoRa connectivity GNSS and sensors Hardware and Software overview Setup Demo Examples Documents Related Resources STM32 Open Develop...

Page 41: ...on Teseo LIV3F module for STM32 Nucleo data brief UM2327 Getting started with the X NUCLEO GNSS1A1 expansion board based on Teseo LIV3F tiny GNSS module for STM32 Nucleo user manual X NUCLEO IKS01A2 G...

Page 42: ...vironment ODE consists of a set of stackable boards and a modular open SW environment designed around the STM32 microcontroller family www st com stm32ode Function Packs FP STM32Cube development softw...

Page 43: ...ra low power to high performance ST morpho extension header STM32 Nucleo Development Boards NUCLEO A comprehensive range of affordable development boards for all the STM32 microcontroller series with...

Page 44: ...additional functionality that can be plugged directly on top of the STM32 Nucleo development board directly or stacked on another expansion board 44 DIL24 support for new devices Motion MEMS sensors...

Page 45: ...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 Ecli...

Page 46: ...ophone Pressure temperature humidity Bluetooth LE Sub GHz radio NFC Wi Fi GNSS Energy management battery General purpose microcontrollers Stepper motor driver DC BLDC motor driver Audio amplifier COLL...

Reviews: