[Tinyos-help] Accelerometer in MTS310CA
Tarun Bansal
bansal.tarun at gmail.com
Sat Jun 9 23:59:11 PDT 2007
Hi
Yes they are raw readings
You can see the formula for conversion from
\opt\tinyos-1.x\contrib\xbow\tools\src\xlisten\xconvert.c
The function name that you should be looking for in this file is xconvert_accel.
However note that the conversion involves two calibration constants
calib_pos_1g and calib_neg_1g which you can determine by placing the
sensor static and reverse engineering the raw value.
Whether the accelerometer will serve your purpose or not can only be
decided after doing some experiments
Tarun
On 6/10/07, Shuo Xiao <shuo.xiao at hotmail.com> wrote:
> Hi, all
>
> There is a dual-axis accelerometer in sensorboard MTS310CA. And I tried to
> install the oscilloscope of TinyOS 2 into MicaZ motes by using AccelX and
> got some data. These data are ADC readings, right? How to convert these
> readings to engineering units? Are there some formulas in TinyOS 2 to
> convert the raw ADC readings to engineering units? If I measure people's
> movement, dual-axis accelerometer doesnot seem to be enough, what do you
> think?
>
> Thanks a lot.
>
> Shuo
>
> _________________________________________________________________
> Advertisement: Makeover Your Finances - WIN a $3000 Planning Package
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Eletsshop%2Ecom%2FDefault%2Easpx%3Ftabid%3D948&_t=764144777&_r=letshop_emailtaglines_june07&_m=EXT
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
More information about the Tinyos-help
mailing list