Re: accelerometer jitter

2008-09-22 Thread Joel Newkirk
On Sat, 20 Sep 2008 17:36:00 -0400, Michael Fisher [EMAIL PROTECTED] wrote: On Sat, Sep 20, 2008 at 4:07 PM, Joel Newkirk [EMAIL PROTECTED] wrote: I wrote a short shell script to repeatedly take the raw output from one of the accelerometers

Re: accelerometer jitter

2008-09-21 Thread Vasco Névoa
Joel Newkirk wrote: Sorry. ;) Near-stationary, power consumption immaterial, as accurate as possible. As a project to get my feet wet doing ground-up development (probably Python, which I need to learn) for the Freerunner (instead of just cross-compiling and fixing issues therein) I wanted

accelerometer jitter

2008-09-20 Thread Joel Newkirk
I wrote a short shell script to repeatedly take the raw output from one of the accelerometers (/sys/devices/platform/spi_s3c24xx_gpio.1/spi0.1/dump) and massage the data to output X,Y,and Z-axis readings in decimal, -128 to 128. With my Freerunner sitting flat, face up, on the concrete slab of my

Re: accelerometer jitter

2008-09-20 Thread Michael Fisher
On Sat, Sep 20, 2008 at 4:07 PM, Joel Newkirk [EMAIL PROTECTED] wrote: I wrote a short shell script to repeatedly take the raw output from one of the accelerometers (/sys/devices/platform/spi_s3c24xx_gpio.1/spi0.1/dump) and massage the data to output X,Y,and Z-axis readings in decimal, -128 to

Re: accelerometer jitter

2008-09-20 Thread Al Johnson
On Saturday 20 September 2008, Joel Newkirk wrote: I wrote a short shell script to repeatedly take the raw output from one of the accelerometers (/sys/devices/platform/spi_s3c24xx_gpio.1/spi0.1/dump) and massage the data to output X,Y,and Z-axis readings in decimal, -128 to 128. With my

Re: accelerometer jitter

2008-09-20 Thread Joel Newkirk
On Sat, 20 Sep 2008 17:36:00 -0400, Michael Fisher [EMAIL PROTECTED] wrote: On Sat, Sep 20, 2008 at 4:07 PM, Joel Newkirk [EMAIL PROTECTED] wrote: I wrote a short shell script to repeatedly take the raw output from one of the accelerometers

Re: accelerometer jitter

2008-09-20 Thread Steve Mosher
since low cost accelerometers are somewhat noisy, I'd suspect that first. http://wiki.openmoko.org/wiki/Technical:Accelerometer_Fundamentals Not sure what kind of filter you should use. There should be some guys On the list who can chime in better than I can. Joel Newkirk wrote: I wrote a

Re: accelerometer jitter

2008-09-20 Thread Steve Mosher
Have a look at this might help. Note, we dont use a freescale accel, so some things may be different but you'll get the basic idea. http://www.freescale.com/files/sensors/doc/app_note/AN3397.pdf?fpsp=1WT_TYPE=Application%20NotesWT_VENDOR=FREESCALEWT_FILE_FORMAT=pdfWT_ASSET=Documentation Joel

Re: accelerometer jitter

2008-09-20 Thread Joel Newkirk
Thanks - I was just reading through http://www.freescale.com/files/sensors/doc/app_note/AN3107.pdf about tilt measurements, which is linked from the wiki. (I'd missed it before) The one you linked is mostly about position calculations, double integration of the acceleration data, although it