STEVAL-MKI030V1 Vibration analysis demonstration board based on the STM8S207R6 MCU and LIS331DLH MEMS Data brief Features Detects and provides visual/audio representation of: - board vibration - circular motion of the board - tilt 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 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. Description The STEVAL-MKI030V1 vibration analysis board is a hand held demonstration board which detects the vibration of the board and measures acceleration on all three axes (X, Y and Z) caused by this vibration. The system can detect the tilt of the board and display this information using 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-MKI030V1 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 STEVAL-MKI030V1 The STEVAL-MKI030V1 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 STEVALMKI030V1 also monitors the batteries, and allows the user to check their status at any time. When low battery is detecetd, the system alerts the user to change the batteries and enters in no operation condition to avoid 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. Doc ID 15630 Rev 2 For further information contact your local STMicroelectronics sales office. 1/4 www.st.com 4 3V3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 L1 INDUCTOR BEED 3V3 R43 0 C6 100nF R44 4k7 3V3 STM8S207R6T6 5 GND 3 2 1 4 C11 100nF R45 4k7 + GND SCL NC NC VDD_IO U3 C5 4.7uF/6.3V PC5_MEMS_SCK GND C4 1uF C3 100nF 3V3_A PF3_BATT_STATUS MEMS SECTION 3V3 2 3 POWER SWITCH SW2 1 POWER_GND POWER_GND BT1 3 X AAA BATTERIES VBAT NRST PA1 PA2 VSSIO_1 VSS VCAP VDD VDDIO_1 PA3 PA4 PA5 PA6 PF7 PF6 PF5 PF4 PF3_BATT_STATUS 3V3 PA3_LED3 PA4_LED4 PA5_LED5 PA6_LED6 PF7_LED7 PF6_LED8 PF5_LED9 PF4_LED10 C2 470nF NRST PA1_LED1 PA2_LED2 U1 POWER SUPPLY SECTION 3V3 C1 100nF R50 4k7 1 6 7 LX LBI C10 100nF INT 1 GND GND 3V3 12 13 9 10 11 3 PI0_MEMS_CS PC7_MEMS_MISO PC6_MEMS_MOSI INT 2 RESERVED LIS331DLH VFB 8 5 PI0 PG4 PG3 PG2 PG1 PG0 PC7 PC6 VDDIO_2 VSSIO_2 PC5 PC4 PC3 PC2 PC1 PE5 VCC PGOOD SYNC U2 L6926 C8 220pF GND 15 RESERVED 16 SDA 6 CS 8 SDO 7 COMP 3V3 MICROCONTROLLER SECTION PD7_BUZZER PD6 PD5 PD4_CIRCLE2 PD3_CIRCLE1 PD2_ZAXIS SWIM PD0_YAXIS PE0_XAXIS PE1_I2C_SCL PE2_I2C_SDA PE3_LED30 PE4_LED29 PG7_LED28 PG6_LED27 PG5_LED26 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PE0 PE1 PE2 PE3 PE4 PG7 PG6 PG5 PF3 VREF+ VDDA VSSA VREFPF0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 PE7 PE6 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 PF0_LED11 PB7_LED12 PB6_LED13 PB5_LED14 PB4_LED15 PB3_LED16 PB2_LED17 PB1_LED18 PB0_LED19 PE7_LED20 PE6_TILT GND Doc ID 15630 Rev 2 2 2/4 4 R46 430k 15uH L2 2 PC4_LOWBAT 1 PC5_MEMS_SCK PC4_LOWBAT PC3_MEMS_INTR2 PC2_MEMS_INTR1 PC1_SWITCH PE5_NOTILT PI0_MEMS_CS PG4_LED25 PG3_LED24 PG2_LED23 PG1_LED22 PG0_LED21 PC7_MEMS_MISO PC6_MEMS_MOSI PC3_MEMS_INTR2 PC2_MEMS_INTR1 PC3_MEMS_INTR2 PC2_MEMS_INTR1 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 3V3 R48 4k7 R49 4k7 I2C_VDD R47 2k2 R41 4k7 R42 4k7 R51 C12 10k 100nF 3V3 3V3 + C7 10uF/6.3V C12 NOT TO BE MOUNTED PE2_I2C_SDA PE1_I2C_SCL Z1 LED Z2 LED Z3 LED Z4 LED Z5 LED Z6 LED Z7 LED Z8 LED Z9 LED Z10 LED Y1 LED Y2 LED Y3 LED Y4 LED Y5 LED Y6 LED Y7 LED Y8 LED Y9 LED Y10 LED R21 220 R22 220 R23 220 R24 220 R25 220 R26 220 R27 220 R28 220 R29 220 R30 220 R1 47 R2 47 R3 47 R4 47 R5 47 R6 47 R7 47 R8 47 R9 47 R10 47 R36 4k7 C9 100nF MODE SW1 CON5 J2 1 2 3 4 5 GND PE1_I2C_SCL PE2_I2C_SDA I2C_VDD 3V3 3V3 EXTERNAL CONNECTOR PC1_SWITCH 3V3 MODE SWITCH SECTION 3V3 3V3 AXIS LED SECTION CON5 J3 1 2 3 4 5 PE3_LED30 PE4_LED29 PG7_LED28 PG6_LED27 PG5_LED26 PG4_LED25 PG3_LED24 PG2_LED23 PG1_LED22 PG0_LED21 PF4_LED10 PF5_LED9 PF6_LED8 PF7_LED7 PA6_LED6 PA5_LED5 PA4_LED4 PA3_LED3 PA2_LED2 PA1_LED1 GND PD5 PD6 NRST 3V3 R34 220 R32 220 R31 220 3V3 3V3 PD7_BUZZER R37 1k BZ1 BUZZER D16 LED D17 LED D18 LED D6 LED D7 LED D8 LED D9 LED D10 LED D1 LED D2 LED D3 LED D4 LED D5 LED X1 LED X2 LED X3 LED X4 LED X5 LED X6 LED X7 LED X8 LED X9 LED X10 LED R11 220 R12 220 R13 220 R14 220 R15 220 R16 220 R17 220 R18 220 R19 220 R20 220 3V3 PE5_NOTILT R39 47 R33 220 D19 LED D20 LED D11 LED D12 LED D13 LED D14 LED D15 LED BICOLOR_SMDLED D21 1 2 3 4 SWIM CONN J1 R40 47 PE6_TILT 3V3 SWIM GND NRST 3V3 SWIM CONNECTOR PD4_CIRCLE2R35 220 PD2_ZAXIS PE7_LED20 PB0_LED19 PB1_LED18 PB2_LED17 PB3_LED16 PB4_LED15 PB5_LED14 PB6_LED13 PB7_LED12 PF0_LED11 TILT LED SECTION BUZZER SECTION PD3_CIRCLE1 PD0_YAXIS PE0_XAXIS 3V3 3V3 3V3 R38 1k Figure 1. 14 1 VDD Circuit schematics STEVAL-MKI030V1 Circuit schematics Schematic diagrams AM03800v1 STEVAL-MKI030V1 2 Revision history Revision history Table 1. Document revision history Date Revision Changes 24-Apr-2009 1 Initial release. 15-Jun-2009 2 Content reworked to improve readability Updated Figure 1: Schematic diagrams Doc ID 15630 Rev 2 3/4 STEVAL-MKI030V1 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 ST's 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 ST'S 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 USER'S 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. (c) 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 15630 Rev 2