ST UM0704 User Manual Download Page 1

   

   

   

April 2010

Doc ID 15731 Rev 1

1/18

UM0704

User manual

STEVAL-MKI029V1: inclination analysis demonstration board

based on the STM8S207R6 MCU and LIS331DLH MEMS

Introduction

This document explains the functioning of the STEVAL-MKI029V1 inclination analysis 
demonstration board based on STM8S207R6 MCU and LIS331DLH MEMS, and also 
serves as a quick reference manual to operate the system.

The STEVAL-MKI029V1 inclination analysis demonstration board is a hand-held 
demonstration board which detects the tilt on the X- and Y-axis of the board and provides a 
visual representation of this information using an array of colored LEDs placed in two 
circles. The demonstration board can detect the free-fall of the board and displays the 
information for this event on the bi-color LED at the center of the board. The system can also 
be configured to detect the circular motion of the board, in which LED patterns are 
generated depending on board movement. The STEVAL-MKI029V1 also features a 
demonstration mode. In this mode, different LED patterns are displayed irrespective of the 
position/motion of the board, making the system suitable for exhibitions and seminars.

Three modes of operation have been implemented. Each mode can be operated with or 
without the buzzer. An on-board button takes the demo from one mode to the next in a cyclic 
manner. The system automatically enters standby mode when there is no motion for more 
than 10 seconds and wakes up from standby when a vibration/motion is detected or the on-
board button is pressed.

The STEVAL-MKI029V1 also monitors the batteries, and allows the user to check their 
status at any time. When low battery power is detected, the system alerts the user to 
change the batteries and the system enters into no-operation mode to avoid malfunction. 
The board is equipped with free MCU I/Os for the external interface, and a SWIM connector 
is included to provide in-circuit debugging capability. The system is powered by 3 AAA 
batteries of 1.5 V each. The board has a circular shape, with a diameter of 84 mm. The 
board is RoHS compliant.

To summarize, the key features of the system are:

Detects and provides visual/audio representation of:

– Tilt on the X-axis

– Tilt on the Y-axis

– Circular motion of the board

– Free-fall motion of the board

Displays motion information using multi-colored LEDs or music/rhythm patterns

Provides six different operating modes

Offers a standby function for low power consumption

Monitors the 3 AAA batteries and displays their status on the LEDs

Provides additional MCU I/Os for future extensions

Equipped with a SWIM connector for debugging capability

Compliant with RoHS directives

www.st.com

www.BDTIC.com/ST

Summary of Contents for UM0704

Page 1: ...or without the buzzer An on board button takes the demo from one mode to the next in a cyclic manner The system automatically enters standby mode when there is no motion for more than 10 seconds and w...

Page 2: ...up the system 6 2 2 System operation modes 6 2 2 1 Inclination mode 6 2 2 2 Inclination mode with sound 9 2 2 3 Circular mode 9 2 2 4 Circular mode with sound 9 2 2 5 Demonstration mode whirl mode 10...

Page 3: ...on the X axis 6 Figure 5 Tilt in the X axis in a left direction 7 Figure 6 Tilt in the X axis in a right direction 7 Figure 7 Tilt on the Y axis image of the board s X and Y axis 8 Figure 8 Tilt on t...

Page 4: ...29V1 Documentation User manual 1 3 Hardware installation The system can be powered up by using three AAA batteries of 1 5 V each Figure 1 STEVAL MKI029V1 front view The major components present on the...

Page 5: ...ies Buzzer Free MCU I Os for future expansion 1 4 Powering up the system The system is powered up using the three AAA 1 5 V batteries These batteries should be placed into the battery case attached to...

Page 6: ...Inclination mode Inclination is the term which is used to describe the tilt of the system from the equilibrium position The equilibrium position is the state when the board plane MEMS X Y plane is par...

Page 7: ...e board fixed if the X axis of the board is tilted downwards right the outer circle LEDs start glowing beginning from D6 At an inclination of say 14 degrees D6 glows If the inclination is increased fu...

Page 8: ...ion D20 D18 D19 D16 D17 and so on Similarly let us suppose that from the equilibrium position keeping the X axis of the board fixed if the Y axis of the board is tilted downwards the Y axis of the boa...

Page 9: ...out the inclination measurement and display please see Section 2 2 1 2 2 3 Circular mode In this system mode the circumference of the board is divided into 12 directions and each LED on the outer circ...

Page 10: ...D6 and again follows a clockwise motion at a particular speed The speed of the circular motion continues to increase at a particular rate and the running LED again starts from the inner circle LED D11...

Page 11: ...f the board Normally the central D21 LED of the board is green As the board is given a free fall motion the system produces a warning sound and the bi color LED turns red The inner circle blinks five...

Page 12: ...3 9 9 3 B0 06B 175 3 B0 06B 175 3 B6 7 3 B 2 7 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 287 5 5 11 5 5 0 52 21752 5 6 7 21 32 5 6833 6 7 21 0 06 6 7 21 5 6 7 21 5 2 7 1 1 2 0 6 1 2 7 6 5 8 1 2 7 6 7 6 2 0...

Page 13: ...ton switch used as MODE switch Through hole Tyco Electronics FSMH Digi Key 450 1646 ND SW2 Right angled slider switch used as power switch Right angled through hole EAO 09 10290 01 Farnell 674357 Conn...

Page 14: ...asonic ECG ECJ 3YB1C105K or equivalent Digi Key PCC1882CT ND C6 C8 Ceramic 4 7 F 6 3 V SMD 1206 Murata Electronics North America GRM31MR60J4 75KC11L or equivalent Digi Key 490 3043 1 ND Inductors L1 F...

Page 15: ...SMD0805 Xicon 292 1 0K RC or equivalent Mouser 292 1 0K RC R28 2 2 SMD0805 Xicon 292 2 2K RC or equivalent Mouser 292 2 2K RC R13 R22 R23 R24 R25 R29 R30 R32 4 7 SMD0805 Vishay Dale CRCW08054K7 0JNEA...

Page 16: ...H431 C GR Mouser 12BH431 C GR 55 mmx 38 mm wired Memory protection devices SBH 431 1A Digi Key SBH 431 A ND BZ1 Buzzer 12 2 mmx 6 5 mm through hole TDK PSI240P02AT Mouser 810 PS1240P02AT Table 1 BOM c...

Page 17: ...UM0704 Revision history Doc ID 15731 Rev 1 17 18 4 Revision history Table 2 Document revision history Date Revision Changes 23 Apr 2010 1 Initial release www BDTIC com ST...

Page 18: ...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: