High voltage npn power transistor for standard definition crt display (11 pages)
Summary of Contents for STMicroelectronics STM32 Series
Page 1
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)
Page 2
Quick Start Guide Contents FP-CLD-WATSON1: STM32Cube function pack for IoT node with Wi-Fi, NFC and sensors for vibration analysis, connected to IBM Watson IoT cloud Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 3
Motion MEMS and environmental sensor expansion board (X-NUCLEO-IKS01A2) Hardware overview (1/4) X-NUCLEO-IKS01A2 Hardware description • 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...
Page 4
Dynamic NFC tag expansion board Hardware Overview (2/4)
Page 5
NUCLEO-F429ZI board Hardware Overview (3/4) NUCLEO-144 Hardware Description The STM32 Nucleo-144 boards (NUCLEO-F207ZG, NUCLEO- F303ZE, NUCLEO-F412ZG, NUCLEO-F413ZH, NUCLEO-F429ZI, NUCLEO-F446ZE, NUCLEO-F722ZE, NUCLEOF746ZG, NUCLEO- F767ZI and NUCLEO-H743ZI) provide an affordable and flexible way for users to try out new concepts and build prototypes, by choosing from the various combinations of performance and power consumption features provided by the STM32 microcontroller.
Page 6
STM32L4 Discovery Board for IoT node (B-L475E-IOT01A) Hardware Overview (4/4) STM32L4 Discovery Board for IoT node (B-L475E-IOT01A) Hardware Description The STM32L4 Discovery kit for the IoT node (B-L475E-IOT01A) allows users to develop applications with direct connection to cloud servers. The STM32L4 Discovery kit enables a wide diversity of applications by exploiting low-power multilink communication (BLE, Sub- GHz), multiway sensing (detection, environmental awareness) and ARM®...
Page 7
FP-CLD-WATSON1 FP-CLD-WATSON1 Software Description FP-CLD-WATSON1 is an STM32Cube function pack. It can Software Overview connect an IoT node based on the STM32L4 Discovery kit IoT node (B-L475E-IOT01A) or theNUCLEOF429ZI to IBM Watson IoT, transmit sensor data and receive commands from remote applications.
Page 8
Quick Start Guide Contents FP-CLD-WATSON1: STM32Cube function pack for IoT node with Wi-Fi, NFC and sensors for vibration analysis, connected to IBM Watson IoT cloud Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 9
Setup & Demo Examples HW prerequisites (1/2) • 1x Motion MEMS and environmental sensor expansion board for STM32 Nucleo (X-NUCLEO- IKS01A2) • Note: the vibration analysis application is available only when using the X-NUCLEO- IKS01A2 board • 1x Dynamic NFC tag expansion board expansion board for STM32 Nucleo (X-NUCLEO- NFC04A1) (optional) •...
Page 10
Setup & Application Examples HW prerequisites for Nucleo and expansion board with Ethernet connectivity (2/2) X-NUCLEO-IKS01A2 Sensors NUCLEO-F429ZI STM32 Nucleo-144 Dynamic NFC X-NUCLEO-NFC04A1...
Page 11
Setup & Application Examples (Azure_Sns_DM) HW prerequisites for B-L475E-IOT01A • 1x B-L475E-IOT01A development board • NFC-enabled Android™ device (optional) • Laptop/PC with Windows 7, 8 or 10 • 1 x microUSB cable • Wi-Fi Router or access to a Wi-Fi network MicroUSB Cable B-L475E-IOT01A...
Page 12
Setup & Demo Examples SW prerequisites • STSW-LINK009 • ST-LINK/V2-1 USB driver • STSW-LINK007: • ST-LINK/V2-1 firmware upgrade • FP-CLD-WATSON1 • Copy the .zip file content into a folder on your PC. The package will contain source code example (Keil, IAR, System Workbench) based only on NUCLEO-F429ZI •...
Page 13
FP-CLD-WATSON1 Wi-Fi, NFC and sensors software for Cloud connectivity www.st.com/stm32ode-fp FP-CLD-WATSON1 package structure Docs www.st.com BSP, HAL and drivers FFT, NDEF, MQTT, Wi-Fi lib. Select Function Pack: FP-CLD-WATSON1 Download & unpack IBM Quickstart sample application .\Projects\Multi\Applications\MQTT_IBM Visualize sensors data Chrome Web browser Compile/Flash and Run the project...
Page 15
FP-CLD-WATSON1 Configure IBM Cloud Configuration Parameters via serial interface(1/2) Configure a serial terminal with the following parameters to view log messages and write AP parameters. Tested with Teraterm version 4.96 • Flow Control : none • BaudRate : 115200 • Data : 8 bit •...
Page 16
FP-CLD-WATSON1 Configure IBM Cloud Configuration Parameters via serial interface(1/2) Configure a serial terminal with the following parameters to view log messages and write AP parameters. Tested with Teraterm version 4.96 • Flow Control : none • BaudRate : 115200 • Data : 8 bit •...
Page 17
FP-CLD-WATSON1 Configure IBM Cloud Configuration Parameters via serial interface(2/2) Enter Registration mode. Enter Bluemix Configuration String. Device will start streaming sensor data to IBM Watson IoT platform service.
Page 18
FP-CLD-WATSON1 Provision of device credentials using NFC (optional)(1/2) This feature is only available for NUCLEO-F429ZI based configuration. NFC Usage for device credential provisioning is optional. And it requires usage of the X-NUCLEO-NFC04A1 expansion board. Write Bluemix Configuration parameters to X-NUCLEO-NFC04A1 using a mobile application.
Page 19
FP-CLD-WATSON1 Provision of device credentials using NFC (optional) (2/2) Format of configuration string passed in step #5 above: • ibmmode=q;DeviceType=your_device_type;DeviceId=id1...
Page 20
FP-CLD-WATSON1 Quickstart URL to visualize sensors data • Paste Quickstart URL in Chrome web browser Paste the URL in the web browser One set of sensors data are visualized at a time, selected from the list below i.e. FFT_max_f List of sensors Data received...
Page 21
Registered mode configuration Create dashboard in IBM Cloud...
Page 22
FP-CLD-WATSON1: Registered mode Create Watson IoT Platform IBM Cloud • “Registered mode” enables to connect your STM32 Nucleo and expansion boards to IBM Cloud and build scalable IoT applications based IBM Watson IoT platform • Create a free account at IBM cloud by following instructions at https://console.bluemix.net/registration/ •...
Page 23
FP-CLD-WATSON1: Registered mode Launch Watson IoT Platform (1/2) • Click on the xxxx-iotf-service link in your IBM cloud dashboard...
Page 24
FP-CLD-WATSON1: Registered mode Launch Watson IoT Platform (2/2) • Click on Launch to open IBM Watson IoT platform service...
Page 25
FP-CLD-WATSON1: Registered mode Create a device type (1/2) • Click on Device then Device Types...
Page 26
FP-CLD-WATSON1: Registered mode Create a device type (2/2) • Select Device as Device Type, enter Device Type name then click on Next...
Page 27
FP-CLD-WATSON1: Registered mode Add a device (1/4) • Select BroweDevices in left side bar, then add your device by clicking on Add Device • Please note that you might have to create a device type first...
FP-CLD-WATSON1: Registered mode Add a device (2/4) • Select Auto-generated authentication token, then click on Next...
Page 29
FP-CLD-WATSON1: Registered mode Add a device (3/4) • Select Device Type, enter your Device ID, then click on Next...
Page 30
FP-CLD-WATSON1: Simple Registration mode Add a device (4/4) • Take note of device credentials generated for your device...
Page 31
FP-CLD-WATSON1: Simple Registration mode Provision credentials to STM32 Nucleo • Reboot the STM32 Nucleo board. When requested select Registered mode. Enter device credentials as shown below Simple Registeration Mode = 2...
Page 32
FP-CLD-WATSON1: Registered mode Provision of device credentials using NFC (optional)(1/2) This feature is only available for Nucoe-F429ZI based configuration. NFC Usage for device credential provisioning is optional. And it requires usage of X-NUCLEO- NFC04A1 expansion board. • Device credentials can also be written to device via NFC by using a mobile application. E.g. with ST25 NFC app: Bring Android...
Page 33
FP-CLD-WATSON1: Registered mode Provision of device credentials using NFC (optional) (2/2) • Format of configuration string passed in step #5 on last slide: • OrgId=yuzagl;DeviceType=f429zi;DeviceId=i1;Token=hdd1hdd1...
Page 34
FP-CLD-WATSON1: Registered mode Visualize messages received from STM32 Nucleo • Browse devices, select your device ID, then click on Recent Events...
Page 35
FP-CLD-WATSON1: Registered mode Create dashboard to visualize data (1/4) • Click on Boards in left bar, then Create New Board...
Page 36
FP-CLD-WATSON1: Registered mode Create dashboard to visualize data (2/4) • Name your board, then click on Add New Card...
Page 37
FP-CLD-WATSON1: Registered mode Create dashboard to visualize data (3/4) • Select Card Type, click on your device ID, then click on Connect data set. • Select status as Event; select one among data set available in the messages received, select type and unit of the data set, then click Next...
Page 38
FP-CLD-WATSON1: Registered mode Create dashboard to visualize data (4/4) • For each data set contained in the messages generated by STM32 Nucleo (Temperature, Humidity, etc.), a different card can be added...
Page 39
Registered mode configuration Connect device to a NodeRED application...
Page 40
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • Node-RED is a flow-based development tool for wiring together hardware devices, APIs and online services (nodered.org) • Node-RED is pre-integrated in Watson IoT Platform...
Page 41
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • Before connecting your devices to Node-RED, you have to generate API keys in IBM Watson IoT dashboard...
Page 42
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • Select Standard Application, then click on Generate Key...
Page 43
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • Note down API Key and Authentication token...
Page 44
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • Go back to your IBM Cloud dashboard and click on your app URL to open Node-RED flow editor. It is optional to secure it using a username/password...
Page 45
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • In Node-RED flow editor, select Manage Palette from menu option, click on install tab and install node-red-dashboard in your Node-RED palette • Select Import to import the flow described in file FFTSensorFlow.json that can be found inside folder STM32CubeFunctionPack_WATSON1_F4_V2.1.1/Utilities/NodeRED •...
Page 46
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • Configure the Watson IoT platform node using following parameters: • API key and authentication token • Device Type • Device ID...
Page 47
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application...
Page 48
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • In order to visualize the sensor data received from STM32 Nucleo in Node-RED dashboard: • Click on the Deploy button on top-right of the Node-RED application page • Click launch icon in dashboard tab...
Page 49
FP-CLD-WATSON1: Registered mode Connect device to Node-RED application • A web based dashboard will appear. Sensor data from STM32 Nucleo is visualized in real time...
Page 51
Condition Monitoring Sensor to Cloud Pre-Integrated Application Packages FP-CLD-WATSON1 - Condition monitoring data Wi-Fi to Cloud Vibration data pushed to IBM cloud over WIFI. Demo kit mounted on top of Motor/Pump/Fan Condition levels for motor: “OK, Warning, Failure” • Condition monitoring and preventive maintenance •...
Page 52
Typical Use Case of Monitoring Industrial Motor Functionality Vibration Capture Mechanical vibration • Displacement Gear Mesh Imbalance Looseness Output shaft Connectivity (or Gearbox) • Speed • Acceleration • Acoustic noise • Angular speed • Torque Processing Secure Connections...
Page 53
Quick Start Guide Contents FP-CLD-WATSON1: STM32Cube function pack for IoT node with Wi-Fi, NFC and sensors for vibration analysis, connected to IBM Watson IoT cloud Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 54
STM32 Open Development Environment Fast, affordable Prototyping and Development • 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...
Page 55
STM32 Nucleo Development Boards (NUCLEO) • A comprehensive range of affordable development boards for all the STM32 microcontroller series, with unlimited unified expansion capabilities and integrated debugger/programmer functionality. 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...
Page 56
STM32 Nucleo Expansion Boards (X-NUCLEO) • 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)
STM32 Open Development Environment Software components • STM32Cube software (CUBE) - A set IAREWARM,Keil MDK-ARM, GCC-based IDEs Tools & IDEs (e.g. Ac6 System Workbench for STM32) of free tools and embedded software bricks to enable fast and easy development on Application examples STM32, including...
Page 58
STM32 Open Development Environment Building block approach The building blocks Your need Our answer Accelerometer, gyroscope Inertial modules, magnetometer COLLECT Sense Pressure, temperature, humidity Proximity, microphone TRANSMIT Bluetooth LE, Sub-GHz radio Connect NFC, Wi-Fi, GNSS Audio amplifier ACCESS Touch controller Translate Operation Amplifier CREATE...
Need help?
Do you have a question about the STM32 Series and is the answer not in the manual?
Questions and answers