Home

EK3LV02DL Evaluation Kit

image

Contents

1. Register Read w nte Dir Detect COM EK3LVO2DL Evaluation Software Ver 1 0 l nic E P d Single About Cui Di ACE 0012421875 About EK About EK E About Contnuos Acquisition Plot and Show Data Inclinameter and Bars Graphical use of Data Acquisition Lontrol a Browsing pe ma x Bars SE Setup Show D ata Load Image a 12 32 UMO285 3 1 Note 3 2 3 3 Graphical User Interface Connecting to Virtual the COM port Before using the functions of the Evaluation Kit Software it is necessary to open the connection with the EK3LV02DL board This is achieved through the following procedure 1 Connect the EK3LV02DL to desired USB port 2 Inthe pop menu USB gt Virtual COM choose the Virtual COM number on which the board has been mapped For additional information on how to get this value check section 2 3 3 Open the connection by clicking on Connect Figure 9 ref2 Once this procedure is completed the General Purpose LED of the board will switch from red to green Once the procedure has been completed the user can acquire plot and save the acceleration data measured by the sensor and he she can access the content of the registers embedded in the device Further details about each single function are provided in the sections hereafter Due to Virtual COM driver communication speed limits the maximum Output Data Hate allowed for the device is 640 Hz Higher Outp
2. ieeeeeeeeeeeeeeeeeeeeee eere 29 Bill Of Material eeeeeeee ee ee ee ee ee ee ee ee ee ee ee ee 30 Revision history 4a AA AA 31 3 32 List of tables UMO285 List of tables Table 1 DUDPOMET COMMANGS s dx ic dg dX ra oC ea dean doe na doe DARA KG een ea 26 Table 2 sieut caus se gate a ound ade oe ee oe a oe r bah ae Sn Gia ee oe ee 30 Table 3 Document revision history aaa 31 m Gr UMO285 List of figures List of figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Evaluation board block diagram lille 6 Top silk screen for EKSLVO2DL kit llle BRA 7 Board PACO API awa mana werd iria Bec th ne AF pene NES RAEEUPRERERSS ERI AB Bn AE air ghal ac 7 Software installation ll ee ee ee ee ee ee ee eis 8 NOUV ICON APA PEE GE ah rd ni tain his aor GE h 9 Driver installation through the device manager 0c cece eee eee eee 9 USB driver installation with the Hardware Update Wi ard a 10 Virtual COM driver port assignment es 11 Graphical User Interface main window llle 12 Registers Read Write 0 0 a 13 EK Demo Mode window 0 00 ce hrs 14 Threshold definition 0
3. ky UMO285 NJ User guide EKSLVO2DL Evaluation Kit Introduction The EKSLVO2DL is an Evaluation Kit designed to provide to the user a complete ready to use platform for the evaluation of the LISSLVO2DL a low power 3 Axis linear accelerometer with digital output that includes a sensing element and an IC interface able to take information from the sensing element and to provide the measured signal to the external world Besides the MEMS sensor the evaluation board mounts an ST7 USB microcontroller which acts like a bridge between the sensor and the personal computer on which it is possible to run either a Graphical User Interface delivered with the kit itself or dedicated SW routines that implements customized applications This user manual describes the HW composing the evaluation kit and gives the informations required to install and to run the evaluation kit user interface For any detail about the features implemented by the LISSLVO2DL sensor refer to LISSLVO2DL datasheet and to the Application Note AN2381 September 2006 Rev 1 1 32 www st com Contents UMO285 Contents 1 Evaluation kit description llle 6 2 EK3LV02DL GUI installation eres 8 2 1 PC system requirements leen 8 2 2 Software installation lle 8 2 3 Hardware installation ccc ee eee eee 9 3 Graphical User Interface 0000 cee ee 12 3 1 Connecting to Virtual the
4. EK3LVD2DL User Manual 3 7 MB LISSLYO2DL Datasheet 3 7 MB v LIS3LVO2DL Application Note 2381 37 MB Y Current selection requires at least 9 0 MB of disk space a http www microsoft com downloads and search for Net framework Redistributable Package a UMO285 EKSLVO2DL GUI installation 2 3 Hardware installation To install the virtual COM driver insert the Evaluation Kit board into a free USB port look at the Notify icon Figure 5 and than wait for Hardware Update Wizard Figure 5 Notify icon J Found New Hardware x ST MEMS LIMIT V Na BO AHOGYO EL If the Hardware Update Wizard appears as shown in Figure 7 then follow the instructions given in Figure 7 otherwise follow the instructions indicated in Figure 6 and Figure 7 Figure 6 Driver installation through the device manager Right click on My Computer Right click on ST MEMS UNIT and choose for Update driver EK i L3 Computer Management im File Action View Window Help Browse with Paint Shop Pra 8 Ea EX Explore Computer Management Local 4 CTO0687 Search System Tools dX Computer A 20 Event Viewer Data Acquisition Devices Ral Manage Kd Shared Folders Se Disk drives Performance Logs and Alerts 3 Display adapters Map Network Drive is DVD CD ROM drives aj Storage 3 Floppy disk controllers 3 Removable Storage 43 Floppy disk drives Disk Defragmenter Disk Management dh Se
5. EKSLVO2DL Lite 3 Select the Virtual COM port and then click on the Connect button 4 Optionally select the destination file in which the acceleration data must be saved by clicking onto Setup and Destination File buttons Click on Plot Data to activate the corresponding Data Display window 6 Click on START STOP button to activate stop the collection of data from the sensor their saving onto file and plotting on the screen 7 To close the application click on Disconnect and then click on Exit The GUI allows also the Read Write the registers embedded in the LISSLVO2DL device mounted on the board and to perform a single read of the acceleration data measured by sensor ge SZA UMO285 6 6 1 MEMS pointer MEMS pointer This section describes the usage of a simple pointer application which employes the acceleration data provided by the LISSLVO2DL MEMS 3 axis linear accelerometer to control the position of a pointer on the screen of the PC More in details the SW provided with the kit itself allows to employ the board provided with the EKSLVO2DQ Evaluation Kit as an inertial mouse where the tilt of the board is transformed into a movement of the pointer The board emulates also the left and right buttons of the mouse GUI description The GUI window see Figure 23 may be split up into two sections the right side contains the main controls to open the connection to the Evaluation Kit an
6. X INCLINATION Y INCLINATION Z INCLINATION laclirometer and Bars Graphizel use of Data Acquisition Control Inclinom S Browsing E AB ais Load Image horizontal plane a 18 32 UM0285 Graphical User Interface 3 to navigate through a map Map Browsing Figure 20 The image to be shown is selected through the Load Image button A map stored inside the file mapa mundi jpg is provided as an example Figure 20 Map Browsing EK3LVO2DI Evaluation Suflware Yer 1 0 ays STMicroelectronics Cont nuas Acquisti Plot and Show Data laclirometer and Bars Graphizel use of Data Acquisition Control TE Poi Cala um Inclinom P 5kow Date kais 3 5 About EK Clicking on the About EK button located into the About EK section Figure 9 ref5 it is possible to obtain informations about the version of the GUI about the firmware running on the Evaluation Kit and about the version MEMS accelerometer mounted onto the board These information are retrieved by using the buttons Mounted Device and Software Version which are shown in Evaluation Kit Info window Figure 21 Once the information about the device are displayed on the screen it is possible to get an explanation of their meaning by moving the mouse over the different parts of the device name LIS 3LV 02 DL Please notice that if the connection is not working properly an error message will be shown This feature allows to test the connection between the bo
7. board it returns the acceleration data measured by the LISSLVO2DL device The acceleration data are packed in a string composed of eight bytes s t Xh XI Yh YI Zh ZI SD The first two bytes are always s and t which correspond to the hexadecimal values 73 74 while Xh Yh Zh and Xl YI Zl represent respectively the upper part and the lower part of the acceleration data for the X Y Z axes The last byte s returns the information about the switches mounted on the board in detail bit 1 and bit 0 of the service data correspond to the status of SW3 and SW2 on the Evaluation Kit board and they are set to 1 when the corresponding switch is pressed Debug command The debug command starts the continuos data acquisition When this command is sent to the board it returns the acceleration data measured by the LISSLVO2DL device in readable text format The values shown on the screen correspond to the content of the output data registers and are shown as hexadecimal number A TAB is employed as separator among the different fields a UMO285 7 2 3 7 2 4 7 2 5 7 2 6 7 2 7 7 2 8 Supported commands Stop command The stop command interrupts any acquisition session that has been started either with the start or debug command Registers read The rAA command allows to read the content of the registers embedded inside the LISSLVO2DL device mounted on the evaluation kit board In
8. corresponding Data Display window Figure 15 7 Click on Browsing button to activate the function of map browsing Figure 9 ref6 and then load the desired image by clicking on Load Image button 8 Click on START STOP button to activate stop the collection of data from the sensor their saving onto file and plotting on the screen 9 To close the application click on Disconnect and then click on Exit 21 32 EK lite 5 22 32 UMO285 EK lite The mini CD delivered with the EKSLVO2DL contains also a lite version of the previous GUI together with its source code The source code can be found in the directory Home YSTMWNEKSLVO2DLNEK3LVDL lite where Home represents the directory in which the SW delivered with the evaluation kit has been installed C Program Files by default The intention is to provide to the user a guidance to the development of his her own customized application The evaluation kit is started by launching the executable EKSLVO2DL Lite which is contained in the EKSLVO2DQ gt Executables folder The graphical aspect of the GUI associated to the application is shown in Figure 22 Figure 22 EKSLVO2DL Lite GUI EK3LVO2DL lite aag Acquisition Setup O ODR USB gt Virtual COM Read Write START Destination File OK Plot Data OK In order to operate the SW it is suggested to follow these instructions 1 Connect the EKSLVO2DL to the USB port 2 Start the GUI for
9. 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 2006 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 Singapore Spain Sweden Switzerland United Kingdom United States of America www st com a 32 32
10. while the wizard installs the software E ST Virtual Com e w a Setting a system restore point and backing up old files in case your system needs to be restored in the future Hardware Update Wizard Completing the Hardware Update Wizard The wizard has finished installing the software for 3 ST Virtual Com i e Click Finish to close the wizard c Back lt Back Nest Cancel Hardware Installation The software you are installing for this hardware 6 ST Virtual Com has not passed Wigdows Logo testing to verify its compatibility hy thi ZTA ll me why this testing is important allation of this software may impair or destabilize the Wyrect operation of your system either immediately in the future Microsoft strongly top this installation now and dor for software that has ting Once the installation has finished a COM port number will be assigned to the ST Virtual Com driver Figure 8 The knowledge of this number is required to run the EKSLVO2DL Evaluation Software GUI For additional details check section 3 f 10 32 UMO285 d EKSLVO2DL GUI installation Virtual COM driver port assignment c Computer Management Figure 8 E File Action View window Help 2 System Tools i EH 4 al Event Viewer ps RI an Performance Logs and Alerts SA Device Manager T Storage lL Removable Storage Disk Defragmenter Disk Management C E Computer rue Disk drives E Display a
11. 0 0 cc eee eee eens 15 Single Data ACQUISHION 10 2 tcicaa teed ond ee se se etd MPG o e boa eet ad wae 15 Continuos Data Acquisition Control anaana aa aaaea ee ee ee as 16 Plot Data and Show Data windows 0 0 0 cece eee eee 16 BoardaAxis Delo suuni d srenti Se dog i IMA eon Li tam dede otek eae PAA E ess 17 Bar Chan TRTTETILOT ID TOT TILIDTTIPTTTrrP mT 18 delseu dgec 18 ANGINCINATON mMPP T 18 Miel PPP 19 Evaluation Kit Info and About window leen 20 EKSEVO2DE LIS GUD ssi aie ce m edicere Ge Bee ado Eee gu qd pao eds pang 22 MEMS Ponte DEMO 1 5 d ma BABA E esie Br IG ala hr SRL an AE ess dum ir ir g og ur IR Ar ail SR war duh dh as 23 Axis Ohenitalioil ssepe UA AN AnG dasha dng Gos to PAA ws Re au Oto KANA eS oh R amus GG 24 Schematic diagram for EKSLVO2DL board LL a 29 5 32 Evaluation kit description 1 6 32 Evaluation kit description UM0285 The EKSLVO2DL is an Evaluation Kit designed to provide the user with a complete ready to use platform for the evaluation of the LISSLVO2DL a low power 3 Axis linear accelerometer with digital output The block diagram of the evaluation kit is given in Figure f Figure 1 Evaluation board block diagram Control Switches Left Right and Reset USB uC Power On LED Data Ready LED General Purpose LED USB Connector Besides the MEMS sensor the e
12. COM port a 13 3 2 Registers Read Write cc eee 13 3 3 Direction detection demo ce ee eee 13 3 4 Dala ACGUISWION me T P nm 15 3 4 1 Single Acquisition mode 0 ccc eee eee 15 3 4 2 Continuos Acquisition mode a 15 3 5 ADOBE EIS uuu a eeu shee Ka eee senda hoe need o LANANG eu NG 19 4 Data acquisition quick start eeeeeeeeeeeeeeeeeeeeeeee 21 5 Ad ee EE ae eee eee 22 6 MEMS pointer as lt lt lt edad teow teers dade teen draco ee te 23 6 1 QUI descriplIOEE 225254405645 qom RE Sese RUE om E RE e RUE E E oe d 23 6 1 1 Right Side Main Controls llle 24 6 1 2 Left Side Pointer Application Controls lll 24 7 Supported commands creer ree 25 7 1 Getting Started eer 25 7 2 Supported Commands aaa eee 26 7 2 1 Start command 0 ce ee ee ee ee ee ee ee 26 7 2 2 Debug command asaan NG o QU beeen ee ee e e quid eu INE 26 7 2 3 Stop COMMAND s e uma s urne SA RR NING AREA Cane ox NG SR ge R 27 7 2 4 Registers read ers 27 7 2 5 Registers write 33 kA GA deoa Eros REUS dw Pr d denos 27 7 2 6 Single bit write nananana aaa aaa 27 5r UMO285 10 Contents 7 2 7 ZOW ANG ZO 2 66 hae amp 008 oce xr E NG MG DU RE d EE NG 27 7 2 8 BALAAN 27 7 2 9 Firmware version a 28 7 3 Quick Start ee ee ee ee ea se ee ee ee s 28 Schematic diagram
13. L sensor is able to return the information about the spatial orientation of the board without requiring the reading and the further post processing of the acceleration data This feature is demonstrated through the Direction Detection demo mode panel Figure 1 1 which is activated by clicking on the Dir Detect button present in the main GUI window Figure 11 EK Demo Mode window Register Head write Dir Detect k 4 yi I Read Wtibe Irtemal Threshold mg High Pass Filter ch azul TE ach j ELI S ud E Z 3 External Threshold 2 T High Pass L Stait Direction Detection Cut OFF Freg Hz In order to configure the event which will trigger the interrupt event the user must select the desired inner internal and outer external threshold ref1 defining in this way an hysteresis region that allows to avoid false detections and or bouncing produced for example by either spurious vibration or tremor Whenever the inner thresholds is greater than the outer one the hysteresis region will be null and the threshold employed to detect the tilt direction will be the outer one A graphical representation of the internal and external thresholds is given in Figure 12 Whenever the absolute value of the acceleration signal measured by the sensor either exceeds the outer threshold or returns below the inner threshold an interrupt signal will be generated and the General Purpose green LED will blink If the user wants to detect the orienta
14. ard and the host computer d 19 32 Graphical User Interface UM0285 Figure 21 Evaluation Kit Info and About window Evaluation Kit Info wm ME LIS 3LV 02 DL About EF Mounted Device LvDL1 0 Firmware Version S ERSLYO2DL Evaluation Software Ver 1 0 MEMS Evaluation Kit The ERSLY02DL Sotware interface will help you in evaluating the LISSLYV02DL SPC digital output 3 axis MEMS accelerometers EK3LVU2DL Evaluation Software 41 0 MEU Application Lab Jul 2006 The second button About present into the About EK section Figure 9 ref5 opens the MBU info window which shows general informations about the software and provides the user with a direct link to the ST MEMS page a 20 32 UMO285 4 Data acquisition quick start Data acquisition quick start This section describes the basic steps that have to be performed to acquire the acceleration data from the EKSLVO2DL 1 Connect the EKSLO2DL to the USB port 2 Start the EKSLVO2DL GUI 3 Select the Virtual COM port and then click on the Connect button Figure 9 ref2 4 Select the destination file in which the acceleration data must be saved by clicking onto Setup Figure 14 ref1 and Destination File Figure 14 ref6 buttons 5 Optionally select the desired decimation factor Horizontal and Vertical gain and then click on the OK button Figure 14 ref7 6 Click on Plot Data or Show Data Figure 9 ref6 to activate the
15. c diagram The schematic diagram of the EKSLVO2DL evaluation kit is shown in Figure 25 Figure 25 Schematic diagram for EKSLVO2DL board LIS3LVO2DL 5 29 32 d Bill Of Material UM0285 9 Bill Of Material The Bill of Material for the EKSLVO2DL evaluation kit is given in Table 2 Table 2 Bill Of Material eae Derim commen aen Col H Garo Ce a cam Ce a cara 99 ww GERA 8 Swim sw Co we RER of ma Co To TO me us Ce Ter onsa Cat 398 99 9 m 9m 99 m a 99m CT aa 99 ga m MK 99 gxx CA 9m whoa sr buton 9 TO swrouon Br buton EIT Cut EE up enne TRR 30 32 Ayr UM0285 Revision history 10 Revision history Table 3 Document revision history BN GNE NN 13 Sep 2006 Initial release EE UMO285 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 servi
16. ces 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
17. cquisition Mode the user can watch the data coming from the EK3LVO2DL in different graphical windows The windows corresponding to Plot Data and Show Data are shown in Figure 15 Figure 15 Plot Data and Show Data windows Continuos Acquisition Dalai Plot and Show Data Jata tupe O ADC Data m ES mg Data Show Data Angle Data The sign of the acceleration measured by the sensor is related to the axis definition given in Figure 16 b The computational power of the PC on which the GUI is running may affect the maximum number of windows that can be opened at the same time GT UMO285 Graphical User Interface Figure 16 Board Axis Definition USB CONNECTOR Clicking on the Setup button Figure 14 ref1 the Acquisition Setup window will open This window allows to program the output datarate of the LISSLVO2DL device By default it is set to 40Hz corresponding to a signal bandwidth 3dB of 10Hz to modify this parameter the user has to select the desired value from the related pop up menu Figure 14 ref3 The Acquisition Setup window allows to change also the device Full Scale Figure 14 ref4 and to put in tri state mode the lines of the microcontroller SPI serial interface Figure 14 ref5 The latter feature has been implemented to guarantee to advanced users the full control of the MEMS lines through a different source i e from a separate controller The section related to Graphics Ampl
18. d to exit i e normal mode the SPI lines of the ST7 USB microcontroller mounted on the evaluation kit These commands allows to isolate the sensor mounted on the board from the microprocessor in case any external control from a different micro mounted on a separate user board is needed By default when the kit is first turned on the SPI lines are in 3 state mode and the user is required to send the command Zoff to allow the communication between the sensor and the micro itself Device name The dev command retrieves the name of the device mounted on the evaluation kit connected to the PC For the EK3LVO2DL the returned value is 3LVO2DL 27 32 Supported commands UM0285 7 2 9 7 3 28 32 Firmware version The ver command inquiries the evaluation kit and returns the version of the FW loaded on the microprocessor mounted on it Quick Start This section shows the basic sequence of commands to start a data communication session and to retrieve the acceleration data from Evaluation kit 1 Connect the EK3LV02DL to the USB port 2 Start the Hyper Terminal and configure it as described in section 7 7 3 Inside the Hyper Terminal window enter the command Zoff to enable the control of the SPI line from the ST7 USB microcontroller 4 Send the debug command to get the acceleration data measured from the senor 5 Send stop to stop the continuos acquisition and visualization a UM0285 Schematic diagram 8 Schemati
19. d to start stop the data acquisition whereas the left side is dedicated to the pointer application controls Figure 23 MEMS Pointer Demo MEMS Pointer Demo Ver 1 0 STMicroelectronics Pointer Infas USB gt Virtual COM Lett Fight Buttan Buttan OFF NM or A Fositian T Fosition By NMETT TIT Leg r Deg TiltCantral g Up r Down Exit iE F Fointer speed 1 10 ka E i MEU Application Lab 23 32 MEMS pointer UM0285 6 1 1 6 1 2 24 32 Right Side Main Controls The buttons present on the right side of the GUI and their related function are described hereafter Connection control selects the COM port on which the EK board is connected to Acquisition control starts and stops the acquisition Exit exits from the MEMS Pointer Demo application Left Side Pointer Application Controls The controls present on the left side of the GUI and their related function are the followings Left Button Right Buttons inform on whether the left right button present on the Evaluation Kit is pressed X Y Position shows the actual x y coordinates of the mouse pointer on the PC Screen X Y Deg shows the tilt of the Evaluation Kit along the X and Y directions which are defined as depicted in Figure 24 Tilt Control allows to select the direction of the vertical displacement on the screen Vs the direction in which the board is tilted In particular by selecting UP the pointe
20. dapters Hc DVD CD ROM drives E du Floppy disk controllers IDE ATAZATAPI controllers e Keyboards Mice and other painting devices 0 22 Monitors E r Network adapters EY Ports COM amp LPT EE Communications is COM1 Ch ST Virtual Can COME H a Smart Cad readers H Sound video and game controllers Se Storage volumes E W System devices E Universal Serial Bus controllers 11 32 Graphical User Interface UM0285 3 Graphical User Interface To execute the EK3LV02DL Evaluation Software Graphical User Interface 1 Click on Start gt All Programs 2 Select the folder EK3LVO2DL gt Executables 3 Launch the program EK3LV02DL Ver 1 0 With these operations the GUI main window will appear Figure 9 the window is composed of four main sections as detailed below 1 the graphical panel ref1 where the data coming from the sensor are graphically represented 2 the upper right corner of the window ref2 which allows to open and to close the communication port of the PC connected to the Evaluation Kit 3 the right side which contains the Register Read Write and Direction Detection Demo ref3 Single Acquisition ref4 and About EK ref5 blocks 4 the bottom of the window which handles the continuous acquisition of the acceleration data and displays them inside the graphical panel ref6 Figure 9 Graphical User Interface main window USE Virtual COM Kag Ge
21. details AA expressed as hexadecimal value and written lower case represents the address of the register to be read Once the read command is issued the board will return RAAhDDh where AA is the address sent by the user and DD is the data present in that register As an example to read the CTRL REG1 the user shall issue the command r20 which returns for example R20hC7h Registers write The wAADD command allows to write the content of the registers embedded inside the LISSLVO2DL device mounted on the evaluation kit board In details AA and DD expressed as hexadecimal values and written lower case represent respectively the address of the register and the data to be written As an example to write OxC7 inside the CTRL REG1 the user shall issue the command w20c7 Single bit write With this command it is possible to set reset a single bit inside a given register In details the command bwAA lt 0 7 gt lt 0 1 gt requires to the user to specify the address AA of register in which he she wants to change the bit with AA expressed as hexadecimal value and written lower case followed by the position of the bit to be changed integer between O and 7 and the value either O or 1 to be associated to the specified bit For example to set to 1 the FS bit present inside the CTRL_REG2 the user shall issue the command bw2171 Zon and Zoff The Zon and Zoff commands are employed respectively to put into 3 state i e high impedance an
22. e it EKSLVO2DL and click OK 4 Inthe Connect Using field select the right Virtual COM port onto which the USB port has been mapped 5 Setthe port to 115200 Bit per second 8 Data bits Parity None 1 Stop bit Flow control None and then click OK 6 Inthe Hyper Terminal select Files gt Properties gt Settings and then click onto the ASCII Setup button 7 Select Send line ends with line feeds and Echo typed characters locally 8 Click onto OK button to close the ASCII Setup window 9 Click onto OK button to close the Properties window Once this procedure has been completed the user can send to the EK3LV02DL the commands described in the following sections by typing the commands themselves in the Hyper Terminal window 25 32 Supported commands UM0285 7 2 Note 7 2 1 7 2 2 26 32 Supported Commands The table below enlists the commands that are supported by the EKSLVO2DL FW Table 1 Supported commands sat Start continuous data acquisition continuous data Start continuous data acquisition STxxyyzzs debug pL the acceleration data in readable x XX y YY z ZZ text format Register s read RAAhDDh ma a amaron Eme Bee 2 aeaa 0 00 AA register address DD data S service field XX YY ZZ Acceleration data returned for the X Y and Z axes Start command The start command allows to start the continuous data acquisition When this command is sent to the
23. el allows also to activate and to disable the Self Test function of the device using the two radio buttons Self Test ON and Self Test OFF Figure 13 ref2 Whenever the self test is activated the proof mass of the sensor is electrostatically deflected and the acceleration data measured by the sensor will exhibit a change in their DC level as specified on the datasheet of the part This function allows to check whether the sensor is working properly without requiring any mechanical movement of the board mounting the sensor itself Figure 13 Single Data Acquisition Single Acquistion Single Acquisistion Ed Single Acquisition k Self Test ON out b aJ Self Test OFF ED PIT Continuos Acquisition mode The section related to Continuos Acquisition allows the user to perform a sequence of acquisitions to plot and to save the acquired acceleration data under different formats In order to start and to stop the data acquisition and to activate the plotting of data in the afore said panels it is necessary to push onto the START STOP button Figure 14 ref2 15 32 Graphical User Interface UM0285 Figure 14 Continuos Data Acquisition Control Acquisition Setup Decimation Factor Output bandwidth 7 ODA FullScale mode 2G FULLSCALE Acquisition Control Tristate mode 3state OFF I Setup Graphics Amplification la Horizontal a lt Vertical Destination File During a Continuous A
24. ification Figure 14 ref5 allows to zoom the data plotted on the screen Please notice that the horizontal and vertical gains do not change the resolution of the device they only impact on the way in which data are shown on the screen Last but not least the Acquisition Setup window allows the user to select the file where the acquired data values have to be stored Figure 14 ref7 In particular the file in which the data are saved reports the informations about each acquisition session and contains the acquired samples in three different fields In order to apply the settings defined with the Acquisition Setup window it is necessary to push on the OK button Figure 14 ref8 These settings will be used for any subsequent acquisition until their next modification and can not be changed while the acquisition is running The main panel of the GUI allows also to plot the acceleration data in three ways Figure 9 ref6 17 32 Graphical User Interface UM0285 1 asa Bar Chart Figure 17 Figure 17 Bar Chart EKSLVO2DL Evaluation Sofiware Yer 1 0 evz ATE sTMicoelectronics laclirometer and Bars Grarhizel use of Data Acquisition Control jon eta Pot Cala Inclinom Browsing KI SFow Date tais Load Image 2 asInclinometers Figure 18 where the inclination is related to the axes definition given in Figure 19 Figure 18 Inclinometer EK3LYO2DL Evaluation Sofiware Yer 1 0 ey ays STMicroelectronics
25. r will move upward by forward tilting the Evaluation Kit Vice versa by selecting DOWN the pointer will move downwards whenever the board is tilted backward Pointer Speed sets the sensitivity of the pointer to the inclination of the board Figure 24 Axis Orientation a UMO285 7 7 1 Supported commands Supported commands The EKSLVO2DL board is equipped with a dedicated firmware which supports a set of commands that allow to control the 3 axis digital output MEMS sensor mounted on the board and to acquire the measured acceleration data The firmware handles also the communication between the EK board and the PC through the USB bus Through the usage of these commands it is possible to control the 3 axis digital output MEMS sensor mounted on the board and to acquire the measured acceleration data thus allowing the user to easy write his her own applications which exploit the mounted accelerometer This section describes the commands that are supported by the firmware loaded onto the microcontroller of the EKSLVO2DL Evaluation Kit Getting Started Before using the commands described in the next paragraphs the following procedure must be performed 1 Connect the EKS3LVO2DL to the USB port 2 Start an appropriate software which allows to send the command through the Virtual serial port The remaining part of this document will suppose the usage of the Hyper Terminal 3 Create a new connection for example nam
26. red with the evaluation kit the installation of the Virtual COM driver needed to use the Evaluation Kit board PC system requirements Both the hardware and software that compose the EK3LV02DL Evaluation Software Kit have been designed to operate with Microsoft amp Windows XP Microsoft NET Framework 1 1 or higher this software can be downloaded for free from the Microsoft web site The installation of the Microsoft NET Framework is not required when running on windows XP SP2 or higher Software installation To install the SW distributed along with the EK3LV02DL evaluation kit 1 Insert the MiniCD delivered with the Kit inside the CD ROM drive 2 Ifthe Autorun screen does not appear click on Start gt Run enter D Autorun exe and click OK D represents the letter of your CD ROM drive 3 Click onto Evaluation Kit SW Installation from the EKSLVO2DL Evaluation Kit page which appears 4 Follow the instructions given by the Installer Figure 4 Figure 4 Software installation 15 Setup EK3LVO2DI Evaluation Kit Select Components Which components should be installed Select the components you want to install clear the components you do not want to install Click Next when you are ready to continue Full installation v EK3LVO2DL Lite Ver 1 0 03MB MEMS Pointer Ver 1 0 0 3 MB EK3LVDL Lite source code 2 8 MB ST Firmware 0 1 MB Virtual COM Driver 0 1 MB
27. rvices and Applications Send TO Disconnect Network Drive T g ae Keyboards Mice and oth d Cut Copy Create Shortcut Delete Rename Properties 72 Monitors B Network a 4 Other devites fi ST MEMS UNIT Y Ports COM amp LPT Z Processors Sound video and game controllers System devices Universal Serial Bus controllers 9 32 EKSLVO2DL GUI installation Figure 7 Hardware Update Wizard Welcome to the Hardware Update Wizard This wizard helps you install software for eo ST MEMS LINIT If your hardware came with an installation CD lt j or floppy disk insert it now What do you want the wizard to do e he soft ly Recomme UMO285 USB driver installation with the Hardware Update Wizard Hardware Update Wizard Please choose your search and installation options Ng Rane cy Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CD ROM IV Include this location in the search C4Program Files STMSEK3LV02D L driver h C Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware Hardware Update Wizard Please wait
28. tion changes removing the DC level of the acceleration signal applied to the device i e removing the gravity vector it is possible to enable the High Pass Filter embedded inside the device by acting on the High Pass Filter pop up menu Figure 11 ref2 The cut off frequency of the filter which is shown inside the Cutoff Frequency text box ref5 is user selectable acting on the High Pass coefficients ref3 and on the Output Data Rate ODR For further details please refer to AN2381 To start the Direction Detection demo mode click on Start Direction Detection ref4 a UMO285 3 4 3 4 1 3 4 2 a Graphical User Interface Figure 12 Threshold definition Full Scale X Y Z high External Threshold DD THSE Hysteresis Region Positive Internal Threshold DD THSI acceleration XNY Zpreset Internal Threshold DD THSI Hysteresis Region bd ir pas External Threshold DD_THSE X Y Z low X ull Scale Data Acquisition The Data Acquisition panel is split in two sections 1 Single Acquisition mode Figure 9 ref4 2 Continuos Acquisition mode Figure 9 ref6 Single Acquisition mode The Single Acquisition mode panel allows the user to perform the measurement of the acceleration acting on all the three axes A single read of the acceleration data measured by the device is done by clicking on the Acquisition button Figure 13 ref1 This pan
29. ut Data Rate could result in a possible data loss Registers Read Write Through the Register Read Write panel Figure 9 ref3 the user can either directly write or read the registers value inside the LISSLVO2DL device In particular by clicking on the Read Write button a new window appears Figure 10 To perform a register read out the user must select the desired register name into Reg Name pop up menu ref4 and then he she must click on the Read button ref2 The result of the reading will appear in the text box Reg Value ref3 To write a data into a register the user must select the desired register name ref4 choose the desired value in the text box Reg Value ref3 and then click on the Write button ref1 In case of read only registers the write button is not enabled Figure 10 Registers Read Write Register Read wnte Tw Dir De iN Read write Register Read Write Register Head Wribe Reg Name CTRL RE Bl Direction detection demo The LISSLVO2DL allows the implementation of motion controlled functions such as gaming and terminal control while requiring reduced computational power to the application 13 32 Graphical User Interface UM0285 14 32 controller The device in fact may be programmed to generate an interrupt signal when a tilt is detected and to return the information of the direction in which the sensor has been tilted With the same feature the LISSLVO2D
30. valuation board mounts an ST7 USB microcontroller which acts like a bridge between the sensor and the personal computer on which it is possible to run either a Graphical User Interface delivered with the kit itself or dedicated SW routines that implements customized applications Few switches and LED indicators are also present to control and to monitor the functionality of the board itself The top silk screen of the board and the photo of the full board are shown respectively in Figure 2 and in Figure 3 UM0285 Evaluation kit description Figure 2 Top silk screen for EK3LV02DL kit Ea O ke Application Lab EKSLVO2DL nw 12 Nay 2008 www 5tcom mems Figure 3 Board photograph IE LE i LI E 7 Pp mom e Nd CN m a a 07 4 ma J Wu aci n pee oT zd ass Na NG m C alat sava p T PIGA B R R R BB In order to operate the EKSLVO2DL evaluation kit it is required the installation of a dedicated driver which is delivered onto the CD accompanying the kit itself together with a GUI interface which allows a simple interaction with the sensor itself The steps that must be followed to install the driver and the SW are described in the following section d 7 32 EKSLVO2DL GUI installation UMO285 2 2 1 2 2 8 32 EKSLVO2DL GUI installation The installation of Graphical User Interface GUI for the EKSLVO2DL implies two steps the installation onto the PC of the Software delive

Download Pdf Manuals

image

Related Search

Related Contents

Enseignement des outils de décompression à tous les niveaux du  議事録  Graco PD238744A Car Seat User Manual  Electronic Disposition System Aggregate Annual Return User Manual  Nokia 6500 Classic 2" 94g  Samsung HG48ED890WB User Manual  Canon DR-5060F Owner's Manual  保証とアフターサービス(必ず~読みください)  1718-0104 Rev 00 - GSI 18 Audiometer User Guide - 09-02  Istruzioni per l`uso Bruksanvisning  

Copyright © All rights reserved.
Failed to retrieve file