Advertisement

Quick Links

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
April 2010
www.BDTIC.com/ST
Doc ID 15731 Rev 1
UM0704
User manual
1/18
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UM0704 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST UM0704

  • Page 1 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.
  • Page 2: Table Of Contents

    Contents UM0704 Contents Getting started ..........4 System requirements .
  • Page 3 UM0704 List of figures List of figures Figure 1. STEVAL-MKI029V1 - front view ..........4 Figure 2.
  • Page 4: Getting Started

    Getting started UM0704 Getting started System requirements The system requires 3 AAA batteries of 1.5 V each, totalling 4.5 V (1.5 X 3 = 4.5) for powering up the system. Package content The demonstration board package includes the following: ●...
  • Page 5: Powering Up The System

    UM0704 Getting started Figure 2. STEVAL-MKI029V1 - back view AM042300v1 The major components present on the base station - back view, are (see Figure ● Voltage regulator for regulated 3.3 V output - L6926 ● SWIM connector - for the in-circuit programming of MCU STM8S207R6T6 ●...
  • Page 6: System Operation

    System operation UM0704 System operation Starting up the system When the system is powered up, the user is welcomed with a defined sequence of LED patterns. This indicates that the system has started up perfectly. After this welcome message the system enters into the inclination mode, which is the default mode of the system.
  • Page 7: Figure 5. Tilt In The X-Axis In A Left Direction

    UM0704 System operation For example, let's suppose the board is in the equilibrium position and the Y-axis of the board is fixed, if the X-axis of the board is tilted in an upward/left direction, then at an inclination of, say, 14 degrees, D7 glows. If the inclination is increased further to 28 degrees, D5 and D9 are turned on.
  • Page 8: Figure 7. Tilt On The Y-Axis - Image Of The Board's X- And Y-Axis

    System operation UM0704 Figure 7. Tilt on the Y-axis - image of the Figure 8. Tilt on the Y-axis - image of the board’s X- and Y-axis explanation of tilt in the Y-axis AM042305v1 AM042306v1 For instance, let's suppose the board is in an equilibrium position and the X-axis of the...
  • Page 9: Inclination Mode With Sound

    UM0704 System operation For a simultaneous tilt in both the X- and Y-axis, the combined effect is shown in the outer and inner LED circles of the board. Note: The angles shown above are only for reference, these do not refer to the actual angle of inclination of the board in any axis.
  • Page 10: Demonstration Mode/Whirl Mode

    System operation UM0704 Figure 11. Circular mode Two LEDs glowing at a time in circular mode Graphic picture of the planes for the circular mode Actual picture of the board in palm along with the ground plane AM042309v1 2.2.5 Demonstration mode/whirl mode This mode is specially developed for seminars and exhibitions.
  • Page 11: Battery Life Monitoring

    UM0704 System operation Battery life monitoring The system is continuously monitoring the battery life and the user can check the present status of the battery at any time by pressing the mode switch twice (maximum 800 ms between two consecutive key presses). The higher the number of LEDs glowing; the more...
  • Page 12: Schematic And Bill Of Materials

    Schematic and bill of materials UM0704 Schematic and bill of materials Figure 13. Schematic 12/18 Doc ID 15731 Rev 1 www.BDTIC.com/ST...
  • Page 13 Component descr. Package Manuf. Suppl. Orderable part ordering code number Microcontroller working as host for all STM8S207R6T LQFP-64, 10x10 STMicroelectronics STM8S207R6T6 STMicroelectronics the devices ST devices connected Voltage regulator MSOP8 STMicroelectronics L6926 STMicroelectronics L6926 MEMS LGA16 STMicroelectronics LIS331DLH STMicroelectronics LIS331DLH...
  • Page 14 North America equivalent Ferrite chip 600 Ω Murata Electronics BLM21BD601S SMD 0805 Digi-Key 490-1046-1-ND 200MA North America 0.157" L x 0.157" Inductors W x 0.079" H VLCF4020T- 15 µH Digi-Key 445-3187-1-ND (4.00 mm x 4.00 150MR68 mm x 2.00 mm) www.BDTIC.com/ST...
  • Page 15 R13, R22, R23, CRCW08054K7 4.7 Ω R24, R25, R29, SMD0805 Vishay/Dale 0JNEA or Mouser CRCW0805J- R30, R32 equivalent 4.7K-E3 CRCW080510K 10 kΩ SMD0805 Vishay/Dale 0JNEA or Mouser CRCW0805J- equivalent 10K-E3 260-430K-RC or 430 kΩ SMD0805 Xicon Mouser 260-430K-RC equivalent www.BDTIC.com/ST...
  • Page 16 63 mmx 37 mm Eagle plastic 12BH431/C- 12BH431/C-GR Mouser (wired) devices Case for 3 X AAA batteries 55 mmx 38 mm Memory protection Misc. SBH-431-1A Digi-Key SBH-431-A-ND (wired) devices components 12.2 mmx 810- Buzzer 6.5 mm PSI240P02AT Mouser PS1240P02AT (through hole) www.BDTIC.com/ST...
  • Page 17: Revision History

    UM0704 Revision history Revision history Table 2. Document revision history Date Revision Changes 23-Apr-2010 Initial release. Doc ID 15731 Rev 1 17/18 www.BDTIC.com/ST...
  • Page 18 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.

Table of Contents