From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Student Projects

cancel
Showing results for 
Search instead for 
Did you mean: 

ST: LIS3LV02DQ Triple Axis Accelerometer

Sensor Type: Triple Axis Accelerometer

Manufacture/Model Number: ST: LIS3LV02DQ

Link to Sensor: https://www.sparkfun.com/products/retired/758

LabVIEW or C: LabVIEW

Version of LV: 2013

Description/Instructions on how to use this example:

This example reads data from  ST LIS3LV02DQ Triple Axis Accelerometer Sensor, processes the data and displays the data.

1. Connect the sensor to myRIO.

    ST LIS3LV02DQ Triple Axis Accelerometer Sensor       myRIO

    Vdd                                                                          +3.3V 

    GND                                                                          GND

    SCL                                                                           Connector A/SCL

    SDA                                                                          Connector A/SDA

2. Check the myRIO target IP Address in the project and make sure the target IP Address is correct.

3. Run this VI.

Code: Attached Triple Axis Accelerometer.zip

Sunaina K.
Product Marketing Manager for CompactRIO & TSN

Making the intangible, tangible
Comments
juncaofish
NI Employee (retired)
on

Hey SunainaK, I found the attached VI was for ADXL345.

All the register mapping/I2C address are not related with LIS3LV02DQ.

Would you please upload the code for LIS3LV02DQ?

Thanks!

Contributors