background image

January 2010

Doc ID 16752 Rev 1

1/66

UM0857

User manual

Smart monitoring system STEVAL-IFS014V1

 and STEVAL-IFS015V1, based on the STM32x

Introduction

This document explains the functioning of the "smart monitoring system" and also serves as 
a quick reference manual to operate the system. The smart monitoring system works on 
ZigBee

®

 wireless technology and measures temperature, humidity and light intensity of 9 

remote and different locations simultaneously. The system also demonstrates the wireless 
control of home appliances and can serve as a basis for many new systems. 

The objective of this demonstration board is to design a complete system which 
demonstrates the effectiveness of low data rate wireless solutions from ST in automating 
various measurements for weather parameters. This system can be further interfaced to 
take an appropriate action based on the parameters being monitored. The system can very 
easily be modified to control various household appliances by suitable additional hardware. 
This system uses various devices, the most relevant are the STM32x (microcontroller), 
SPZB260 (ZigBee

®

 device), LIS331DLH (MEMS), STMPE811 (touchscreen controller), 

STLM20 (temperature sensor) and various power supply components along with the battery 
charger. The system has been designed taking future expandability into consideration.

The system can be powered up using:

External power supply

3.7 V Li-Ion battery

To summarize, the key features of the system are:

Wireless network

Monitoring of weather parameters (temperature, humidity, light intensity)

Wireless light control application

Node movement and simultaneous node movement detection

Various weather warning configurations and alarm messages

TFT display with touchscreen

Real-time clock along with alarm configurations

Data logging for more than one year

GUI for data reading, saving and analysis using graphs

Power management system

Battery charging capability 

Embedded in-circuit programming capability using JTAG

www.st.com

www.BDTIC.com/ST

Summary of Contents for STEVAL-IFS014V1

Page 1: ...e system can very easily be modified to control various household appliances by suitable additional hardware This system uses various devices the most relevant are the STM32x microcontroller SPZB260 Z...

Page 2: ...Ds 10 1 7 5 Menu 10 1 8 Graphical user interface 10 1 9 Clock and alarm feature 10 1 10 Powering the system 10 2 Getting started 11 2 1 System requirements 11 2 2 System content 11 2 3 Hardware instal...

Page 3: ...play mode power saving 27 4 3 8 System restore 27 4 4 Meaning of navigational icons 28 5 Description of the STEVAL IFS015V1 smart monitoring node 29 5 1 Components of default display screen 29 5 2 Oth...

Page 4: ...2 Rev 1 List of tables Table 1 Parameters of ZigBee network for smart monitoring system 7 Table 2 Bill of material of STEVAL IFS014V1 51 Table 3 Bill of material of STEVAL IFS015V1 60 Table 4 Document...

Page 5: ...actions 24 Figure 19 Menu details 24 Figure 20 Configured clock alarm indication 26 Figure 21 Details of data screen of STEVAL IFS015V1 29 Figure 22 Various other message screens of STEVAL IFS015V1 30...

Page 6: ...gure 56 Tightening the case with screws 44 Figure 57 Applying the rubber pads and STEVAL IFS015V1 powered up with battery 45 Figure 58 3 V coin type CR2032 battery insertion for RTC power backup 45 Fi...

Page 7: ...he application node numbers to the nodes which are connected during the system installation This gives the user the freedom to assign a specific number to the connected node and place it anywhere Some...

Page 8: ...ds a buzzer alarm for the user and displays the warning message on the TFT display This information is also stored in the data logging system along with the date and time stamp as earthquake Note In t...

Page 9: ...e severity level date and time stamp So the user can view later which node was moved at which date and at what time Similar to the node movement data the system also stores the earthquake simultaneous...

Page 10: ...various graphs and can compare the data of the various nodes with each other and also for different dates of one node Graphs can be generated with various features to visualize the data in a proper w...

Page 11: ...15V1 separately These two are different entities and together they comprise the smart monitoring system Note The smart monitoring system works as a standalone unit with either the STEVAL IFS014V1 or S...

Page 12: ...or ZigBee activity Figure 2 Smart monitoring station STEVAL IFS014V1 side view The major components present on the smart monitoring station STEVAl IFS014V1 side view are see Figure 2 USB mini USB conn...

Page 13: ...nitoring node STEVAL IFS015V1 front view are see Figure 4 Graphical LCD Light dependent resistor LDR for measuring ambient light intensity D1 LED indicator for lamp D2 LED indicator for alarm NW LED i...

Page 14: ...power on or off Figure 6 Smart monitoring node STEVAL IFS015V1 back view The smart monitoring node STEVAl IFS015V1 has a clip to hang the board on the wall see Figure 6 Note For a complete hardware de...

Page 15: ...es its power consumption from battery to mains and the battery starts charging On both the smart monitoring station and smart monitoring node there is a power switch which is used to switch the supply...

Page 16: ...r the welcome screens a wait screen appears on the display indicating SCANNING NETWORK The user should not do anything until the network scanning is complete After the scanning is complete a screen in...

Page 17: ...play of STEVAl IFS014V1 appears indicating that a new node has joined the system as shown in Figure 9 Figure 9 Newly joined node 3 After a while the user is asked to assign the node number to the newl...

Page 18: ...number to the newly joined number Note It is recommended that no node should be switched on until the STEVAL IFS014V1 shows the default data screen after startup 3 3 Seeing the parameters of a specif...

Page 19: ...all the weather parameters of all the nodes including itself once per day These values are stored along with the time stamp With this data the user can know not only the values but also at what time o...

Page 20: ...ther parameter of any node crosses the configured maximum or minimum limit then that node sounds an alarm At the same time this information is transferred to the smart monitoring station through ZigBe...

Page 21: ...n in Figure 16 Figure 16 Simultaneous node movement of nodes 2 4 and 5 caused simultaneous movement detection Note 1 Simultaneous movement of all the active nodes of the system has been defined as ear...

Page 22: ...he system detects the battery status and displays a message on the screen and the node number becomes blue again Note 1 When the battery value falls to 3 3 V the board interprets this value as a low b...

Page 23: ...Components of the sensor data screen Figure 17 Sensor data screen 4 2 Dedicated symbols for important actions Several white colored icons are situated on the right side of the TFT display of the STEVA...

Page 24: ...icons for various actions Note These icons do not work when the system is in the ASSIGN NODE NUMBER screen 4 3 Menu The menu of the smart monitoring station has a hierarchical structure which is illus...

Page 25: ...ter the node selection the user is given options to switch the lamp on or off The user can select any option and the action is performed accordingly Note On the board the lamp is indicated using an on...

Page 26: ...em alarm is set and a symbol of a clock alarm is displayed near the displayed time on the sensor data screen see Figure 20 Figure 20 Configured clock alarm indication 5 When the alarm time is reached...

Page 27: ...active then the warning condition of that particular node for that particular parameter is configured Note The maximum value of any parameter should be greater than the minimum value 4 3 7 No display...

Page 28: ...general this increments the digit and upon reaching the maximum limit the value rolls over and increments again MOVE The function of this icon is to change the current place of the pointer Upon pressi...

Page 29: ...e default screen or the main screen of the display appears which contains the various parameters and other information 5 1 Components of default display screen Figure 21 shows the complete default scr...

Page 30: ...the JTAG is connected to the smart monitoring node and the node is powered up then after the welcome messages a message of non availability of the lamp and alarm LEDs is displayed This is because the...

Page 31: ...monstrating how to set the system time Taking this example as a reference the user can navigate through various menu options and can perform any operation To set the system time the user should perfor...

Page 32: ...4 The settings menu opens Figure 25 SETTINGS menu 5 Select CLOCK using the touchscreen 6 The clock menu opens Figure 26 CLOCK menu 7 Select the SET SYSTEM TIME option using the touchscreen 8 The syst...

Page 33: ...then he should move to the next place one s place of the hour by pressing the MOVE icon using a stylus The pointer of the time setting moves to the one s place of the hour and is highlighted as shown...

Page 34: ...u after setting the time and date in the system Note 1 As the time and date in the smart monitoring station are set by the user the smart monitoring station itself updates this information in all the...

Page 35: ...ver there is an error or alarm 4 D1 lamp LED yellow this LED functions as the lamp which can be switched on or off from the smart monitoring station by the user using the light application of the syst...

Page 36: ...the STEVAL IFS014V1 board 1 Turn the board upside down and place it on a table Figure 33 Back of STEVAL IFS014V1 and screwdriver 2 Remove the rubber pads from the holes Figure 34 Removal of rubber pad...

Page 37: ...ve it to the side of the board This should be done very carefully because the top and bottom of the board are connected by a flex cable and if this becomes damaged the system may experience damage Fig...

Page 38: ...attery to the third pin of the jumper designated as BT1 Figure 40 Battery soldering During soldering care should be taken to avoid damage to the case and the flex cable 9 Switch on the power switch an...

Page 39: ...should be taken that the screws are not tightened with too much force as this can damage the TFT display or LEDs Figure 43 Tightening the screws 12 Apply the rubber pads on the screws Now the smart mo...

Page 40: ...coin type CR2032 battery insertion for RTC power backup 6 4 2 Battery connection STEVAL IFS015V1 The user should do the following steps in order to connect the battery to the STEVAL IFS015V1 board 1 T...

Page 41: ...able Figure 48 Front of STEVAL IFS015v1 5 Remove the top cover of the board and move it to the side of the board This should be done very carefully because the top has the cutouts for the LCD and LEDs...

Page 42: ...m the jumper J4 Figure 50 Removing the LCD 7 When the board is open remove the cover of the tape where the battery is to be placed Figure 51 Removing the cover of double sided tape for battery placeme...

Page 43: ...ry to the third pin of the jumper designated as BT1 Figure 53 Soldering the battery During soldering care should be taken to avoid damage to the case and the nearby LEDs 10 Switch on the power switch...

Page 44: ...ose the case Care should be taken that the screws are not tightened excessively as this can damage the display or LEDs Figure 56 Tightening the case with screws 13 Apply the rubber pads on the screws...

Page 45: ...ed up with battery Note For the RTC power backup that is to make the clock operate even when the station is not powered up a 3 V CR2032 battery should be inserted in the socket BT2 Figure 58 3 V coin...

Page 46: ...of STEVAL IFS014V1 Figure 59 Sheet 1 of schematic of STEVAL IFS014V1 V 5 N 5 6736 6736 Q Q 1 1 287 8 675 627 X 9 9 352 1 5 32 5 21 7 8 67 305 5 N Q 2 5 5 7 9B L 21 X X 5 1 6 1 287 8 Q 5 N 9 B 7 Q 5 N...

Page 47: ...62 B6 3 B7 B7 17 3 B7 B5 6 7 3 B7 B 17 9 B6 3 BQ5 6 7 3 BQ 267B 17 63 BQ66 63 B026 3 BQ 21 5 N 5 N 5 N 5 3 B6 B 9 9 567 267B 17 63 B66 026 0 62 6 1 9 5 6 B6 6 B0 62 6 B026 6 B 2 37 B 1 37 B 7 7 9 7 6...

Page 48: ...7B 3 B7 7B 3 B7 7B 3 B7 7B 9 B 7 2 3 B7 7B 3 B7 7B 3 B7 7B 3 B7 7B 3 B7 7B 3 B7 7B 3 B7 7B 3 B7 7B 5 5 N 5 N B 7 2 3 B7 7B S S S S 1 1 3 B 7 3 B 7 B6 3 B 7 B6 3 B 7 B6 3 B 7 B6 5 6 7 1 86 0 1 86 3 3...

Page 49: ...B0 62 63 B026 3 B6 B 3 B7 B5 6 7 3 B7 B 17 3 B7 B7 17 3 B 17B76 3 B7 7B 6 3 B7 7B56 3 B7 7B 5 3 B7 7B5 B6 B6 9 227 9 3 B 7 B6 86 3 86 0 3 B86 B 175 3 B7 7B 3 BQ5 6 7 3 BQ 3 BQ 267B 17 3 B7 7B 3 B7 7B...

Page 50: ...0 9 B86 2 1 2 2 9EXV 2 8 86 5 N 5 5 Q 9 B86 86 0 86 3 3 B86 B 175 5 9 3 B 03B 5 N 3 B 8 9 8 5 8 0 3 90 73 5 N 5 N 9 9 9 63 B6 3 B6 B6 63 B0 62 63 B026 17 DWDBRXW 6 6 7 9 DWDBLQ 1 1 1 1 1 9LR 8 6703 5...

Page 51: ...ics M25PE80 VMW6G U7 Temperature sensor analog SOT323 5 STMicroelectronics STLM20W87F STMicroelectronics STLM20W87F U8 MEMS QFPN 28 STMicroelectronics LIS331DLH STMicroelectronics LIS331DLH U9 Microco...

Page 52: ...nts OS202011MA0QN1 MOUSER ELECTRONICS 611 OS202011MA0QN1 BT2 3V Li Ion coin battery holder Through hole Renata HU2032 LF MOUSER ELECTRONICS 614 HU2032 LF BT1 Header for 3 7 V Li Ion battery connection...

Page 53: ...ELECTRONICS 604 WP7104QBC D D2 Green LED power status of the system Through hole 3 mm round Kingbright WP7104GC MOUSER ELECTRONICS 604 WP7104GC D3 Orange LED indication of battery charging ongoing Th...

Page 54: ...ors L1 22 H 630 MA SMD 6 0 mm x 6 0 mm x 1 2 mm L x W x H Taiyo Yuden NR6012T220M Digi Key 587 1708 1 ND L2 1 H reactance 600 at 100 MHz SMD0805 MuRata BLM21B601S Digi Key 490 1046 1 ND Resistors R29...

Page 55: ...10 k SMD0805 Any R12 15 k SMD0805 Any R46 33 k SMD0805 Any R3 R4 R5 R6 R59 R60 100 k SMD0805 Any R13 180 k SMD0805 Any R48 R49 1 M SMD0805 Any Misc compone nts BZ1 Buzzer AXIAL CUI Inc CEP 2242 Digi K...

Page 56: ...ect J1 and J8 after breakup of the board Samtec FJ 20 D 03 00 4 Integrated Electronics FJ 20 D 03 00 4 Casing OKW A9052107 and A952017 and A9152007 Schurter Electronics India A9052107 and A952017 and...

Page 57: ...t 1 of schematic of STEVAL IFS015V1 V 5 N 5 6736 6736 Q Q 1 1 287 8 675 627 X 9 9 9 352 1 5 32 5 21 7 8 67 305 5 N Q 2 5 5 7 9B L 21 X X 5 1 6 1 287 8 Q 5 N 9 B 7 Q 5 N 9 3 B 2 7 5 N 5 N X 9 B 7 32 5...

Page 58: ...26 B 1 26 B287 26 B 1 26 B287 1567 9 3 B79287 3 B 9287 3 B 9287 3 B 3 B 3 B 3 B 3 B B 3 B 175 B0 06 3 B B 3 B 3 B 9 3 BQ66 63 B6 63 B0 62 63 B026 3 BQ 3 BQ5 6 7 3 BQ 267B 17 3 B 7 9 3 B 7 3 B 7 3 B 7...

Page 59: ...9 7 6B 63 3 BQ5 6 7 3 BQ 267B 17 3 BQ66 63 B026 63 B0 62 63 B6 9 3 BQ 5 N 5 5 5 5 7 9 7 6 63 B6 37 B 7 63 B567 6 B6 6 B026 6 B0 62 37 B 1 6 B 2 1 63 B6 9 6 7 9 7 37 B 7 37 B 1 6 B 2 6 B026 6 B0 62 6...

Page 60: ...ensor analog SOT323 5 STMicroelectronics STLM20W87F STMicroelectronics STLM20W87F U8 Low voltage detector SOT23 3 STMicroelectronics STM1061N29WX6F STMicroelectronics STM1061N29WX6F J3 ZigBee module c...

Page 61: ...ion 30320 6002HB MOUSER ELECTRONICS 517 30320 6002 J4 please see the Note 1 also Connector to solder on the graphical display please see Note 2 Header 16 pin 2 54 mm pitch SAMTEC TSW 150 23 G S Intege...

Page 62: ...3 C14 C15 100 nF SMD0402 Any C19 C20 47 F SMD0402 Any C16 C17 C18 Tantalum cap 10 F SMD1206 R semiconductor TCA1A106M8R Digi Key 511 1463 1 ND Inductors L1 22 H 630 MA SMD 6 0 mm x 6 0 mm X 1 2 mm L X...

Page 63: ...R20 R21 R22 R48 10 k SMD0402 Any R23 15 k SMD0402 Any R38 22 k SMD0402 Any R39 33 k SMD0402 Any R24 180 k SMD0402 Any R33 R45 1 M SMD0402 Any Misc componen ts BZ1 Buzzer AXIAL CUI Inc CEP 2242 Digi Ke...

Page 64: ...play PCB TechStar TS12232C Shenzhen Techstar Electronics TS12232C Header for graphical LCD Header 16 pin 2 54 mm pitch Samtec SSQ 108 01 G D Integrated Electronics SSQ 108 01 G D Support for graphical...

Page 65: ...UM0857 Revision history Doc ID 16752 Rev 1 65 66 8 Revision history Table 4 Document revision history Date Revision Changes 04 Jan 2010 1 Initial release www BDTIC com ST...

Page 66: ...OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRES...

Reviews: