Page 1
Quick Start Guide STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors (FP-SNS-SMARTAG1) Version 1.2 (Nov 6, 2019)
Page 2
Quick Start Guide Contents FP-SNS-SMARTAG1: STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 3
Hardware Overview Sample implementations are available for: STM32 Nucleo with expansion boards • NUCLEO-L053R8 + X-NUCLEO-NFC04A1 + X-NUCLEO- IKS01A2 (or X-NUCLEO-IKS01A3) STEVAL-SMARTAG1 evaluation boards...
Page 4
The board also features an antenna with a 54 mm ISO 24.2 diameter, single layer, copper etched on PCB Key products on board ST25DV04KV Dynamic NFC/RFID tag IC with 4-Kbit, 16-Kbit or 64-Kbit EEPROM, and Fast Transfer Mode capability ST25DV04K Printed Antenna Latest info available at www.st.com X-NUCLEO-NFC04A1...
Page 5
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 Product on board LSM6DSL MEMS 3D accelerometer (±2/±4/±8/±16 g) + 3D gyroscope (±125/±245/±500/±1000/±2000 dps)
Page 6
The X-NUCLEO-IKS01A3 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 LSM6DSO MEMS 3D accelerometer (±2/±4/±8/±16 g) + 3D gyroscope (±125/±250/±500/±1000/±2000 dps)
Page 7
Important Hardware Additional Information STM32 Nucleo with Expansion boards - Hardware overview (4/4) Before connecting the X-NUCLEO-NFC04A1 to the X-NUCLEO-IKS01A2 (or X-NUCLEO-IKS01A3) expansion board through the Arduino UNO R3 extension connector, remove the resistors R2, R3 and R4 on the X-NUCLEO-NFC04A1 board, as shown the Figure below.
Page 8
ST NFC SensorTag Platform STEVAL-SMARTAG1 evaluation board - Hardware Overview STEVAL-SMARTAG1 Hardware Description • STEVAL-SMARTAG1 is a flexible NFC Tracker evaluation board with sensors includes a comprehensive software library and a sample application to monitor and log sensor data over NFC from an Android or iOS device.
Page 9
Overall Software Architecture This software, together with the suggested combination of STM32 and ST devices can be used, for example, to develop tracking, cold chain, medical, smart sensing, and smart home, city and building applications. The software runs on an ultra-low power STM32L0 microcontroller and includes Product summary drivers for the Dynamic NFC tag and for the motion and environmental sensors.
Page 10
Quick Start Guide Contents FP-SNS-SMARTAG1: STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 11
NUCLEO-L053R8 X-NUCLEO-NFC04A1 X-NUCLEO-IKS01A2 1x STM32 Nucleo Development Board (NUCLEO-L053R8) • 1x Android™ or iOS™ NFC device with ST NFC Sensor app installed • 1x PC with Windows 7 and above X-NUCLEO-IKS01A3 • 1x USB type A to Mini-B USB cable...
Page 12
6 5 4 3 2 1 • 1x STM32-Nucleo or ST-Link programmer • 1x USB type A to Mini-B USB cable for the ST-Link 1 – RED (VDD) 2 – GREEN (SWCLK) 3 – BLACK (GND) 4 – YELLOW (SWIO) 5 –...
Page 13
PCB silkscreen SWD connections with 6-pin flat cable (STM32 Nucleo and ST NFC SensorTag board). Remove Jumpers (Pin1) NOTE The battery must be present in order to use the ST-Link features (programming, debugging and serial communication)
Page 14
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-L053R8 or STEVAL-SMARTAG1 • ST NFC Sensor Application for Android/iOS available from Google Store / iTunes...
Page 15
FP-SNS-SMARTAG1 Dynamic NFC tag, environmental and motion sensors (1/2) www.st.com/stm32ode-fp FP-SNS-SMARTAG1 package structure www.st.com Docs BSP, HAL and drivers Download & unpack Application example for Nucleo and STEVAL Select FP-SNS-SMARTAG1 Android™/iOS™ smartphone and .\Projects\STM32L053R8-Nucleo\Examples\SmarTag1 ST NFC Sensor application Compile/Flash and...
Page 16
FP-SNS-SMARTAG1 Dynamic NFC tag, environmental and motion sensors (2/2) www.st.com/stm32ode-fp FP-SNS-SMARTAG1 package structure www.st.com Docs BSP, HAL and drivers Download & unpack Application example for Nucleo and STEVAL Select FP-SNS-SMARTAG1 Android™/iOS™ NFC device and . \Projects\STM32L031K6-SmarTag1\Examples\SmarTag1 ST NFC Sensor application...
Page 17
FP-SNS-SMARTAG1 Using serial line monitor – e.g.Tera Term (1/2) FP-SNS-SMARTAG1 for NUCLEO-LO53R8 with expansion boards • After the RESET you could see the initialization phase • After autostart the sensor data are logged • These messages are written when getting (before) and...
Page 18
FP-SNS-SMARTAG1 Using serial line monitor – e.g.Tera Term (2/2) FP-SNS-SMARTAG1 for STEVAL-SMARTAG1 • After the RESET you could see the initialization phase • After autostart the sensor data are logged NOTE For having the UART functionality on to STEVAL-SMARTAG1 board, it is necessary:...
Page 19
FP-SNS-SMARTAG1 ST NFC Sensor Application for Android/iOS (1/3) Enable/Disable the data to be logged Enable/Disable the accelerometer events Writes the new settings Settings Settings: log only out of range and accelerometer events • Settings: it is open when getting the smartphone near the NFC tag •...
Page 20
FP-SNS-SMARTAG1 ST NFC Sensor Application for Android/iOS (2/3) Chart: Sensor plot Chart: Events Chart: Sensor plot details • Chart: • Sensor Plot: • the plots of the selected data for the logging are shown. • for any plot, with the “SHOW DETAILS” the values of the logged data are shown •...
Page 21
FP-SNS-SMARTAG1 ST NFC Sensor Application for Android/iOS (3/3) Extremes Single Shot • Extremes: • shows the maximum and minimum value obtained during the data logging of the selected data. • Single Shot (only if the battery is not plugged): •...
Page 22
DB3553: STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors for STM32Cube – data brief • UM2389: Getting started with the FP-SNS-SMARTAG1 dynamic NFC tag, environmental and motion sensors for STM32Cube – user manual •...
Page 23
UM2559: Getting started with motion MEMS and environmental sensor expansion board for STM32 Nucleo – user manual STEVAL-SMARTAG1 • Gerber files, BOM, Schematic • DB3533: NFC Dynamic Tag sensor node evaluation board– data brief Consult www.st.com for the complete list...
Page 24
Quick Start Guide Contents FP-SNS-SMARTAG1: STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
Page 25
The STM32 Open Development Environment (STM32 ODE) is an open, flexible, easy and affordable way to develop innovative devices and applications based on the STM32 32-bit microcontroller family combined with other state-of-the-art ST components connected via expansion boards. It enables fast prototyping with leading-edge components that can...
Need help?
Do you have a question about the FP-SNS-SMARTAG1 and is the answer not in the manual?
Questions and answers