Skip to main content
oz_it
Associate II
January 3, 2009
Question

LIS302DHL MEMS accelerometer

  • January 3, 2009
  • 2 replies
  • 757 views
Posted on January 03, 2010 at 11:29

LIS302DHL MEMS accelerometer

    This topic has been closed for replies.

    2 replies

    raptorhal
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    Do it the same way the rest of us did it:

    1. Thoroughly read and understand the accelerometer data sheet.

    2. Select your interface method (I2C or SPI, or you can bit bang it).

    3. Assemble a test PCB.

    4. Read the STM32 examples code for your selected interface method.

    5. Customize a code example to communicate with your accelerometer.

    6. Test it by stepping through the code with a debugger and make sure it does what is expected.

    7. If you have problems, get a second person to review the design and code.

    8. If you are still unsuccessful, then post your PCB design and code here and we will see if we can help.

    Cheers, Hal

    oz_it
    oz_itAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:36

    how i use LIS302DHL MEMS accelerometer for get the acceleration value.