Propeller and the ADXL202
Brianmcm
Posts: 33
I'm new to the Propeller Chip and was wondering if anyone·has integrated the Analog Devices ADXL202 accelerometer with the chip. I researched the Object Exchange and found info on the Memsic 2125; would the information be similar? I have a little project that I'd like to utilize the ADXL202 and had one of the Evaluation Boards; using it with a BS2. Any assistance/guidance would be greatly appreciated.
Thank you
Brianmcm
Thank you
Brianmcm
Comments
Should be ok.... looking at the data sheets (see attached) the output formula·is the same for both.··On the ADXL202, it looks like T2 will need to be set with an external resistor value.· If you are looking at the "ro" and "theta" values produced by the Memsic 2125 object then·the·time units are arbitrary, but if you are looking at the RAW x and the RAW y values, then a precision trim-able resistor might be necessary for the ADXL202.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
FREQ VAR WORD
T2 VAR WORD
COUNT 8,500,FREQ
T2=25000/(FREQ/20)
Axis acceleration was calculated by
Xaxis=8*T1x/T2
Yaxis=8*T1y/T2
Thus the reason for the component recommendation.
Thank you so much for your help
Brian
With the Memsic 2125, T2 is fixed to 10ms and the formula you posted is correct.
However with the ADXL202, T2 is adjustable by an external resistor. You might get close to 10ms, and if so the formula would still work.
The ADXL202 datasheet provides information on how to calculate the appropriate resistor value for T2.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 1/14/2009 7:17:40 PM GMT
Thanks again for the guidance!
Now for some experimentation.
Very Much Appreciated!
Brian