2011-09-08 02:23 AM
Hi all,
I'm working with LSM303DLM. I have read successfully accelerometer and magnetometer value. Now, i want to use LSM303DLM module as a wakeup device. When my motorbike don't move, the MCU goes to Standby mode and the motorbike run, LSM303DLM will wakeup the MCU. I use INT1 or DRDY pin of LSM303DLM. How can anybody help me ? Thanks, #gyro2011-09-08 07:52 AM
Hi,
You have to use the INT1 interrupt.You will have to set the threshold duration of activity detection in the accelerometer before you sleep.When you get an interrupt you have to wake up and see if activity is detected in the interrupt source register. Hope this helps to get you started2011-09-09 12:53 AM
Thanks for your help,
I have configured the LSM303DLM in the sleep-to-wakeup, and set threshold, duration value in the CTRL_REG1_A register (in my file). But when i move my board, have no interrupt in INT1 pin. Thanks, ________________ Attachments : LSM303DLM.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzY4&d=%2Fa%2F0X0000000bNT%2F.6Knbk897G89lN5PYfGSVeHYt7JYeNPZj1fwKpw_cq8&asPdf=false2011-09-28 06:00 AM
For specific items strictly related to LSM303DLM you can ask for ''Online Support''
in the product folder page: Best Regards iNEMO Team2012-06-18 07:58 AM
hi, well, I'm dealing with lsm330dl, for the gyro part, it seems that i can't get the correct xyz output ,even my board is stastic, the output degree can be thousands of degrees. i'm so confused that don't know how to solve this problem,Since u alr got the right value, can u give me a help?
________________ Attachments : gyrotest.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzXz&d=%2Fa%2F0X0000000bNR%2F8CTs56144uXD7ASaOHrWySBOnCzAi5YRkcjagbAuNmc&asPdf=false