You are on page 1of 4

STEVAL-MKI029V1

Inclination analysis demonstration board based on the STM8S207R6 MCU and LIS331DLH MEMS
Data brief

Features

Detects and provides visual/audio representation of: tilt on X axis tilt on Y axis circular motion of the board free-fall of the board Displays motion information using multicolored 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 STEVAL-MKI029V1 There are three musical modes in which music/rhythm is played based on the mode/motion of the board. There are also three silent modes, for a total of six different modes of operation. The STEVAL-MKI029V1 can be switched from one mode to another by pressing the on-board MODE button. To reduce power consumption, the system automatically enters standby mode when there is no motion for more than 10 seconds. The system wakes up from standby when a vibration/motion is detected. The STEVALMKI029V1 also monitors the batteries, and allows the user to check their status at any time. When low battery is detected, the system alerts the user and enters into no operation to avoid the system 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 can be powered using 3 AAA batteries of 1.5 V each. The board is of circular shape, with a diameter of 84 mm and a height of 26 mm. The board is RoHS compliant.

Description
The STEVAL-MKI029V1 inclination analysis board is a handheld demonstration board which detects the tilt on X-axis and tilt on Y-axis. The visual representation of this information is done using colored LEDs placed in two circles. The system can detect the free-fall of the board and display 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.
June 2009

Doc ID 15631 Rev 2

1/4
www.st.com 4

For further information contact your local STMicroelectronics sales office.

PD6_LOWBAT PD5_SWITCH PD4_LED20 PD3_LED19 PD2_LED18 SWIM PD0_LED17

PE1_I2C_SCL PE2_I2C_SDA PE3_MEMS_INTR1 PE4_MEMS_INTR2

U1 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PE0 PE1 PE2 PE3 PE4 PG7 PG6 PG5 PB4_LED5 PB5_LED6 PB6_LED7 PB7_LED8 PC7_MEMS_MISO PC6_MEMS_MOSI 3V3 PF6_LED11 PF7_LED12 PC5_MEMS_SCL PC4_LED16 PC3_LED15 PC2_LED14 PC1_LED13 PE5_MEMS_CS PF5_LED10 PD4_LED20 PF4_LED9 PD3_LED19 PD2_LED18 PD0_LED17 PC4_LED16 PC3_LED15

C1 100nF

NRST PA1 PA2

C2 470nF STM8S207R6T6

3V3

64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49

Circuit schematics

3V3

PF3_BATT_STATUS

3V3_A PE1_I2C_SCL I2C_VDD PE2_I2C_SDA

Schematic diagrams

C3 100nF

17 18 19 20 21 22 PB7_LED8 23 PB6_LED7 24 PB5_LED6 25 PB4_LED5 26 PB3_LED4 27 PB2_LED3 28 PB1_LED2 29 PB0_LED1 30 PE7_NOFREEFALL 31 PE6_FREEFALL 32

L1 INDUCTOR BEED

PF3 VREF+ VDDA VSSA VREFPF0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 PE7 PE6

COMP

PF3_BATT_STATUS R28 2k2 C7 220pF

POW ER_GND

GND

16

15

C9 100nF U3 GND VDD 14

NC NC LIS331DLH RESERVED SDA SDO INT 2 CS 9 PE4_MEMS_INTR2 10 SCL GND INT 1 11 PE3_MEMS_INTR1

RESERVED

2/4
LED OUTER CIRCLE LED INNER CIRCLE

MICROCONTROLLER SECTION

Circuit schematics

3V3 PB0_LED1 PB1_LED2 PB2_LED3 PB3_LED4 PC2_LED14 D13 LED D14 LED D15 LED D16 LED D17 LED D18 LED D19 LED D20 LED R14 220 R15 220 R16 220 R17 220 R18 220 R19 220 R20 220 R21 220 PC1_LED13 3V3 D1 LED D2 LED D3 LED D4 LED D5 LED D6 LED D7 LED D8 LED D9 LED D10 LED D11 LED D12 LED R1 220 R2 220 R3 220 R4 220 R5 220 R6 220 R7 220 R8 220 R9 220 R10 220 R11 220 R12 220

Figure 1.

R13 4k7

3V3 PA3_BUZZER PA4 PA5 PA6 PF7_LED12 PF6_LED11 PF5_LED10 PF4_LED9

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 PI0 PG4 PG3 PG2 PG1 PG0 PC7 PC6 VDDIO_2 VSSIO_2 PC5 PC4 PC3 PC2 PC1 PE5

NRST PA1 PA2 VSSIO_1 VSS VCAP VDD VDDIO_1 PA3 PA4 PA5 PA6 PF7 PF6 PF5 PF4

48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33

MODE SWITCH SECTION

BUZZER SECTION

SWIM CONNECTOR
3V3

C4 1uF 3V3

R22 4k7 R23 4k7

3V3 R32 4k7 3V3 SW 1 PD5_SW ITCH MODE PA3_BUZZER L2 1 U2 7 SYNC VCC PGOOD LBI PD6_LOW BAT + C8 4.7uF/6.3V VFB 3 8 R26 430k R27 10k LX 6 + 1 C6 4.7uF/6.3V 5 L6926 15uH 3V3 2 C11 100nF BUZZER SW IM CONN R31 1k BZ1 J1 1 2 3 4 3V3 SW IM GND NRST

R35 1k

Doc ID 15631 Rev 2


EXTERNAL CONNECTOR
R25 4k7 J2 J3 C10 100nF 3V3 CON7 1 2 3 4 5 6 7 GND PA1 PA2 PE2_I2C_SDA PE1_I2C_SCL I2C_VDD 3V3 3V3 CON7 1 2 3 4 5 6 7 GND PA4 PA5 PA6 NRST 3V3 3V3 3V3 3V3 1 VDD_IO GND 12 GND 2 3 4 5 13 3V3 PE3_MEMS_INTR1 PE5_MEMS_CS PC7_MEMS_MISO PC6_MEMS_MOSI PE4_MEMS_INTR2 R29 4k7 R30 4k7

POWER SUPPLY SECTION

VBAT

SW 2 1

3 X AAA BATTERIES

POW ER SW ITCH

BT1

C5 100nF

R24 4k7

FREE FALL LED SECTION

POW ER_GND

R36 0

GND

3V3

3V3

D21 PE7_NOFREEFALL R33 47 BICOLOR_SMDLED R34 47 PE6_FREEFALL 3V3

MEMS SECTION

3V3

PC5_MEMS_SCL

GND

STEVAL-MKI029V1

AM037990v1

STEVAL-MKI029V1

Revision history

Revision history
Table 1.
Date 24-Apr-2009 15-Jun-2009

Document revision history


Revision 1 2 Initial release. Content reworked to improve readability Updated Figure 1: Schematic diagrams Changes

Doc ID 15631 Rev 2

3/4

STEVAL-MKI029V1

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (ST) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to STs terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

UNLESS OTHERWISE SET FORTH IN STS TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES 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 EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USERS OWN RISK.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.

ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

2009 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com

4/4

Doc ID 15631 Rev 2

You might also like