2009-01-03 02:29 AM
LIS302DHL MEMS accelerometer
2011-05-17 04:36 AM
how i use LIS302DHL MEMS accelerometer for get the acceleration value.
2011-05-17 04:36 AM
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