STM32L4 Discovery Kit IoT Node Hands-on Workshop

Size: px
Start display at page:

Download "STM32L4 Discovery Kit IoT Node Hands-on Workshop"

Transcription

1 STM32L4 Discovery Kit IoT Node Hands-on Workshop Tim Nakonsut Vikas Manocha Badreddine Baroudi V1.2

2 Presentation Agenda 2 Training Material Installation Overview of the STM32 Portfolio IAR Installation Overview of the STM32L475 Overview of the STM32L4 Discovery Kit IoT Node STM32Cube Introduction IAR License Installation ST-Link Utility Installation Lab 1 : Getting Started with STM32CubeMX - Blinky LED Bluetooth Low Energy Overview Lab 2 : Bluetooth Low Energy Pairing Wi-Fi Module Overview Amazon AWS IoT Overview Lab 3 : Creating your Device ( Thing ) on AWS Lab 4 : Connect to AWS IoT & Send Sensor Data Lab 5 : Connect to a Different MQTT Topic Alexa Voice Demo

3 Training Material Installation

4 Training Material Installation 4 Each participant should have received a USB Flash drive. It contains the Seminar Installer. This will install Tera Term, the latest Java, STM32CubeMX, STM32CubeL4 HAL, and extract the seminar file to C:\STM32IoTDKCloudSeminar. Please insert the USB Drive to your machine. Copy all the files to your desktop and execute the installer (Run as Admin) (STM32_IoT_DK_Cloud_Training_Installer.exe). At the end of the training material installation, we will continue with ST- Link Utility and IAR installation.

5 Workshop Directory Content 5 1. Alexa Skill Code 2. Thing Certificates 3. Documents 4. Hands on 5. IAR 6. Software

6 Overview of the STM32 Portfolio

7 Today - STM32 Portfolio 7 10 product series / More than 40 product lines High-performance CoreMark 400 MHz 856 DMIPS 398 CoreMark 120 MHz 150 DMIPS 608 CoreMark 180 MHz 225 DMIPS CoreMark 216 MHz 462 DMIPS Mainstream 106 CoreMark 48 MHz 38 DMIPS 177 CoreMark 72 MHz 61 DMIPS 245 CoreMark* 72 MHz 90 DMIPS (*) from CCM-SRAM Ultra-low-power 75 CoreMark 32 MHz 26 DMIPS 93 CoreMark 32 MHz 33 DMIPS 273 CoreMark 80 MHz 100 DMIPS Cortex-M0 Cortex-M0+ Cortex-M3 Cortex-M4 Cortex-M7

8 What is the MCU Ecosystem? 8 All collaterals required to develop with an MCU Hardware Development Tools Software Development Tools Evaluation boards Debug and Programming Probes Configuration Tools Development & Debugging Tools Monitoring Tools Ecosystem Embedded Software Information and sharing Drivers RTOS Stacks and Application Bricks Web site Product selectors Communities & Social Media

9 Hardware Development Tools 9 STM32 Nucleo Discovery kits Evaluation boards 3 rd parties Typical use case Extension possibilities Connectivity Flexible prototyping, Community Arduino ST Morpho Prototyping, Creative demos ST Full feature evaluation ST From full evaluation to open hardware

10 STM32 Ecosystem SW Development Tools 10 A complete flow, from configuration up to monitoring FREE IDE s STM32CubeMX Configure & Generate Code Partners IDEs Compile and Debug STMStudio Monitor

11 STM32 ODE Platform 11

12 IAR Installation

13 IAR Installation 13 Run the IAR professional tool suite installer: C:\STM32IoTDKCloudSeminar\IAR. From the installer menu select Install IAR Embedded Workbench.

14 IAR USB Driver Installation 14 De-select all the USB drivers when IAR prompts you to install the USB drivers. This will speed-up IAR installation. ST-Link driver will be installed later.

15 Overview of the STM32L475

16 Key features Overview of the STM32L Cortex M4 with DSP, 80MHz and ART 1.71V 3.6V supply 80 MHz Full functional 1MB Flash dual bank/ 128KB RAM USB OTG FS LPM Battery Charging Detection 3 x Ultra-low-power 12-bit ADC 5 MSPS Touch-Sensing 24 channels Ultra-low power VBAT Better Wake Up time vs. STM32L1 Down to 160µA/MHz dynamic I²C FM+ SPI: variable data length USART LP UART & 16-bit Timer FSMC, Quad SPI CAN, SWPMI, SDMMC, 2x SAI Digital filter for Sigma delta modulator 17 x timers Analog: Op-Amps, comparators, DAC, VREF, temperature sensor RNG

17 Overview of the STM32L4 Discovery Kit IoT Node

18 STM32L4 Discovery Kit IoT Node 18 Get connected seamlessly! Smart Nodes Network Servers

19 STM32L4 Discovery Kit IoT Node 19 Open the door to remote services Direct connection to cloud servers Low-power long-range communication Environmental awareness: humidity, pressure, temp Smart Nodes Detection hub: motion, proximity, audio

20 STM32L4 Discovery Kit IoT Node 20 Multi-link communication, multiway sensing Arduino Connector USB-OTG User LEDs Wi-Fi Power ST-Link + VCP ST-Link Status LED User Button Sub GHz Reset Button QSPI Flash STM32L475VG MEMS Microphone NFC EEPROM Bluetooth Low Energy TOF Sensor MEMS Microphone Humidity and Temperature PMOD Gyro/Accell Pressure Arduino Connector Magnetometer

21 Comprehensive Software Libraries 21 Instant showcase SW Libraries for STM32L4 mcu & sensors Connectivity SW protocol stacks Cloud service connectors (AWS) Demo examples (X-CUBE-AWS)

22 Wireless Connectivity Wi-Fi 22 Inventek ISM43362 Wi-Fi Module b/g/n compliant module based on a Broadcom MAC/Baseband/Radio device Fully contained TCP/IP stack minimizing host CPU requirements FCC and CE certified Secure Wi-Fi authentication supporting WEP-128, WPA-PSK (TKIP), WPA2-PSK

23 Wireless Connectivity - Bluetooth 23 ST SPBTLE-RF Bluetooth Low Energy Module Based on our ST BlueNRG-MS Wireless Network Processor Bluetooth Low Energy 4.1 compliant FCC and BQ certified module with integrated balun & antenna

24 Wireless Connectivity - SubGHz 24 ST SPSGRF-915 Sub-GHz Module (915 MHz - US) FCC and IC certified module with integrated balun & antenna Supports 2-FSK, GFSK, MSK, GMSK, OOK and ASK modulation schemes Long range (100s of meters) with an air data rate from 1 to 500 kbps

25 Wireless Connectivity - NFC 25 ST M24SR64-Y Dynamic NFC/RFID Tag NFC Forum Type 4 Tag ISO/IEC Type A 106 Kbps Data Rate

26 Wired Connectivity Features 26 ST-Link V2 Programming and Debug Interface USB OTG FS Full Speed USB On-The-Go Communication Interface PMOD Peripheral Module Interface Supporting GSM, GPS, etc Arduino Connectors Arduino Compatible Connectors to Interface with Additional ST X-NUCLEO or 3rd Party Expansion Board (eg: LoRa)

27 ST Sensors 27 Full Range of Motion & Environmental MEMS Sensors LSM6DSL Accelerometer + Gyroscope Sensor LIS3MDL Magnetometer Sensor HTS221 Humidity + Temperature Sensor LPS22HB Pressure Sensor Integrated High Accuracy Proximity/Range Sensor VL53L0X Time-of-Flight Range Sensor Digital Microphones MP34DT01 MEMS Digital Microphones Voice & Audio Recognition Functions Acoustic Beam Forming using the ST Open Software Acoustic Beam Forming Library

28 User Resource Features 28 Reset and User Buttons Board Reset and Programmable Application Buttons User LEDs Programmable Application LEDs QSPI Flash 64Mbit for Data Storage and Program Execution Selectable Power Supply ST-Link, USB-OTG, Arduino or External Power

29 Advantages of a Single Board 29 Easily Debug Hardware Issues. Included Collateral is Tightly Coupled BSP Included for all Board Components Cloud Connectivity Reference Solutions Included Cost Effective Development Solution (~$60) No Need to Manage & Order Multiple Board SKUs.

30 Early access during the ST Tech Tour Availability 30 Part number Samples Mass Market Availability SubGHz frequency band Regions with authorized use B-L475E-IOT01A1 NOW NOW 915 MHz US B-L475E-IOT01A2 NOW June MHz Rest of the World

31 STM32Cube TM Introduction

32 STM32Cube TM Introduction 32 STM32Cube TM includes: STM32CubeMX, a configuration tool for generating user driven initialization Firmware collateral, delivered for every STM32 device series (i.e. STM32CubeF4) with: An STM32 Abstraction Layer embedded software: STM32Cube HAL A consistent set of Middleware: RTOS, USB, TCP/IP, Graphics, STM32CubeMX STM32CubeL0 STM32CubeL1 STM32CubeF4 STM32CubeF0 STM32CubeF2 STM32CubeF1 STM32CubeF3

33 STM32CubeMX 33 Pinout Wizard Peripherals & Middleware Wizard Clock Tree wizard Power Consumption Wizard

34 STM32CubeMX 34 Generates Initialization C Code based on user driven configuration!

35 STM32CubeMX : MCU Selector 35 Filter by: Part Number Core Series Line Package Peripherals

36 STM32CubeMX : Pin-out Configuration 36 Pinout from: Peripheral tree Manually Automatic signal remapping Management of dependencies between peripherals

37 STM32CubeMX : Clock Tree 37 Immediate display of all clock values Management of all clock constraints Highlight of errors

38 STM32CubeMX : Peripheral Configuration 38 Global view of used peripherals and middleware Highlight of configuration errors Manage: GPIO Interrupts DMA

39 STM32CubeMX : Power Consumption Calculator 39 Power step definitions Battery selection Creation of consumption graph Display of Average consumption Average DMIPS Battery lifetime

40 STM32Cube : Firmware Components 40 Evaluation boards Discovery boards Nucleo boards Board Demonstrations Middleware level Applications Networking LwIP TCP/IP & Polar SSL USB Host & Device Graphics STemWin File system FATFS RTOS FreeRTOS Utilities Middleware HAL level Examples CMSIS Hardware Abstraction Layer API Board Support Packages Drivers STM32L431 STM32L443 STM32L475 STM32L486 L4 Family

41 IAR License Installation

42 IAR License Installation 42 Open IAR Go to Help->License Manager Go to License->Offline Activation Use C:\STM32IoTDKCloudSeminar\IAR\ActivationResponse.txt for the activation response.

43 ST-Link Utility Installation

44 ST-Link Utility Installation 44 The ST-Link Utility provides typical flash program / erase / upload / download functions via the ST-LINK/V2 debugger, onboard the STM32L475 Discovery Kit IoT Node Board. It also installs the Windows device drivers necessary for the ST-LINK/V2 debugger. Run the installer that can be found at: C:\STM32IoTDKCloudSeminar\Software\STM32 ST-LINK Utility.exe

45 Board Distribution Participant Number (2 characters) Each board package will have a label with a unique number. During the lab sessions, this number will be referred to as your Participant Number.

46 ST-Link Driver Installation 46 Connect USB ST-LINK to your PC. The board is powered thorough ST-LINK. The ST-Link Status LED will be steady when ST-Link is recognized. ST-Link + VCP ST-Link Status LED

47 Lab1: Getting Started with STM32CubeMX Blinky LED

48 Create New Project From your desktop open STM32CubeMX software. 2. Click New Project

49 Select the Microcontroller Under Series select STM32L4 2. Under Lines select STM32L4x5 3. Under Package select LQFP Select Part No STM32L475VG 5. Click Start Project

50 GPIO Selection 50 In this example we are going to use LED2 present on the DK IoT board. 1. Use the find toolbar and type PB Select PB14 and set it to GPIO_Output mode. PB14

51 GPIO Configuration Select the Configuration tab 1 2. Select GPIO under System. 2

52 GPIO Configuration Select PB Set the GPIO output level to High. 3. Set the Maximum output speed to Very High. 4. Set the User Label to LED Click OK 2 3 4

53 Project Settings Open the project Settings (Alt + P) Set the project name to Lab1. 3. Set the project location C:\STM32IoTDKCloudSeminar\Hands_on\ 4. Set the IDE Toolchain to EWARM Click OK. 4

54 Generate and Open the Project 54 Generate Code (Ctrl + Shift + G) Click Open Project.

55 Inside IAR EWARM 55 Build Button Debug Button Files Window Project Window

56 Configure IAR to Show Line Numbers Go to Tools Options 1 2. Select Editor 3. Check Show Line Numbers 4. Click OK 2 3

57 Edit main.c Expand the file tree: 1. Expand Lab1 2. Expand Application 3. Expand User 4. Click on main.c file Add the following code inside the while(1) loop (line 85): HAL_Delay(100); HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);

58 Load and Run Click the GREEN ARROW to Build the Project, Download and start the debugger. (Ctrl + D) 1 2. Click the triple-arrow GO button! (F5) 2 3. Enjoy the LED!

59 Bluetooth Low Energy Overview

60 What is Bluetooth Low Energy? 60 Bluetooth Low Energy technology Short range wireless ISM 2.4 GHz Optimized for ultra low power <15 ma peak current <50 ua average current Fast connection procedure Client server architecture Low data throughput application Security including privacy/authentication/authorization Based on encryption AES128 Master Role : Central Device (Scanning, Initiating Connection) Slave Role : Peripheral Device (Advertising)

61 Bluetooth Low Energy Branding Two flavors 2017 Back to one flavor Ultra low power consumption being a pure low energy implementation Months to years of lifetime on a standard coin cell battery An implementation of the Bluetooth core system has only one Primary Controller which may be one of the following configurations: BR/EDR Controller (3.0 and earlier) LE (low energy) Controller (4.0 and newer) Combined BR/EDR Controller portion and LE controller portion into a single Controller (4.0 and newer) Classic Bluetooth + Bluetooth low energy on a single chip These are the hub devices of the Bluetooth ecosystem Source: Bluetooth SIG

62 Bluetooth Low Energy Stack Partitioning 62 The application collects & computes the data to be transmitted over Bluetooth Low Energy. To transmit data, application use Bluetooth Low Energy stack services and characteristics capabilities thanks to standard or proprietary application profile. All communication in low energy takes place over the Generic Attribute Profile (GAP). PHY layer insures transmission over the air

63 ST BlueNRG-MS Solution 63 Integration Flexibility Low power Small size Single mode Bluetooth Low Energy wireless network processor 2.4GHz RF transceiver Cortex-M0 microcontroller (running the BT MS stack) AES 128-bit co-processor Master and Slave Mode Bluetooth Low Energy (4.1) Network Processor. On chip non-volatile Flash memory allows OTA stack upgrade. I CC RX 7.3mA I CC TX 0 dbm I CC Sleep 1.7µA I CC Shutdown 2.5nA + STM32 Consumption & Size Customer Code Library Source Code SPI Bus Binary

64 Lab 2 : Bluetooth Low Energy Pairing

65 Lab Goal 65 This lab will ensure that your BlueNRG device has a unique name and MAC address. This lab demonstrates how to drive a BlueNRG device, communicate with a smartphone and display heart rate data. The DK IoT Node will be used as server while the applet is a client. You need to download the STM32 BLE Profiles application available on App store and google play.

66 Open the BlueNRG_HandsOn Project 66 We are going to configure the BlueNRG_HandsOn program to give each BlueNRG module a unique MAC address and Unique device name. The device name will be used later to identify your board within the ST BLE Profiles app. 1. Close the previous IAR project. 2. Double click on the HR.eww file located under C:\STM32IoTDKCloudSeminar\Hands_On\BLE_and_Cloud\Projects\B-L475E- IOT01\Applications\BLE\HeartRate\EWARM

67 BlueNRG Module configuration (1/2) Open the config.h file and replace the XX in the CFG_ADV_BD_ADDRESS (line 182) with your participant number found on your box (Use decimal, 2 digits). 1

68 BlueNRG Module configuration (2/2) Open the hr.c file and replace the X, X in the local_name (line 244) table with your participant number (Use decimal, 2 digits). 2

69 Load and Run Click the GREEN ARROW to Build the Project, Download and start the debugger. (Ctrl + D) 1 2. Click the triple-arrow GO button! (F5) 2

70 Pair with STM32 BLE Profiles App Make sure Bluetooth is active on your phone 2. Using your phone, open the STM32 BLE Profiles app. 3. For ios users click on Scan. 4. Identify your device using the Device name HR_L475_IoT_XX, where XX is the number you entered during the board configuration. 5. Click on your device name. ios Android 3 4 4

71 Select the Heart Rate Profile Click Connect on the next screen (ios) 2. Click on Heart Rate under Services (ios) or Profiles (Android) 3. Click Heart Rate Measurement (ios) ios Android 2

72 Display HR Data 72 You should see the simulated heart rate. ios Android

73 Debug the Firmware 73 We are now going to set break points to stop program execution when a client is connected & disconnected to the device. 1. Keep the program running and open the hr.c file. 2. Set a break point at line 496 and line 532. To set a break point, left click on the left side of the code lin.

74 Debug the Firmware (Disconnect) From your phone disconnect from the device: A. Click on <180d> (ios) B. Click < Device (ios) C. Click Disconnect (ios and Android) A B C C 2. Once you disconnect the program will hit the break point at line 496 and stop execution.

75 Debug the Firmware (Connect) Resume code execution by pressing the Go button (F5) on IAR. 2. Connect to the device from your phone. 3. The program will now hit the break point at line 532.

76 Wi-Fi Module Overview

77 ISM43362-M3G-L44-E/U 77 The ISM43362-M3G-L44-E/U is an embedded 2.4 GHz Wi-Fi module from Inventek. The Wi-Fi module consists of a Broadcom BCM43362, an integrated antenna and an STM32F205 host processor with standard USB, SPI and UART interface capabilities. The Wi-Fi module has an integrated TCP/IP stack and requires only simple AT commands to establish connectivity for your wireless product.

78 Amazon AWS IoT Overview

79 What is Amazon AWS IoT? 79 The Amazon AWS IoT service enables secure, bidirectional communication between IoT devices and the cloud over MQTT, HTTP and WebSockets. AWS IoT devices are authenticated using TLS mutual authentication with X.509 certificates. Once a certificate is provisioned and activated it can be installed on a device. The device will then use that certificate for all requests to AWS MQTT.

80 What is TLS Mutual Authentication? 80 TLS mutual authentication is used to establish trust between two parties. Each party verifies the certificate provided by the other. Certificate Authorities (CA) like Verisign are an important part of the mutual authentication.

81 TLS Mutual Authentication Flow 81 TLS mutual authentication follows these steps: 1. A client request access to a protected resource 2. The server presents its certificate to the client 3. The client verifies the server s certificate 4. The client sends it s certificate to the server 5. The server verifies the client s certificate 6. The server gives access to the protected resource requested by the client server root cert Client 3 Verify server.cert Client.cert Client Private key 1 Request protected resource 2 Send server.cert 4 Send client.cert 6 Access protected resource Client root cert Server Private key Server 5 Verify client.cert server.cert

82 AWS Security Overview 82 AWS provides the device certificate and keys (AWS is the CA for the IoT device). AWS IoT Services & Authentication The certificates and keys should be installed on the device. The device will then use that certificate and key to authenticate itself and send all requests to AWS IoT. IoT node TCP/IP Application TLS Certs & Keys Device.cert To perform AWS IoT operations with your device, you must create an AWS IoT policy and attach it to your device certificate. Wi-Fi AT Command Device Private key AWS root.cert STM32 MQTT

83 AWS IoT Policies 83 AWS IoT policies are JSON* documents that authorize your device for performing AWS IoT operations. AWS IoT defines a set of policy actions describing the operations and resources for which you can grant or deny access. For example: iot:connect represents permission to connect to the AWS IoT message broker. iot:subscribe represents permission to subscribe to an MQTT topic or topic filter. iot:getthingshadow represents permission to get a thing shadow. * JavaScript Object Notation

84 AWS IoT Thing Shadow 84 A Thing Shadow (sometimes referred to as a Device Shadow) is a JSON document that is used to store and retrieve current state information for a Thing (device, app and so on). The Thing Shadow service maintains a persistent state of the device regardless of whether the device is connected to the Internet or not.

85 What Is JSON 85 JSON (JavaScript Object Notation) is an open standard lightweight data-interchange format. As a text document, it is easy for users to read and write, and for machines to parse and generate. JSON is completely language independent, but uses conventions that are familiar to C-family programmers including C, C++, C#, Java, JavaScript, Perl, Python and many others. { } "state": { "desired": { "LED_value": "On" } }

86 What is MQTT 86 MQTT stands for MQ Telemetry Transport. It is an extremely simple and lightweight messaging protocol, designed for constrained devices and low-bandwidth, high-latency or unreliable networks. Designers use MQTT to minimize network bandwidth and device resource requirements, while ensuring reliability and some degree of delivery assurance. These principles also turn out to make the protocol ideal in the emerging machine-to-machine (M2M) or Internet of Things world of connected devices, and for mobile applications where bandwidth and battery power are at a premium. Source:

87 How MQTT Works 87 MQTT uses a client/server model where every IoT device is a client and is connected to a server, called an MQTT broker (example AWS IoT). The clients send messages to an address, called a topic. The MQTT broker will forward that message to all the clients subscribed to that topic. Thing_x Publish On to the LED Topic Thing_y On LED MQTT Broker On Thing_z Subscribed to LED topic Subscribed to LED topic

88 Lab 3 : Creating your Device ( Thing ) on AWS

89 Lab Goal 89 In this lab you are going to: 1. Create a device on AWS IoT 2. Generate device certificate and keys 3. Create a policy for your device 4. Connect the certificate to the policy

90 Sign into AWS 90 We have created an AWS account for you to use today. Open the following URL: User Name: seminaruser Password: stm32iot

91 Open AWS IoT Service Make sure that you are connected to the Ohio server 2. Connect to the AWS IoT service by typing AWS IoT in the AWS services search bar. 3. Click on AWS IoT

92 Create a Thing (1/3) Start creating your device by selecting Registry. 2. Then select Things. 2 1

93 Create a Thing (2/3) 93 Click the Create button on the top right.

94 Create a Thing (3/3) Name your Thing_xx with xx being your participant number (decimal, 2 digits). Example: Thing_08, Thing_16 2. Click Create thing. 1 2

95 Create a Certificate (1/4) 95 Your thing has now been created. Select Interact.

96 Create a Certificate (2/4) Copy the Rest API Endpoint information to a text file. We ll need this later during the firmware configuration. 2. Then, click Security 2 1

97 Create a Certificate (3/4) 97 Click Create certificate.

98 Create a Certificate (4/4) Copy the certificate number to text file (just the number not the full name) 2. Save the following files to C:\STM32IoTDKCloudSeminar\Certificates A. Your Thing certificate (xxxxx.cert.pem), B. Your Thing Private key (xxxxx.private.key), C. AWS IoT Root CA (Right click on Download then save link as), 1 A B 3. Click Activate to activate the certificate. 3 C

99 Create a Policy (1/4) 99 Attach a policy to your device by clicking Attach a policy

100 Create a Policy (2/4) 100 Click Create new policy

101 Create a Policy (3/4) Name your policy Thing_xx_policy with xx being your participant number (Use decimal) 2. Under Action, type iot:* 3. Under Resource ARN, type * 4. Click Allow Click Create 5

102 Create a Policy (4/4) 102 Your policy has now been created. Click the gray arrow.

103 Attach a Policy (1/5) 103 Select Certificates under the Security menu.

104 Attach a Policy (2/5) Use the search bar to locate your certificate using the certificate number. 2. Click the in the top right corner of your certificate. 1 f3257d655d Ignore this message 2

105 Attach a Policy (3/5) 105 Click Attach policy.

106 Attach a Policy (4/5) Select your policy 2. Click Attach 1 2

107 Attach a policy (5/5) 107 Your policy has now been attached to your device certificate. We are done with the Thing creation on AWS. Next is firmware configuration.

108 Lab 4 : Connect to AWS IoT & Send Sensor Data

109 Lab Goal 109 In this lab you are going to connect your board to AWS IoT: 1. Load firmware on the STM32L4 Discovery Kit IoT Node 2. Set the Wi-Fi credentials 3. Set the AWS Root Certificate, the device Certificate and the device Private Key 4. Set the MQTT server address and your device name 5. Interact with your Thing

110 STM32L4 Discovery Kit IoT Node 110 User LEDs User Button Reset Button

111 Tera Term Configuration 1/2 111 First thing we need to configure Tera Term to communicate with ST-Link over the virtual com port. This will be used to configure the application and get debug information. 1. Open Tera Term and Select the STMicroelectronics STLink Virtual COM Port and click OK 2. Open Setup -> Serial port 3. Set the Baud rate to , 8 bit, Parity none, Stop 1 bit and Flow control none and click OK 3 1 2

112 Tera Term Configuration 2/ Open Setup->Terminal 2. Set New-Line Receive to AUTO 3. Set New-Line Transmit to LF 4. Enable Local echo 5. Click OK

113 Open AWS_HandsOn Project 113 Now we are going to configure the AWS firmware program to set the network SSID and password, set the AWS Certificates and establish an AWS IoT MQTT connection. 1. Close the previous IAR project. 2. Double click on file located under C:\STM32IoTDKCloudSeminar\Hands_On\BLE_and_Cloud\Projects\B-L475E- IOT01\Applications\Cloud\AWS\EWARM

114 Load and Run Click the GREEN ARROW to Build the Project, Download and start the debugger. (Ctrl + D) 1 2. Click the triple-arrow GO button! (F5) 2 3. Select the Tera Term window

115 Wi-Fi Configuration Set the SSID to stm32iot 2. Type 3 for the WPA2 Security mode 3. Use stm32iot for network password 1 2 3

116 Set the AWS Root-CA Certificate Open the VeriSign-Class 3-Public-Primary-Certification-Authority-G5.pem in a text editor 2. Copy the certificate content (Ctrl + A, Ctrl + C) 3. Paste the certificate in Tera Term (Click on the mouse right button. Do not use Ctrl + V) and click OK 4. Click Enter

117 Set your Thing Certificate Open your xxxx-certificate.pem.crt in a text editor 2. Copy the certificate content (Ctrl +A, Ctrl + C) 3. Paste the certificate in Tera Term (Click on the mouse right button. Do not use Ctrl + V) and click OK

118 Set your Thing Private Key Open your xxxx-private.pem.key in a text editor 2. Copy the certificate content (Ctrl +A, Ctrl + C) 3. Paste the certificate in Tera Term (Click on the mouse right button. Do not use Ctrl + V) and click OK

119 Set the Server and Thing Names Copy the server address from the text file and paste it to Tera Term, then press Enter 2. Set the device name to Thing_xx with xx being your participant number (decimal, 2 digits). Example: Thing_08, Thing_16

120 Send Data to AWS 120 The board will start sending sensor date once it is connected to AWS (every 10s for 10mn). Press the user button (the blue button) and the board send/receive LED messages to/from AWS IoT. The LED on your board will toggle every time the LED message is received. User LEDs User Button

121 Monitor your Thing Activity Select the AWS Console on your browser 2. Select Registry 3. Select Things, then select your Thing 4. Click on Activity

122 Interact with your Thing (1/2) Select MQTT Client 2. Under Publish type $aws/things/thing_xx/shadow/update with xx being your participant number 3. Clear any message and type the following message: { "state": { "desired": { "LED_value": "On" } } } Click Publish to topic and watch your board s LED

123 Interact with your Thing (2/2) Change the JSON message to turn your board s LED Off { } "state": { "desired": { "LED_value": "Off" } } 6. Change the publish topic to interact with another participant s board $aws/things/thing_yy/shadow/update 6 5

124 Lab 5: Connect to a Different MQTT Topic

125 Change the Subscription Topic 125 Now we are going to subscribe to the presenters publishing topic. The LED on your board will toggle every time the presenter presses the button on his board. 1. Open the subscribe_publish_sensor_values.c file. 2. Change the #if 0 to #if 1 (Line 353). 1 2

126 Load and Run Click the GREEN ARROW to Build the Project, Download and start the debugger. (Ctrl + D) 1 2. Click the triple-arrow GO button! (F5) 2

127 Verify your AWS connection Open Tera Term console. 2. Wait until the DK IoT board connects to AWS. 3. The LED on your board will toggle every time the presenter presses the button on his board.

128 Alexa Voice Demo

129 What is an Alexa Skill? 129 The Alexa skill is based on a speech recognition service that allows you to invoke a pre-specified lambda function. The Alexa skill uses an invocation name and intent to call the Lambda function. Alexa, ask S T M thirty two to turn the LED {status} Invocation name Intent

130 What is AWS Lambda Function 130 AWS Lambda is a compute service that lets you run code (function) on AWS servers. AWS Lambda executes your code in response to events such as: AWS IoT update to MQTT Topic Alexa skill invocation Other AWS services

131 Using Amazon Alexa (1/2) 131 We will now use Amazon Alexa to voice control the LED on the DK IoT board. The presenter will ask Alexa to turn ON/OFF the LED and you will see your board responding to the command: Alexa, ask STM32 to turn the LED ON Alexa, ask STM32 to turn the LED OFF This will trigger a Lambda function

132 Using Amazon Alexa (2/2) 132 The Lambda function will send the following JSON message to Thing_00 s topic: { } "state": { "desired": { "LED_value": "On" } } Since all the boards are connected to Thing_00 s topic (from the previous lab), the message will be sent to your board and toggle the LED.

133 More Info On Alexa Skills 133 Please refer to the following links to get more info on how to use Alexa to interact with IoT devices: Also we have included the Alexa skill code, the Lambda code and a document in the following directory: (C:\STM32IoTDKCloudSeminar\Alexa)

134 Releasing Your Creativity 134 st.com/e2e

Getting Started with the STM32L4 IoT Discovery Kit Node

Getting Started with the STM32L4 IoT Discovery Kit Node Getting Started with the STM32L4 IoT Discovery Kit Node David Kwak Slim Jallouli Presentation Agenda 2 Training Material Installation Overview of the STM32 Portfolio Overview of the STM32L475 Overview

More information

Quick Start Guide. STM32Cube function pack for IoT sensor node with telemetry and device control applications for Amazon AWS Cloud (FP-CLD-AWS1)

Quick Start Guide. STM32Cube function pack for IoT sensor node with telemetry and device control applications for Amazon AWS Cloud (FP-CLD-AWS1) Quick Start Guide STM32Cube function pack for IoT sensor node with telemetry and device control applications for Amazon AWS Cloud (FP-CLD-AWS1) Version 1.3 (Oct 18, 2018) Quick Start Guide Contents 2 FP-CLD-AWS1:

More information

Quick Start Guide. STM32 ODE Function Pack for connecting 6LoWPAN IoT Nodes to smartphone through a BLE interface (FP-NET-6LPBLE1)

Quick Start Guide. STM32 ODE Function Pack for connecting 6LoWPAN IoT Nodes to smartphone through a BLE interface (FP-NET-6LPBLE1) 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) Quick Start Guide Contents 2 FP-NET-6LPBLE1:

More information

Quick Start Guide. Bluetooth Low Energy expansion board based on SPBTLE-RF module for STM32 Nucleo (X-NUCLEO-IDB05A1) Version 1.

Quick Start Guide. Bluetooth Low Energy expansion board based on SPBTLE-RF module for STM32 Nucleo (X-NUCLEO-IDB05A1) Version 1. Quick Start Guide Bluetooth Low Energy expansion board based on SPBTLE-RF module for STM32 Nucleo (X-NUCLEO-IDB05A1) Version 1.5 (Feb 1, 2017) Quick Start Guide Contents 2 STM32 Nucleo Bluetooth Low Energy

More information

Quick Start Guide. Bluetooth Low Energy expansion board based on BlueNRG for STM32 Nucleo (X-NUCLEO-IDB04A1) Version 1.

Quick Start Guide. Bluetooth Low Energy expansion board based on BlueNRG for STM32 Nucleo (X-NUCLEO-IDB04A1) Version 1. Quick Start Guide Bluetooth Low Energy expansion board based on BlueNRG for STM32 Nucleo (X-NUCLEO-IDB04A1) Version 1.6 (Feb 1, 2017) Quick Start Guide Contents 2 STM32 Nucleo Bluetooth Low Energy expansion

More information

STM32 Open Development Environment

STM32 Open Development Environment STM32 Open Development Environment Fast, affordable Development and prototyping The STM32 Open Development Environment is a fast and affordable way to develop and prototype innovative devices and applications

More information

Quick Start Guide STM32Cube function pack for creating a BLE star network connected via Wi-Fi to IBM Watson IoT cloud (FP-NET-BLESTAR1)

Quick Start Guide STM32Cube function pack for creating a BLE star network connected via Wi-Fi to IBM Watson IoT cloud (FP-NET-BLESTAR1) Quick Start Guide STM32Cube function pack for creating a BLE star network connected via Wi-Fi to IBM Watson IoT cloud (FP-NET-BLESTAR1) Version 1.6 (Sep 18, 2018) Quick Start Guide Contents 2 FP-NET-BLESTAR1

More information

Quick Start Guide. Version 2.4 (September 05, 2018)

Quick Start Guide. Version 2.4 (September 05, 2018) Quick Start Guide STM32Cube function pack for IoT node with Wi-Fi, NFC and sensors for vibration analysis, connected to IBM Watson IoT cloud (FP-CLD-WATSON1) Version 2.4 (September 05, 2018) Quick Start

More information

STM32L4+ MCU series Excellence in ultra-low-power with more performance

STM32L4+ MCU series Excellence in ultra-low-power with more performance STM32L4+ MCU series Excellence in ultra-low-power with more performance Key messages of STM32 L4+ series 2 + More performance and still ULP leader ST has stretched the STM32L4 architecture to reach 150

More information

Getting started with the FP-SNS-ALLMEMS1 Bluetooth low energy and sensors software expansion for STM32Cube

Getting started with the FP-SNS-ALLMEMS1 Bluetooth low energy and sensors software expansion for STM32Cube User manual Getting started with the FP-SNS-ALLMEMS1 Bluetooth low energy and sensors software expansion for STM32Cube Introduction FP-SNS-ALLMEMS1 is an STM32 ODE function pack. Thanks to this package

More information

New STM32WB Series MCU with Built-in BLE 5 and IEEE

New STM32WB Series MCU with Built-in BLE 5 and IEEE New STM32WB Series MCU with Built-in BLE 5 and IEEE 802.15.4 Make the Choice of STM32WB Series The 7 keys points to make the difference 2 Open 2.4 GHz radio Multi-protocol Dual-core / Full control Ultra-low-power

More information

Quick Start Guide. Bluetooth low energy, sensors and NFC tag software for STM32Cube (BLUEMICROSYSTEM3) Version (September 15, 2016)

Quick Start Guide. Bluetooth low energy, sensors and NFC tag software for STM32Cube (BLUEMICROSYSTEM3) Version (September 15, 2016) Quick Start Guide Bluetooth low energy, sensors and NFC tag software for STM32Cube (BLUEMICROSYSTEM3) Version 1.0.1 (September 15, 2016) Quick Start Guide Contents 2 BLUMICROSYSTEM3: Bluetooth low energy,

More information

BCM4343W IoT Starter Kit Getting Started Guide Version 2.1

BCM4343W IoT Starter Kit Getting Started Guide Version 2.1 BCM4343W IoT Starter Kit Getting Started Guide Version 2.1 Page 1 Copyright 2017 Avnet, Inc. AVNET, Reach Further, and the AV logo are registered trademarks of Avnet, Inc. All other brands are the property

More information

New STM32WB Series MCU with built-in Bluetooth 5 and IEEE

New STM32WB Series MCU with built-in Bluetooth 5 and IEEE New STM32WB Series MCU with built-in Bluetooth 5 and IEEE 802.15.4 Make the Choice of STM32WB Series The 7 keys points to make the difference 2 Open 2.4 GHz radio Multi-protocol Dual-core / Full control

More information

STM32 Open Development Environment

STM32 Open Development Environment STM32 Open Development Environment Fast, affordable Development and prototyping The STM32 Open Development Environment is a fast and affordable way to develop and prototype innovative devices and applications

More information

STM32G0 MCU Series Efficiency at its Best

STM32G0 MCU Series Efficiency at its Best STM32G0 MCU Series Efficiency at its Best Key Messages of STM32G0 Series 2 2 3 Efficient Arm Cortex -M0+ at 64 MHz Compact cost: maximum I/Os count Best RAM/Flash Ratio Smallest possible package down to

More information

Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface

Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface User manual Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface Introduction FP-NET-6LPBLE1 is an STM32 ODE function pack. This package

More information

Getting started with the STSW-BCNKT01 software package for STEVAL-BCNKT01V1 based on STM32Cube

Getting started with the STSW-BCNKT01 software package for STEVAL-BCNKT01V1 based on STM32Cube User manual Getting started with the STSW-BCNKT01 software package for STEVAL-BCNKT01V1 based on STM32Cube Introduction The STSW-BCNKT01 firmware package for BlueCoin Starter Kit provides sample projects

More information

From Sensors to Cloud: The Case for a Complete Ecosystem for IoT Development

From Sensors to Cloud: The Case for a Complete Ecosystem for IoT Development From Sensors to Cloud: The Case for a Complete Ecosystem for IoT Development Ernesto Manuel CANTONE AME IoT Promotion and Enablement The IoT Movement 2 IoT is a movement where any system is able to leverage

More information

Getting started with the software package for STEVAL-STLKT01V1 based on STM32Cube

Getting started with the software package for STEVAL-STLKT01V1 based on STM32Cube User manual Getting started with the software package for STEVAL-STLKT01V1 based on STM32Cube Introduction The STSW-STLKT01 firmware package for SensorTile provides sample projects for the development

More information

Quick Start Guide. High power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo (X-NUCLEO-IHM03A1)

Quick Start Guide. High power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo (X-NUCLEO-IHM03A1) Quick Start Guide High power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo (X-NUCLEO-IHM03A1) Version 1.1.0 (May 16, 2016) Quick Start Guide Contents 2 X-NUCLEO-IHM03A1: high

More information

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.2.

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.2. Quick Start Guide Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.2.0 (May 16, 2016) Quick Start Guide Contents 2 X-NUCLEO-IHM01A1: Stepper motor driver

More information

Quick Start Guide (V1.0 May2015) Dynamic NFC tag expansion board based on M24SR for STM32 NUCLEO (X-NUCLEO-NFC01A1)

Quick Start Guide (V1.0 May2015) Dynamic NFC tag expansion board based on M24SR for STM32 NUCLEO (X-NUCLEO-NFC01A1) Quick Start Guide (V1.0 May2015) Dynamic NFC tag expansion board based on M24SR for STM32 NUCLEO (X-NUCLEO-NFC01A1) Overview 2 1 Introduction to the STM32 Open Development Environment 2 STM32 Nucleo Dynamic

More information

TI SimpleLink dual-band CC1350 wireless MCU

TI SimpleLink dual-band CC1350 wireless MCU TI SimpleLink dual-band CC1350 wireless MCU Sub-1 GHz and Bluetooth low energy in a single-chip Presenter Low-Power Connectivity Solutions 1 SimpleLink ultra-low power platform CC2640: Bluetooth low energy

More information

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

STM32F7 series ARM Cortex -M7 powered Releasing your creativity STM32F7 series ARM Cortex -M7 powered Releasing your creativity STM32 high performance Very high performance 32-bit MCU with DSP and FPU The STM32F7 with its ARM Cortex -M7 core is the smartest MCU and

More information

Quick Start Guide. Long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo (X-NUCLEO-53L1A1) Version (February 20, 2018)

Quick Start Guide. Long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo (X-NUCLEO-53L1A1) Version (February 20, 2018) Quick Start Guide Long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo (X-NUCLEO-53L1A1) Version (February 20, 2018) Quick Start Guide Contents 2 X-NUCLEO-53L1A1: Long distance

More information

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube.

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube. User manual Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube Introduction This document describes how to get started with the X-CUBE-NFC3 software

More information

Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube

Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube User manual Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube Introduction The X-CUBE-NFC5 software expansion for STM32Cube provides the

More information

Introducing STM32 L0x Series. April

Introducing STM32 L0x Series. April Introducing STM32 L0x Series April 2014 www.emcu.it 20- to 80pins 20- to 100pins 48- to 144pins Memory size (Bytes) ST s Ultra-low-power Continuum (1/2) 2 512K 256K 192K STM32L0 Cortex TM -M0+ STM32L1

More information

Quick Start Guide. Dynamic NFC/RFID tag IC expansion board based on ST25DV04K for STM32 Nucleo (X-NUCLEO-NFC04A1) Version 1.

Quick Start Guide. Dynamic NFC/RFID tag IC expansion board based on ST25DV04K for STM32 Nucleo (X-NUCLEO-NFC04A1) Version 1. Quick Start Guide Dynamic NFC/RFID tag IC expansion board based on ST25DV04K for STM32 Nucleo (X-NUCLEO-NFC04A1) Version 1.0 (Jun 23, 2017) Quick Start Guide Contents 2 X-NUCLEO-NFC04A1: Dynamic NFC/RFID

More information

Version (Apr 28, 2016)

Version (Apr 28, 2016) Quick Start Guide Sub-1 GHz RF expansion board based on SPSGRF modules for STM32 Nucleo X-NUCLEO-IDS01A4 (based on SPSGRF-868) X-NUCLEO-IDS01A5 (based on SPSGRF-915) Version 1.1.0 (Apr 28, 2016) Quick

More information

Quick Start Guide. Version 3.0 (June 12, 2017)

Quick Start Guide. Version 3.0 (June 12, 2017) Quick Start Guide STM32 ODE function pack for IoT node with NFC, BLE connectivity and environmental, motion and time-of-flight sensors (FP-SNS-FLIGHT1) Version 3.0 (June 12, 2017) Quick Start Guide Contents

More information

Quick Start Guide. Bipolar stepper motor driver expansion board based on L6208 for STM32 Nucleo (X-NUCLEO-IHM05A1) Version 1.1.

Quick Start Guide. Bipolar stepper motor driver expansion board based on L6208 for STM32 Nucleo (X-NUCLEO-IHM05A1) Version 1.1. Quick Start Guide Bipolar stepper motor driver expansion board based on L6208 for STM32 Nucleo (X-NUCLEO-IHM05A1) Version 1.1.0 (May 16, 2016) Quick Start Guide Contents 2 X-NUCLEO-IHM05A1: bipolar stepper

More information

nblue TM BR-MUSB-LE4.0-S2A (CC2540)

nblue TM BR-MUSB-LE4.0-S2A (CC2540) Page 1 of 5 Copyright 2002-2014 BlueRadios, Inc. Bluetooth 4.0 Low Energy Single Mode Class 1 SoC USB Serial Dongle nblue TM BR-MUSB-LE4.0-S2A (CC2540) AT HOME. AT WORK. ON THE ROAD. USING BLUETOOTH LOW

More information

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube User manual Getting started with X-CUBE-LED1642 16 channel LED driver software expansion based on LED1642GW for STM32Cube Introduction The X-CUBE-LED16A1 expansion software package for STM32Cube runs on

More information

Getting started with the X-CUBE-53L1A1 Time-of-Flight long distance ranging sensor software expansion for STM32Cube

Getting started with the X-CUBE-53L1A1 Time-of-Flight long distance ranging sensor software expansion for STM32Cube UM2371 User manual Getting started with the X-CUBE-53L1A1 Time-of-Flight long distance ranging sensor software expansion for STM32Cube Introduction This document describes how to get started with the X-CUBE-53L1A1

More information

Quick Start Guide. GNSS expansion board based on Teseo-LIV3F module for STM32 Nucleo (X-NUCLEO-GNSS1A1) Version 2.1 (Nov 9, 2018)

Quick Start Guide. GNSS expansion board based on Teseo-LIV3F module for STM32 Nucleo (X-NUCLEO-GNSS1A1) Version 2.1 (Nov 9, 2018) Quick Start Guide GNSS expansion board based on Teseo-LIV3F module for STM32 Nucleo (X-NUCLEO-GNSS1A1) Version 2.1 (Nov 9, 2018) Quick Start Guide Contents 2 X-NUCLEO-GNSS1A1: STM32 Nucleo GNSS expansion

More information

Quick Start Guide. SensiBLE (BLUEMICROSYSTEM1) Bluetooth low energy and sensor software for. Version (May 25, 2016)

Quick Start Guide. SensiBLE (BLUEMICROSYSTEM1) Bluetooth low energy and sensor software for. Version (May 25, 2016) Quick Start Guide Bluetooth low energy and sensor software for SensiBLE (BLUEMICROSYSTEM1) Version 1.0.0 (May 25, 2016) Quick Start Guide Contents 2 BLUEMICROSYSTEM1: Bluetooth low energy and sensor software

More information

Quick Start Guide. STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors (FP-SNS-SMARTAG1)

Quick Start Guide. STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors (FP-SNS-SMARTAG1) Quick Start Guide STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors (FP-SNS-SMARTAG1) Version 1.1 (May 29, 2018) Quick Start Guide Contents 2 FP-SNS-SMARTAG1:

More information

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

STM32F7 series ARM Cortex -M7 powered Releasing your creativity STM32F7 series ARM Cortex -M7 powered Releasing your creativity STM32 high performance Very high performance 32-bit MCU with DSP and FPU The STM32F7 with its ARM Cortex -M7 core is the smartest MCU and

More information

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1. Quick Start Guide Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.1 (July 07, 2015) Overview 2 1 Introduction to the STM32 Open Development Environment

More information

Quick Start Guide. Dual-channel high side driver expansion board based on VPS2535H for STM32 Nucleo (X-NUCLEO-IPS02A1) Version 1.0 (Sept.

Quick Start Guide. Dual-channel high side driver expansion board based on VPS2535H for STM32 Nucleo (X-NUCLEO-IPS02A1) Version 1.0 (Sept. Quick Start Guide Dual-channel high side driver expansion board based on VPS2535H for STM32 Nucleo (X-NUCLEO-IPS02A1) Version 1.0 (Sept. 2016) Quick Start Guide Contents 2 X-NUCLEO-IPS02A1: Dual-channel

More information

STM32 Cortex-M3 STM32F STM32L STM32W

STM32 Cortex-M3 STM32F STM32L STM32W STM32 Cortex-M3 STM32F STM32L STM32W 01 01 STM32 Cortex-M3 introduction to family 1/2 STM32F combine high performance with first-class peripherals and lowpower, low-voltage operation. They offer the maximum

More information

Quick Start Guide. Version 3.1 (August 8, 2018)

Quick Start Guide. Version 3.1 (August 8, 2018) Quick Start Guide STM32Cube function pack for IoT node with NFC, BLE connectivity and environmental, motion and time-of-flight sensors (FP-SNS-FLIGHT1) Version 3.1 (August 8, 2018) Quick Start Guide Contents

More information

Getting started with the X-CUBE-MEMS1 motion MEMS and environmental sensor software expansion for STM32Cube

Getting started with the X-CUBE-MEMS1 motion MEMS and environmental sensor software expansion for STM32Cube User manual Getting started with the X-CUBE-MEMS1 motion MEMS and environmental sensor software expansion for Introduction The X-CUBE-MEMS1 expansion software package for runs on the STM32 and includes

More information

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube User manual Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube Introduction The X-CUBE-IKA02A1 expansion software package for STM32Cube runs on the STM32 microcontrollers

More information

SensorTile Miniature Multi-Sensor Module

SensorTile Miniature Multi-Sensor Module SensorTile Miniature Multi-Sensor Module SensorTile Development Kit Reference Software and Applications Smart Acoustic Audio libraries Virtual Reality With SensorTile SensorTile Development Kit SensorTile

More information

Quick Start Guide STM32 ODE Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1ghz RF communication (FP-SNS-6LPNODE1)

Quick Start Guide STM32 ODE Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1ghz RF communication (FP-SNS-6LPNODE1) Quick Start Guide STM32 ODE Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1ghz RF communication (FP-SNS-6LPNODE1) Version 1.2 (Feb.28, 2017) Quick Start Guide Contents 2

More information

Quick Start Guide. STM32 ODE Function Pack for Building a PLC controlled via Wi-Fi (FP-IND-PLCWIFI1) Version 1.1 (Oct 16, 2017)

Quick Start Guide. STM32 ODE Function Pack for Building a PLC controlled via Wi-Fi (FP-IND-PLCWIFI1) Version 1.1 (Oct 16, 2017) Quick Start Guide STM32 ODE Function Pack for Building a PLC controlled via Wi-Fi (FP-IND-PLCWIFI1) Version 1.1 (Oct 16, 2017) Quick Start Guide Contents 2 FP-IND-PLCWIFI1: STM32 ODE function pack for

More information

Getting started with FP-SNS-6LPNODE1 software for IoT sensor node connection to 6LoWPAN networks using sub-1ghz RF

Getting started with FP-SNS-6LPNODE1 software for IoT sensor node connection to 6LoWPAN networks using sub-1ghz RF User manual Getting started with FP-SNS-6LPNODE1 software for IoT sensor node connection to 6LoWPAN networks using sub-1ghz RF Introduction FP-SNS-6LPNODE1 is an STM32 ODE function pack. Thanks to this

More information

BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1

BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1 BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1 Table of Contents Key Features Benefits BLE121LR Overview Bluetooth Smart Software Certifications Development Tools Use Cases 5/12/2014 2 Key Features

More information

IoT connectivity made easier STM32 MCUs & LoRa

IoT connectivity made easier STM32 MCUs & LoRa IoT connectivity made easier STM32 MCUs & LoRa Summary 2 1. What is IoT? 2. Communication technologies Overview 3. LPWAN 4. LoRa and LoRa Alliance 5. LoRa technology modulation and LoRaWAN network protocol

More information

STM8L and STM32 L1 series. Ultra-low-power platform

STM8L and STM32 L1 series. Ultra-low-power platform STM8L and STM32 L1 series Ultra-low-power platform 8-bit and 32-bit MCU families 2 Flash (bytes) 2 M 1 M 128 K 16 K 8-bit Core STM8S Mainstream STM8A F and STM8AL Automotive STM8L Ultra-low-power 32-bit

More information

Developing Accessories for the Apple HomeKit Ecosystem. November 2016

Developing Accessories for the Apple HomeKit Ecosystem. November 2016 Developing Accessories for the Apple HomeKit Ecosystem November 2016 Introduction to Apple HomeKit Apple HomeKit is a framework for communicating with and controlling connected home accessories such as

More information

Bidirectional wireless communication between IBM Cloud and Bluetooth Low Energy peripherals through SimpleLink Wi-Fi

Bidirectional wireless communication between IBM Cloud and Bluetooth Low Energy peripherals through SimpleLink Wi-Fi Bidirectional wireless communication between IBM Cloud and Bluetooth Low Energy peripherals through SimpleLink Wi-Fi 30.7B connected devices by 2020, 75.4B by 2025 Top IoT concerns Security Complex standards

More information

BT121 Bluetooth Smart Ready Module. May 2015

BT121 Bluetooth Smart Ready Module. May 2015 BT121 Bluetooth Smart Ready Module May 2015 TOPICS Bluetooth Smart vs. Smart Ready Bluetooth Smart Ready Use Cases BT121 Key Features BT121 Benefits BT121 Overview Bluetooth Smart Ready Software Development

More information

STM32 Ecosystem workshop. T.O.M.A.S Team

STM32 Ecosystem workshop. T.O.M.A.S Team STM32 Ecosystem workshop T.O.M.A.S Team 2 Now it is a right time for some slides We will present briefly what is STM32CubeMX and the structure of the Cube library What it is STM32CubeMX? STM32CubeMX application

More information

Quick Start Guide. Sound terminal expansion board based on STA350BW for STM32 NUCLEO (X-NUCLEO-CCA01M1) Version 1.1.

Quick Start Guide. Sound terminal expansion board based on STA350BW for STM32 NUCLEO (X-NUCLEO-CCA01M1) Version 1.1. Quick Start Guide Sound terminal expansion board based on STA350BW for STM32 NUCLEO (X-NUCLEO-CCA01M1) Version 1.1.0 (May 31, 2016) Quick Start Guide Contents 2 X-NUCLEO-CCA01M1: Sound terminal expansion

More information

Quick Start Guide. STM32 ODE function pack for IoT node with BLE connectivity and environmental and motion sensors (FP-SNS-MOTENV1)

Quick Start Guide. STM32 ODE function pack for IoT node with BLE connectivity and environmental and motion sensors (FP-SNS-MOTENV1) Quick Start Guide STM32 ODE function pack for IoT node with BLE connectivity and environmental and motion sensors (FP-SNS-MOTENV1) Version 2.6 (March 1, 2018) Quick Start Guide Contents 2 FP-SNS-MOTENV1:

More information

STM32 F4 Series Cortex M4 http://www.emcu.it/stm32f4xx/stm32f4xx.html www.emcu.it STM32 F4 Main common features Cortex -M4 (DSP + FPU) STM32F429/439 180 MHz 1 to 2-MB Flash 256-KB SRAM STM32F427/437 180

More information

STEVAL-BCNKT01V1. BlueCoin Starter kit. Features. Description

STEVAL-BCNKT01V1. BlueCoin Starter kit. Features. Description BlueCoin Starter kit Features Contains FCC ID: S9NBCOIN01 Contains module IC 8976C-BCOIN01 certified with PMN: ; HVIN: STEVAL-BCNCS01V1; HMN: STEVAL-BCNCR01V1; FVIN: bluenrg_7_2_c_mode_2-32mhz- XO32K_4M.img

More information

Getting started with the FP-CLD-AWS1 software package for IoT node with Wi-Fi and sensors, connected to Amazon AWS IoT cloud

Getting started with the FP-CLD-AWS1 software package for IoT node with Wi-Fi and sensors, connected to Amazon AWS IoT cloud User manual Getting started with the FP-CLD-AWS1 software package for IoT node with Wi-Fi and sensors, connected to Amazon AWS IoT cloud Introduction FP-CLD-AWS1 is an STM32 ODE function pack. Thanks to

More information

SPBTLE-1S ArTM. October STMicroelectronics

SPBTLE-1S ArTM. October STMicroelectronics SPBTLE-1S ArTM October 2017 STMicroelectronics BlueNRG Product Family for smart innovators 2 SPBTLE-1S Agenda 3 ST Bluetooth Low Energy modules ready to sell Reminder : module approach rational SPBTLE-1S

More information

IoT node with BLE connectivity, digital microphone, environmental and motion sensors, motion and audio middleware libraries.

IoT node with BLE connectivity, digital microphone, environmental and motion sensors, motion and audio middleware libraries. IoT node with BLE connectivity, digital microphone, environmental and motion sensors, motion and audio middleware libraries Data brief Features For STM32 Nucleo expansion boards, middleware to build applications

More information

Wearable Technologies and the IoT. David Lamb Market Development Manager, North Europe STMicroelectronics

Wearable Technologies and the IoT. David Lamb Market Development Manager, North Europe STMicroelectronics Wearable Technologies and the IoT David Lamb Market Development Manager, North Europe STMicroelectronics Who We Are 2 A global semiconductor leader The largest European semiconductor company 2013 revenues

More information

RF Transceivers and Modules

RF Transceivers and Modules RF Transceivers and Modules Sub-GHz Radio Main applications 2 Smart Metering: Water metering, Gas metering Security: Home Alarm, Smoke detectors, Gate control Automotive: RKE, Car Alarm, Tire Pressure

More information

STM32 F0 Value Line. Entry-level MCUs

STM32 F0 Value Line. Entry-level MCUs STM32 F0 Value Line Entry-level MCUs Key Messages 2 STM32 F0: Is the Cortex -M0 core generated with ST s STM32 DNA, for cost sensitive designs. The STM32 F0 is benefiting of STM32 DNA, providing the essential

More information

STM32 Open Development Environment

STM32 Open Development Environment STM32 Open Development Environment Aaron Xu Hem Dutt Dabral Mridupawan Das Agenda 2 STM32 Open Development Environment The Environment Overview of Boards Key Benefits Software Architecture X-Nucleo Solutions

More information

STM32L4 System operating modes

STM32L4 System operating modes STM32L4 System operating modes Typical application profile 2 Tperiod Tperiod I DD Process IRQ ACTIVE IRQ ACTIVE OFF STARTUP INITIALIZATION TASKS Tasks TASKS INACTIVE INACTIVE INACTIVE Application phases:

More information

Bluegiga Bluetooth Smart Software v.1.3 5/28/2014 1

Bluegiga Bluetooth Smart Software v.1.3 5/28/2014 1 Bluegiga Bluetooth Smart Software v.1.3 5/28/2014 1 Table of Contents Introduction to the Bluetooth Smart Software Bluetooth Smart Software v.1.3 5/28/2014 2 Introduction to Bluetooth Smart Software Bluetooth

More information

UM2441. Getting started with Google Cloud Platform Expansion Package for STM32Cube. User manual. Introduction

UM2441. Getting started with Google Cloud Platform Expansion Package for STM32Cube. User manual. Introduction User manual Getting started with Google Cloud Platform Expansion Package for STM32Cube Introduction This user manual describes the content of the STM32Cube Expansion Package for the Google Cloud IoT Core

More information

5.1 Configure each Sensor Pin Rename Set Rules Export Data Switching Nodes... 25

5.1 Configure each Sensor Pin Rename Set Rules Export Data Switching Nodes... 25 Hi-Gate User Manual Hi-Gate User Manual Hi-Gate User Manual Contents 1 Introduction... 3 1.1 Hi-Gate... 3 1.1.1 What is Hi-Gate... 3 1.1.2 Specifications... 3 1.1.3 Features... 4 1.2 Hi-Node... 5 1.2.1

More information

The course provides all necessary theoretical and practical know-how for start developing platforms based on STM32L4 family.

The course provides all necessary theoretical and practical know-how for start developing platforms based on STM32L4 family. Designing with STM32L4 Family Course Description Designing with STM32L4 is a 3 days ST official course. The course provides all necessary theoretical and practical know-how for start developing platforms

More information

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

STEVAL-STLKT01V1. SensorTile development kit. Description. Features SensorTile development kit Data brief Features Included in the development kit package: SensorTile module (STEVAL- STLCS01V1) with STM32L476, LSM6DSM, LSM303AGR, LPS22HB, MP34DT04, BlueNRG-MS, BALF-NRG-

More information

AT&T IoT Starter Kit (LTE-M, STM32L4) Getting Started Guide

AT&T IoT Starter Kit (LTE-M, STM32L4) Getting Started Guide AT&T IoT Starter Kit (LTE-M, STM32L4) Getting Started Guide Version 1.3 o STM32L4 Discovery Kit IoT Node o Avnet M14A2A WNC Cellular Shield o AT&T Flow Designer 2018 Avnet. All rights reserved. All trademarks

More information

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015 STM32F429 Overview Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015 Today - STM32 portfolio positioning 2 More than 30 product lines High-performance 398 CoreMark 120 MHz 150 DMIPS

More information

ISMART Inventek Systems Module Arduino Test. Product Brief

ISMART Inventek Systems Module Arduino Test. Product Brief ISMART Inventek Systems Module Arduino Test Product Brief Wi-Fi, BT/BLE & NFC IoT Arduino Shields Page 1 1 General Description The Inventek ISMART (Inventek Systems Module Arduino Test) IoT platform is

More information

BT121 Bluetooth Smart Ready Module. July 2016

BT121 Bluetooth Smart Ready Module. July 2016 BT121 Bluetooth Smart Ready Module July 2016 TOPICS Bluetooth Smart vs. Smart Ready Bluetooth Smart Ready Use Cases BT121 Key Features BT121 Benefits BT121 Overview Bluetooth Smart Ready Software Development

More information

Bluetooth Smart Development with Blue Gecko Modules. Mikko Savolainen October 2015

Bluetooth Smart Development with Blue Gecko Modules. Mikko Savolainen October 2015 Bluetooth Smart Development with Blue Gecko Modules Mikko Savolainen October 2015 Agenda Bluetooth & the IoT BGM111 Bluetooth Smart Module Blue Gecko Bluetooth Smart Software Software Development Flow

More information

RN-171-EK Evaluation Board

RN-171-EK Evaluation Board RN -17 1-E K-DS RN-171-EK Evaluation Board Features Ultra-low power: 4-uA sleep, 40-mA Rx, 180-mA Tx at 10 dbm Configurable transmit power: 0 to +12 dbm UART hardware interfaces and SPI slave Up to 1 Mbps

More information

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be covered in this presentation. 1 Please note that this

More information

Embedded Audio & Robotic Ear

Embedded Audio & Robotic Ear Embedded Audio & Robotic Ear Marc HERVIEU IoT Marketing Manager Marc.Hervieu@st.com Voice Communication: key driver of innovation since 1800 s 2 IoT Evolution of Voice Automation: the IoT Voice Assistant

More information

Quick Start Guide. STM32 ODE function pack for MEMS microphones acquisition, advanced audio processing and audio output (FP-AUD-SMARTMIC1)

Quick Start Guide. STM32 ODE function pack for MEMS microphones acquisition, advanced audio processing and audio output (FP-AUD-SMARTMIC1) Quick Start Guide STM32 ODE function pack for MEMS microphones acquisition, advanced audio processing and audio output (FP-AUD-SMARTMIC1) Version 1.0 (June 27, 2017) Quick Start Guide Contents 2 FP-AUD-SMARTMIC1:

More information

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

STEVAL-STLKT01V1. SensorTile development kit. Description. Features SensorTile development kit Data brief data streaming via USB, data logging on SDCard, audio acquisition and audio streaming. It includes low level drivers for all the on-board devices BLUEMICROSYSTEM1

More information

Quick Start Guide. STM32 ODE function pack for IoT node with BLE connectivity, digital microphone, environmental and motion sensors (FP-SNS-ALLMEMS1)

Quick Start Guide. STM32 ODE function pack for IoT node with BLE connectivity, digital microphone, environmental and motion sensors (FP-SNS-ALLMEMS1) Quick Start Guide STM32 ODE function pack for IoT node with BLE connectivity, digital microphone, environmental and motion sensors (FP-SNS-ALLMEMS1) Version 3.3.0 (Sep 30, 2017) Quick Start Guide Contents

More information

AN4624 Application note

AN4624 Application note Application note Getting started with the STM32 Nucleo and the M24SR expansion board X-NUCLEO-NFC01A1 Introduction This document describes how to develop a M24SR based application using the STM32 Nucleo

More information

NXP MICROCONTROLLER INNOVATION CLOUD CONNECTIVITY WITH AWS & LPC54018

NXP MICROCONTROLLER INNOVATION CLOUD CONNECTIVITY WITH AWS & LPC54018 NXP MICROCONTROLLER INNOVATION CLOUD CONNECTIVITY WITH AWS & LPC54018 JUNE 2018 PUBLIC AGENDA MCU Introduction Cloud Connectivity Applications and challenges we re solving together Introducing Amazon FreeRTOS

More information

STM32MP1 Microprocessor Continuing the STM32 Success Story. Press Presentation

STM32MP1 Microprocessor Continuing the STM32 Success Story. Press Presentation STM32MP1 Microprocessor Continuing the STM32 Success Story Press Presentation What Happens when STM32 meets Linux? 2 + = Linux The STM32MP1 Microprocessor Happens! 3 Available NOW! Extending STM32 success

More information

Particle E Series Cloud-integrated hardware platform for cellular IoT devices

Particle E Series Cloud-integrated hardware platform for cellular IoT devices Particle E Series Cloud-integrated hardware platform for cellular IoT devices Particle E Series modules 36.0 x 43.0 x 4.6 mm World s first fully-integrated cellular hardware platform with out-of-box Cloud

More information

YWireless-RX65N Smart Home Gateway Getting Started Guide

YWireless-RX65N Smart Home Gateway Getting Started Guide Micriµm YWireless-RX65N Smart Home Gateway Getting Started Guide Introduction There are countless resources to build an IoT system with. Embedded engineers are faced with a large variety of protocols,

More information

Getting started with the FP-IND-PLCWIFI1 function pack for PLC management via Wi-Fi

Getting started with the FP-IND-PLCWIFI1 function pack for PLC management via Wi-Fi User manual Getting started with the FP-IND-PLCWIFI1 function pack for PLC management via Wi-Fi Introduction FP-IND-PLCWIFI1 is an STM32 ODE function pack which lets you build a mini PLC and interact with

More information

Quick Start Guide. IoT node with BLE connectivity, environmental and motion sensors, and motion middleware libraries (BLUEMICROSYSTEM1)

Quick Start Guide. IoT node with BLE connectivity, environmental and motion sensors, and motion middleware libraries (BLUEMICROSYSTEM1) Quick Start Guide IoT node with BLE connectivity, environmental and motion sensors, and motion middleware libraries (BLUEMICROSYSTEM1) Version 3.2.0 (Dec 19, 2016) Quick Start Guide Contents 2 BLUEMICROSYSTEM1:

More information

Quick Start Guide. Wi-Fi expansion board based on SPWF01SA module for STM32 Nucleo (X-NUCLEO-IDW01M1) Version 1.0 (November 18, 2015)

Quick Start Guide. Wi-Fi expansion board based on SPWF01SA module for STM32 Nucleo (X-NUCLEO-IDW01M1) Version 1.0 (November 18, 2015) Quick Start Guide Wi-Fi expansion board based on SPWF01SA module for STM32 Nucleo (X-NUCLEO-IDW01M1) Version 1.0 (November 18, 2015) Overview 2 1 Introduction to the STM32 Open Development Environment

More information

Getting started with the software package for digital MEMS microphones in X-CUBE-MEMSMIC1 expansion for STM32Cube

Getting started with the software package for digital MEMS microphones in X-CUBE-MEMSMIC1 expansion for STM32Cube User manual Getting started with the software package for digital MEMS microphones in X-CUBE-MEMSMIC1 expansion for STM32Cube Introduction The X-CUBE-MEMSMIC1 software provides the complete STM32 middleware

More information

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube Data brief Features Support for Bluetooth low energy slave profiles using ST's BlueNRG device: Alert notification client Blood

More information

Quick Start Guide. STM32 ODE function pack for half-duplex voice streaming over Bluetooth Low Energy (FP-AUD-BVLINK1) Version 1.

Quick Start Guide. STM32 ODE function pack for half-duplex voice streaming over Bluetooth Low Energy (FP-AUD-BVLINK1) Version 1. Quick Start Guide STM32 ODE function pack for half-duplex voice streaming over Bluetooth Low Energy (FP-AUD-BVLINK1) Version 1.0 (June 21, 2017) Quick Start Guide Contents 2 FP-AUD-BVLINK1: STM32 ODE function

More information

Running a simple 6LowPAN network consisting of one receiver node and one or more sensor nodes in a Sub-1GHz RF band

Running a simple 6LowPAN network consisting of one receiver node and one or more sensor nodes in a Sub-1GHz RF band DT0067 Design tip Running a simple 6LowPAN network consisting of one receiver node and one or more sensor nodes in a Sub-1GHz RF band By Salvo Bonina Main components SPSGRF X-NUCLEO-IDS01A4 X-NUCLEO-IDS01A5

More information

STM32F3. Cuauhtémoc Carbajal ITESM CEM 12/08/2013

STM32F3. Cuauhtémoc Carbajal ITESM CEM 12/08/2013 STM32F3 Cuauhtémoc Carbajal ITESM CEM 12/08/2013 1 STM32 Portfolio 2 32 bit/dsc Applications A typical embedded system with both control and signal processing requirements Digital Signal Controllers efficient

More information

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction User manual STM32CubeF1 Nucleo demonstration firmware Introduction STMCube initiative was originated by STMicroelectronics to ease developers life by reducing development efforts, time and cost. STM32Cube

More information

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description Discovery kit with STM32L476VG MCU Data brief Features STM32L476VGT6 microcontroller featuring 1 Mbyte of Flash memory, 128 Kbytes of RAM in LQFP100 package On-board ST-LINK/V2-1 supporting USB reenumeration

More information