Comments on: Arduino and the LIS3LV02DQ Triple Axis Accelerometer https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/ Clarify Today, Design Tomorrow Fri, 18 Aug 2017 18:03:04 +0000 hourly 1 https://wordpress.org/?v=5.5.1 By: Anders M https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-97 Fri, 06 Sep 2013 00:57:36 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-97 I dug out my ol’ trusty LIS3LV02DQ for a current project only to find most links leading here, and the link to the source code to be down.

I went with this derivative instead: https://sites.google.com/site/beroth/i2clis3lv02dqaccelerometer – using I2C, which works fine.

Cheers!

]]>
By: David Storek https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-96 Mon, 02 Jul 2012 10:08:25 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-96 Thanks for the good code.
Converting accelerations into distance through a double integration is a task for experts. The LIS accelerometers are stable enough only for a few seconds of integration before the distance error is off the charts – the error grows exponentially with time. Another basic issue is that you must always know very precisely in which direction the axes directions of the physical device are pointing, relative to the starting direction. Any unwanted miniscule rotation of the physical accelerometer will ruin the measurement. That is why you usually combine accels with gyros, because the gyros will keep track of the orientation of the accel. This is extremely complicated stuff. The only credible experiments you can do at home with a 3-axis accel is to move it back and forth in straight lines, perhaps following a ruler laid out on a table. The nice application with a pedometer does not build on a double integration to get the distance. Stay away from the double integration 🙂

]]>
By: art plus code labs » Blog Archive » LIS3LV02DQ TRIPLE AXIS ACCELEROMETER + ARDUINO + TINKERPROXY + FLASH https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-95 Fri, 17 Feb 2012 20:42:22 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-95 […] power and connections as in the diagrams below, full instructions and lots of interesting info by Julian Bleecker is here. Note these diagrams use a different accelerometer but the pins are equivalent. Triple Axis […]

]]>
By: Motion Controlled Reddit Vote Sign. | House of Mods https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-94 Wed, 04 May 2011 03:05:08 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-94 […] although this value could be shorter. Here is the code, don’t forget to check out [Troy]‘s code for more heavily commented accelerometer […]

]]>
By: Motion Controlled Reddit Vote Sign. - machine quotidienne https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-93 Thu, 28 Apr 2011 00:37:17 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-93 […] this value could be shorter. Here is the code, don’t forget to check out [Troy]‘s code for more heavily commented accelerometer […]

]]>
By: Motion Controlled Reddit Vote Sign. - Hack a Day https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-92 Wed, 27 Apr 2011 15:16:34 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-92 […] this value could be shorter. Here is the code, don’t forget to check out [Troy]‘s code for more heavily commented accelerometer […]

]]>
By: julian https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-91 Wed, 23 Mar 2011 16:23:51 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-91 In reply to Pitu.

I think you’re in for a bit of debugging here. Either the Arduino is not communicating properly to the accelerometer (I’ve never used the particular one you are using) — the protocol is quite particular and you want to make sure you’ve configued the accelerometer to expect to communicate in the right fashion..either I2C or SPI or something else, you’ll need to check the specifications of the device. I often run into these sorts of problems, which can be frustrating. I think the best investment I ever made was in an Oscilloscope and, even better — a digital logic analyzer like the Saleae which I reviewed here: http://www.nearfuturelaboratory.com/2008/10/24/a-new-logic-analyzer-and-an-i2c-compass/ (Saleae).

]]>
By: Pitu https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-90 Thu, 17 Mar 2011 15:12:05 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-90 I hooked it up an MMA7455L with arduino Duemilanove. I´m not sure quick well what the problem, I´m pretty sure that the wiring its Ok. It´s keeping reads :
WHO_AM_I [FF]
WHO_AM_I [0]
no matter how its move.

Any clue or tip to check the problem, and making works….

Thanks a lot

]]>
By: Julian Bleecker https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-89 Thu, 27 Jan 2011 03:05:00 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-89 In reply to john.

Sorry bub. That is left as an exercise for the reader! That project is four years on by now. Should be fairly straight forward – it’s just I2C comms of the basic sort. The flow would be nearly identical and I’m pretty sure there are plenty of Propeller I2C examples out there. Please post your results though!

]]>
By: john https://blog.nearfuturelaboratory.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-88 Wed, 26 Jan 2011 16:52:00 +0000 http://diversifiedcuriosities.com/2006/09/22/arduino-and-the-lis3lv02dq-triple-axis-accelerometer/#comment-88 I have a ProtoAdvantage boardPA0066 QFN 28 7x7mm 0.8mm with the same chip. Could you do the same tutorial using a propeller.

]]>