Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22030

Re: ADXL362 rotate motion

$
0
0

Hi Kevin,

 

It is easy to use ADXL362 to realize the rotation sensing.

1. You can keep on reading the real time output from ADXL362, judge the 3-axes acceleration to tell which orientation the part is. Eg: if X = 0g, Y = 0g, Z = 1g, that means the part is in the position like the picture below. You can call it as the top orientation or any orientation that specified by yourself. Of course, when you judge the orientation based on the acceleration output, you need to consider the offset influence, leave some margin for it. Say, when -0.3G < X <0.3G, -0.3G < Y <0.3G, 0.7G < Z <1.3G, you can take them as the top orientation.

Untitled.png

2. You can also use referenced activity interrupt to judge when the rotation happen, say set referenced activity interrupt threshold = 0.5g, then when the acceleration change over 0.5g, the ADXL362 will give you an interrupt, you can read the real time output when you get the activity interrupt, then judge the orientation again like the item 1.

 

Hope these can help.

 

BR

Neil


Viewing all articles
Browse latest Browse all 22030


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>